Welcome to World of IPTV

With

+23k members
+11k threads
+106k posts

we are the most popular IPTV community on the web. 

IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.

Join now to the World of IPTV

Forum Rules

Before you start, check out the forum rules first

Account upgrade

Upgrade your account to get access to full features

Advertising

Would you like to place your advertisement with us ?

Resources Manager

Hundreds of IPTV scripts and apps are available for download

Question Flussonic - Need help to Securing Access to Streams

homa50

Basic Member
Basic Member
Joined
Nov 15, 2019
Messages
70
Reaction score
732
Points
94
Location
Afghanistan
Hi
I used this documentation : https://flussonic.com/doc/authorization/securing-access-to-streams-authorization-with-token/
but there is something that I do not understand, I got a result like this:
http://mydomain.com/script.php?stream=Name
and Its work !
And now I want to put this on my website like this as in the documentation:
PHP:
<iframe allowfullscreen style="width:640px; height:480px;" src="<%= @url %>"></iframe>

I can not understand, if I put this way everyone can see my url:
PHP:
<iframe allowfullscreen style="width:640px; height:480px;"  src="http://mydomain.com/script.php?stream=Name"></iframe>

I rather expect a result like that , which changes the token automatically:
PHP:
<iframe allowfullscreen style="width:640px; height:480px;"  src="http://mydomain.com/Name/embed.html?token=9ef42fbfaa6bf3f0fd387c2bdff9fcc8e56fe846-9c63e87c9aa59ebcf74d375c407692db-1606995882-1606985082"></iframe>

i think i’m doing something wrong,can you help me please?

Thanks
 

desigujju

Extended Member
Ext. Member
Joined
Sep 16, 2019
Messages
84
Reaction score
48
Points
29
Location
India
hi,
are you trans-coding via Flussonic or only stream without trans-coding?
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

Barraxcuda

Extended Member
Ext. Member
Joined
Jul 9, 2019
Messages
100
Reaction score
145
Points
54
Location
New York
hi,
Are you able to play without a token?
like

Example:

html <iframe style="width:640px; height:480px;" allowfullscreen src="http://hostname/streamname/embed.html"></iframe>

The code inserts a player window with fixed dimensions (640x480px) to a web page. Playback starts automatically.

I never used the token. but it works on our flussonic



Hi
I used this documentation : https://flussonic.com/doc/authorization/securing-access-to-streams-authorization-with-token/
but there is something that I do not understand, I got a result like this:
http://mydomain.com/script.php?stream=Name
and Its work !
And now I want to put this on my website like this as in the documentation:
PHP:
<iframe allowfullscreen style="width:640px; height:480px;" src="<%= @url %>"></iframe>

I can not understand, if I put this way everyone can see my url:
PHP:
<iframe allowfullscreen style="width:640px; height:480px;"  src="http://mydomain.com/script.php?stream=Name"></iframe>

I rather expect a result like that , which changes the token automatically:
PHP:
<iframe allowfullscreen style="width:640px; height:480px;"  src="http://mydomain.com/Name/embed.html?token=9ef42fbfaa6bf3f0fd387c2bdff9fcc8e56fe846-9c63e87c9aa59ebcf74d375c407692db-1606995882-1606985082"></iframe>

i think i’m doing something wrong,can you help me please?

Thanks
 

homa50

Basic Member
Basic Member
Joined
Nov 15, 2019
Messages
70
Reaction score
732
Points
94
Location
Afghanistan
hi,
Are you able to play without a token?
like

Example:

html <iframe style="width:640px; height:480px;" allowfullscreen src="http://hostname/streamname/embed.html"></iframe>

The code inserts a player window with fixed dimensions (640x480px) to a web page. Playback starts automatically.

I never used the token. but it works on our flussonic


Hi
it's not possibe now, when you use script php protection you need to add this lie in your config :

PHP:
 auth securetoken://SECRETKEY;

Exemple :

PHP:
stream exemple 1 {
  url hls://127.0.0.1:82/MyStream.m3u8
  auth securetoken://SECRETKEY;
  meta iptv "true";
}

And it's work with this php script :
http://mydomain.com/script.php?stream=Name

PHP:
<?php

$flussonic = 'http://flussonic-ip'; // Flussonic address.
$key = 'SECRETKEY'; // The key from flussonic.conf file. KEEP IT IN SECRET.
$lifetime = 3600 * 3; // The link will become invalid in 3 hours.

$stream = $_GET['stream']; // This script gets the stream name from a query. string (script.php?stream=bbc)

$ipaddr = $_SERVER['REMOTE_ADDR']; // (v20.07) Set $ipaddr = 'no_check_ip' if you want to exclude IP address of client devices from checking.
$desync = 300; // Allowed time desync between Flussonic and hosting servers in seconds.
$starttime = time() - $desync;
$endtime = $starttime + $lifetime;
$salt = bin2hex(openssl_random_pseudo_bytes(16));

