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

Script php script for Wowza playback security (SecureToken version 2)

alexw216

Extended Member
Ext. Member
Joined
Oct 16, 2019
Messages
41
Reaction score
282
Points
64
Location
USA
Players use the URI of "http://your-php-server-ip-address/this.php?id=wowza-stream-name" to play.
The php will generate secured access token for your stream with token expiration to prevent re-streaming.
This is tested and verified with Wowza 4.3.0. I do not have 4.5.0 and 4.7.x, so those two versions of Wowza are not tested yet. If you have 4.5.0 and 4.7.x and if you are willing to seed me a copy, I can test and verify this php in those to versions of Wowza.
 
Last edited:
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

alexw216

Extended Member
Ext. Member
Joined
Oct 16, 2019
Messages
41
Reaction score
282
Points
64
Location
USA
it takes time and effort to develop the script and same as it takes time and effort for the site admin to support this site. the reason for 200 likes is to make sure only members can see it and this is an implicit way to support site admin as I am only new to this site as two-days fresh member. if this is improper or if there is a better way to do so, I can adjust. I just cut the likes to 100 likes. hopefully it helps.
 
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

alexw216

Extended Member
Ext. Member
Joined
Oct 16, 2019
Messages
41
Reaction score
282
Points
64
Location
USA
@jhon73us 1. put the php in your web service that has php-fpm enabled.
2. revise the PHP to reflect your wowza server ip, port and secure token shared secret
3. please make sure the Wowza secure token is also set up in the player security page.
4. then you can open VLC to test with http://your-woza-server-ip-address:port/this-php?wowza-stream-name-without-dot-stream

e.g. http://1.1.1.1:1935/channel.php?id=abcnews assuming you name your php as channel.php

5. then the php will generate the proper secure token link and automatically redirect the link to VLC and then VLC will play flawlessly.
Please note in v4.3.0 the client_ip as hash is not working, so do not enable client_ip as hash. other than that, I have sing this script to secure my team to prevent restreaming for more than two years, so the script works properly with no flaw and it is proof working,
 
Last edited:
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
J

jhon73us

Guest
@jhon73us 1. put the php in your web service that has php-fpm enabled.
2. revise the PHP to reflect your wowza server ip, port and secure token shared secret
3. please make sure the Wowza secure token is also set up in the player security page.
4. then you can open VLC to test with http://your-woza-server-ip-address:port/this-php?wowza-stream-name-without-dot-stream

e.g. http://1.1.1.1:1935/channel.php?id=abcnews assuming you name your php as channel.php

5. then the php will generate the proper secure token link and automatically redirect the link to VLC and then VLC will play flawlessly.
Please note in v4.3.0 the client_ip as hash is not working, so do not enable client_ip as hash. other than that, I have sing this script to secure my team to prevent restreaming for more than two years, so the script works properly with no flaw and it is proof working,
Thanks
 
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

alexw216

Extended Member
Ext. Member
Joined
Oct 16, 2019
Messages
41
Reaction score
282
Points
64
Location
USA
@all I just verified that this script works great in 4.7..0 with full function. that means the client ip as hash works great in 4.7..0.
but however, for unknown reason the client_ip as hash does not work in 4.3.0. so if your Wowza is 4.3.0 you just cannot enable client ip as hash feature, but for 4.7.0 it all works great. there is no 4.7..7 cracked version out yet, so I have no idea if the script stills woks in 4.7.7.
 

alexw216

Extended Member
Ext. Member
Joined
Oct 16, 2019
Messages
41
Reaction score
282
Points
64
Location
USA
Sample wget output shown as below:

$ wget "http://76.244.x.x/goat-hls.php?id=discoverylife" -O test1
--2019-10-18 03:06:24-- http://76.244.x.x/goat-hls.php?id=discoverylife
Connecting to 76.244.x.x:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://147.135.x.x:1935/live/discov...V3M9xsn2CIoBQ==&goattokenstarttime=1571382385 [following]
--2019-10-18 03:06:25-- http://147.135.x.x:1935/live/discov...V3M9xsn2CIoBQ==&goattokenstarttime=1571382385
Connecting to 147.135.40.15:1935... connected.
HTTP request sent, awaiting response... 200 OK
Length: 369 [application/vnd.apple.mpegurl]
Saving to: ‘test1’

100%[========================================================================================================================================>] 369 --.-K/s in 0.06s

2019-10-18 03:06:25 (5.65 KB/s) - ‘test1’ saved [369/369]
 
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

alexw216

Extended Member
Ext. Member
Joined
Oct 16, 2019
Messages
41
Reaction score
282
Points
64
Location
USA
@all for people who has access right to see the scripts, I have added both 4.3.0 and 4.7.0 php version there for your reference. Even this is proof working version it is still under your discretion to use it with your own situation. e.g. in some of my internal service due to NAT can cause client ip hash become not correct from servers perspective, then I disable client ip as hash to be safe. again please use it accordingly for your need and scenario.
 

alexw216

Extended Member
Ext. Member
Joined
Oct 16, 2019
Messages
41
Reaction score
282
Points
64
Location
USA
@all updated and Fixed the 4.7..0 version php to correctly capture clients coming behind NAT device, so client ip can be safely used as hash,

However, if you happen to have your php script running in internal network and Wowza fungi in the cloud in this case, you simply cannot use client IP as hash as the php will detect your priavte client IP while the Wowza sees yo connect form public IP so there is a no go

Generally, I would suggest unless your WOWza become a target for restroom hacking, you probably do not need client ip as hash. just the regular token version is enough. however, if re-streaming hacking is bother you too much, then you have no choice but client ip hash to limit the client IP connection exactly form your authorized client.
 
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