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

Protect Your MAG Devices Lines

akawi11

Extended Member
Ext. Member
Joined
Sep 20, 2019
Messages
292
Reaction score
580
Points
104
Location
Europe
if u use xtreamui just edit portal.php and never can sniff your token or mac address ;) just add 1 line with allow only local address couse when customer make request to xtreamui request accept and forwoad request to portal.php ;) onother problem is xtreamui have a many backdoors in the code u can decrypt and check it most of backdoors send your streams to diffrent servers
good solution
can you please let us know this 1 line to protect the mac address from this attacks
 

dtblocker

Banned
Banned
Ext. Member
Joined
Sep 20, 2019
Messages
138
Reaction score
229
Points
54
Location
Mars
Code:
Mozilla/5.0 (QtEmbedded; U; Linux; C) AppleWebKit/533.3 (KHTML, like Gecko) MAG200 stbapp ver: 2 rev: 250 Safari/533.3
FilterExclude

?type=stb&action=handshake&token=&prehash=0&JsHttpRequest=1-xml
FilterExclude

?type=stb&action=get_profile
FilterExclude


/portal.php
 
Last edited by a moderator:
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

redhat

Administrator
Staff member
Administrator
Chief Moderator
Moderator
Joined
Jun 19, 2019
Messages
3,085
Reaction score
14,860
Points
134
Location
root[@]woi
Code:
Mozilla/5.0 (QtEmbedded; U; Linux; C) AppleWebKit/533.3 (KHTML, like Gecko) MAG200 stbapp ver: 2 rev: 250 Safari/533.3
FilterExclude

?type=stb&action=handshake&token=&prehash=0&JsHttpRequest=1-xml
FilterExclude

?type=stb&action=get_profile
FilterExclude


/portal.php

So as i understand the only potential issue is with portal.php or better with the /client_area ?
 
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

redhat

Administrator
Staff member
Administrator
Chief Moderator
Moderator
Joined
Jun 19, 2019
Messages
3,085
Reaction score
14,860
Points
134
Location
root[@]woi
May you guys can write small how to fix it for beginners
 

slaserx

Banned
Banned
Ext. Member
Joined
Oct 29, 2019
Messages
64
Reaction score
1,170
Points
94
Location
Bulgaria
May you guys can write small how to fix it for beginners
one easy way u can use .httaccess file and put this and add your local ip only for can have a access then all request on devices we work only with local request from your portal.

1st way
order deny,allow
deny from all
allow from <your ip>

2 options u can put some script like this on portal.php
PHP:
<?php

$deny = array("111.111.111", "222.222.222", "333.333.333");

if (in_array ($_SERVER['REMOTE_ADDR'], $deny)) {

   header("location: http://www.google.com/");

   exit();

} ?>

and change ip to block all ip like a 0.0.0.0/0 then all request again will work only from localhost server request and all onother will be redirect to google.com or what u wish :)

when u make this nobody can steal token or streams via portal.php also i write a patch which remove backdors from xtreamui
 

hazdo

Extended Member
Ext. Member
Joined
Feb 6, 2020
Messages
53
Reaction score
273
Points
64
Location
germany
can mag boxes use https i guess no so you protect only portal using https
 
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

slaserx

Banned
Banned
Ext. Member
Joined
Oct 29, 2019
Messages
64
Reaction score
1,170
Points
94
Location
Bulgaria
can mag boxes use https i guess no so you protect only portal using https
yes can when make automate request redirect to https :) also u can enable https support on mag devices its easy :) just u need ssh access to make it :)
 

hazdo

Extended Member
Ext. Member
Joined
Feb 6, 2020
Messages
53
Reaction score
273
Points
64
Location
germany
yes can when make automate request redirect to https :) also u can enable https support on mag devices its easy :) just u need ssh access to make it :)
yeah i was able to make half https request so you need ssh access to mag box to make it work with https?
 

slaserx

Banned
Banned
Ext. Member
Joined
Oct 29, 2019
Messages
64
Reaction score
1,170
Points
94
Location
Bulgaria
yeah i was able to make half https request so you need ssh access to mag box to make it work with https?
yes or u can make your custom image for your mags with all settings which u need, after that u can also run your own tftp server and can update all devices which u adminstrate remotley with your own new image :) have many many many options
 
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

alex1010

Extended Member
Ext. Member
Joined
Oct 2, 2019
Messages
113
Reaction score
1,098
Points
104
Location
italy
one easy way u can use .httaccess file and put this and add your local ip only for can have a access then all request on devices we work only with local request from your portal.

1st way
order deny,allow
deny from all
allow from <your ip>

2 options u can put some script like this on portal.php
PHP:
<?php

$deny = array("111.111.111", "222.222.222", "333.333.333");

if (in_array ($_SERVER['REMOTE_ADDR'], $deny)) {

   header("location: http://www.google.com/");

   exit();

} ?>

and change ip to block all ip like a 0.0.0.0/0 then all request again will work only from localhost server request and all onother will be redirect to google.com or what u wish :)

when u make this nobody can steal token or streams via portal.php also i write a patch which remove backdors from xtreamui
instead $deny u can do also like this

<?php

$allow = array("127.0.0.1");

if (!in_array ($_SERVER['REMOTE_ADDR'], $allow)) {

header("location: http://www.google.com/");

exit();

} ?>
 

alex1010

Extended Member
Ext. Member
Joined
Oct 2, 2019
Messages
113
Reaction score
1,098
Points
104
Location
italy
one easy way u can use .httaccess file and put this and add your local ip only for can have a access then all request on devices we work only with local request from your portal.

1st way
order deny,allow
deny from all
allow from <your ip>

2 options u can put some script like this on portal.php
PHP:
<?php

$deny = array("111.111.111", "222.222.222", "333.333.333");

if (in_array ($_SERVER['REMOTE_ADDR'], $deny)) {

   header("location: http://www.google.com/");

   exit();

} ?>

and change ip to block all ip like a 0.0.0.0/0 then all request again will work only from localhost server request and all onother will be redirect to google.com or what u wish :)

when u make this nobody can steal token or streams via portal.php also i write a patch which remove backdors from xtreamui
Are you sure this way working?

Give loading error and doesn't work
 
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

akawi11

Extended Member
Ext. Member
Joined
Sep 20, 2019
Messages
292
Reaction score
580
Points
104
Location
Europe
instead $deny u can do also like this

<?php

$allow = array("127.0.0.1");

if (!in_array ($_SERVER['REMOTE_ADDR'], $allow)) {

header("location: http://www.google.com/");

exit();

} ?>
location = /portal.php {
allow 127.0.0.1;
deny all;
}

what you think about this one inside nginx.conf? can be working
 
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

joelonlyne

Extended Member
Ext. Member
Joined
May 29, 2020
Messages
142
Reaction score
633
Points
104
Location
Usa
location = /portal.php {
allow 127.0.0.1;
deny all;
}

what you think about this one inside nginx.conf? can be working
Guys using " allow 127.0.0.1 " only will allow local ip and won't work to public site.

Mag devices and STB Emu use that file " portal.php " to work properly.

Analysing and thinking out the box ;)
 

neowarcic

Extended Member
Ext. Member
Joined
Dec 28, 2020
Messages
11
Reaction score
3
Points
14
Location
BIH
Just ISP lock for now, but it's not some good solution, on some providers you can enable it by the user side. Every user restart is stb blocked, but just on few providers. Geolite is updated but ...
 
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