Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

wmsauthsign patch

(http://stream-recorder.com/forum/showthread.php?t=18850)

coolcar1 09-27-2014 01:15 AM

wmsauthsign patch


 
Hi, If anyone has or manages to find a patch for WmsAuthSign, please Pm me.

Okay so wmsAuthSign is a Wowza Media Server plugin to protect streams. It changes every so minuets to make it impossible to rtmpdump.

Here is an example of a WmsAuthSign Rtmpdump code:
Code:

rtmpdump -r "rtmp://198.50.183.218:1935/liveedge" -a "liveedge?wmsAuthSign=c2VydmVyX3RpbWU9OS8yNy8yMDE0IDc6MDg6MTAgQU0maGFzaF92YWx1ZT1NUzVkenBJeU5xdHBZRForVVBRQmRRPT0mdmFsaWRtaW51dGVzPTgw/" -f "WIN 15,0,0,152" -W "http://p.jwpcdn.com/6/8/jwplayer.flash.swf" -p "http://xxx-xx/site/live-tv/" --live -y "synx_hbo.stream" -o "synx_hbo.stream.flv"
Please Pm me if you know how to patch this. Thank you :)

Elgero 09-27-2014 02:34 AM

Re: wmsauthsign patch


 
Why is it impossible to rtmpdump? That link stays valid for 80 minutes. Isn't that enough to record the stream?

hasomaso 09-27-2014 03:18 AM

Re: wmsauthsign patch


 
@Elgero

maybe he does not want recording!!!
maybe he wants to re-share the livestream or just simply play with vlc

Elgero 09-27-2014 03:36 AM

Re: wmsauthsign patch


 
Re-sharing is going to be a problem, because wmsAuthSign was designed to prevent that.

This is a base64 encoded string.

Code:

c2VydmVyX3RpbWU9OS8yNy8yMDE0IDc6MDg6MTAgQU0maGFzaF92YWx1ZT1NUzVkenBJeU5xdHBZRForVVBRQmRRPT0mdmFsaWRtaW51dGVzPTgw
Decoded it results in this string.

Code:

server_time=9/27/2014 7:08:10 AM&hash_value=MS5dzpIyNqtpYDZ+UPQBdQ==&validminutes=80



This is a base64 encoded string too.

Code:

MS5dzpIyNqtpYDZ+UPQBdQ==
Decoded it results in this MD5 hash.

Code:

312E5DCE923236AB6960367E50F40175
The above MD5 hash is created from:

ip address of the viewer
password stored on the server
server_time
validminutes

Hashing is one-way, so it cannot be decrypted to get the password.

coolcar1 09-27-2014 11:32 AM

Re: wmsauthsign patch


 
Okay thanks for trying to help! IF anyone knows how to patch or edit the string please pm me.

spacechild 04-17-2015 02:14 PM

Re: wmsauthsign patch


 
Check my pm ;)
I hope it helps


All times are GMT -6. The time now is 10:53 PM.