$hashsrt = $stream.$ipaddr.$starttime.$endtime.$key.$salt;
$hash = sha1($hashsrt);

$token = $hash.'-'.$salt.'-'.$endtime.'-'.$starttime;
$link = $flussonic.'/'.$stream.'/embed.html?token='.$token.'&remote='.$ipaddr;
$embed = '<iframe allowfullscreen style="width:640px; height:480px;" src="'.$link.'"></iframe>';

echo $embed;
?>


you can use that embed.html but it's not secure and evreyone can use your stream.
here an example of a site that uses the method I talked about with the script, but I don't understand how the token part changes /

 

desigujju

Extended Member
Ext. Member
Joined
Sep 16, 2019
Messages
84
Reaction score
48
Points
29
Location
India
are you using flussonic offline crack version?
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

erhan6erhan

Basic Member
Basic Member
Joined
Apr 14, 2021
Messages
3
Reaction score
4
Points
1
Location
Germany
token system dont works on crack version, but i have another secure script works on Flussonic crack version, if you want write me back.
 

mjon

Extended Member
Ext. Member
Joined
Oct 25, 2019
Messages
5
Reaction score
1
Points
14
Location
Brazil
sistema de tokens não funciona na versão crack, mas eu tenho outro script seguro funciona na versão crack Flussonic, se você quiser me escreva de volta.
você ainda tem?
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

mjon

Extended Member
Ext. Member
Joined
Oct 25, 2019
Messages
5
Reaction score
1
Points
14
Location
Brazil
se ainda não conseguiu resolver como bloquear, posso mostrar aqui
 

mjon

Extended Member
Ext. Member
Joined
Oct 25, 2019
Messages
5
Reaction score
1
Points
14
Location
Brazil
Hi
it's not possibe now, when you use script php protection you need to add this lie in your config :

PHP:
 auth securetoken://SECRETKEY;

Exemple :

PHP:
stream exemple 1 {
  url hls://127.0.0.1:82/MyStream.m3u8
  auth securetoken://SECRETKEY;
  meta iptv "true";
}

And it's work with this php script :
http://mydomain.com/script.php?stream=Name

PHP:
<?php

$flussonic = 'http://flussonic-ip'; // Flussonic address.
$key = 'SECRETKEY'; // The key from flussonic.conf file. KEEP IT IN SECRET.
$lifetime = 3600 * 3; // The link will become invalid in 3 hours.

$stream = $_GET['stream']; // This script gets the stream name from a query. string (script.php?stream=bbc)

$ ipaddr = $ _SERVER ['REMOTE_ADDR']; // (v20.07) Defina $ ipaddr = 'no_check_ip' se quiser excluir o endereço IP dos dispositivos clientes da verificação.
$ desync = 300; // Desincronização do tempo permitido entre os servidores Flussonic e hosting em segundos.
$ starttime = time () - $ desync;
$ endtime = $ starttime + $ lifetime;
$ salt = bin2hex (openssl_random_pseudo_bytes (16));

$ hashsrt = $ stream. $ ipaddr. $ starttime. $ endtime. $ key. $ salt;
$ hash = sha1 ($ hashsrt);

$ token = $ hash .'- '. $ salt .'-'. $ endtime .'- '. $ starttime;
$ link = $ flussonic. '/'. $ stream. '/ embed.html? token ='. $ token. '& remote ='. $ ipaddr;
$ embed = '<iframe allowfullscreen style = "largura: 640px; altura: 480px;" src = "'. $ link.'"> </iframe> ';

echo $ embed;
?>
[/CÓDIGO]


você pode usar esse embed.html, mas não é seguro e todos podem usar seu stream.
aqui um exemplo de um site que usa o método que falei com o script, mas não entendo como a parte do token muda /

Sem citação
[/QUOTE]
your tutorial is correct just put the embed file as embed.php and block the domain using header
 

FenixTV

Basic Member
Basic Member
Joined
Mar 29, 2021
Messages
49
Reaction score
12
Points
19
Location
UA
Maybe this is the address of your authorization backend that you need to specify in fluxonics.
You need to create an authorization backend in Flussonic, enter your link http://mydomain.com/script.php?stream=Name in it and enable authorization on the channel. Thus, when the client turns on the channel, he will contact your link to verify the token, and if everything matches, the channel will open
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Top
AdBlock Detected

We know, ad-blocking software do a great job at blocking ads. But our site is sponsored by advertising. 

For the best possible site experience please take a moment to disable your AdBlocker.
You can create a Account with us or if you already have account, you can prefer an Account Upgrade.

I've Disabled AdBlock