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

Secure token issue

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

spacechild 08-21-2015 03:02 PM

Secure token issue


 
Hello everyone!

I'm trying to catch rtmpe streams from the site mybeststream.xyz

So far, I haven't got problems to capture streams from this platform.

But since a few days, something has changed (I guess they must have added some token)

Here is an example:

Code:

rtmpdump -v -r "rtmpe://l.mybeststream.xyz/r/" -a "r/" -y "dolcehdw619" -W "http://mybeststream.xyz/MjJiYmQ3MjI0ZWVkZTYzZmNlYTkzM2M0OTcyZjVhMGZlMzAzN2/jwplayer.flash.swf" live=1 -p "http://mybeststream.xyz/gen_s.php?id=27281&width=710&height=440"
(stream source: http://www.tv-sport-hd.com/channel/dolce1.html)

Once this stream worked nicely. Now, instead, I systematically get the error message "RTMP_ReadPacket, failed to read RTMP packet header" (typical error due to secure tokens)

Likewise, all the other streams from this platform don't work anymore for the same issue.

Any help (you can send me a pm, if you like) would be appreciated.

Thanks in advance!

P.S: notice that the SWF path changes dynamically.

So if you need to analyze the swf file, I have uploaded it here:

http://speedy.sh/sw8RR/jwplayer.flash.swf

mybeststream 08-22-2015 06:04 PM

Re: Secure token issue


 
Hahah I like to see the people crying now trying to fuck my servers bandwidth for restream or KODI :cool:

Good luck trying to rip my streams now. ;)

drbmn 08-23-2015 01:30 AM

Re: Secure token issue


 
Quote:

Originally Posted by mybeststream (Post 79164)
Hahah I like to see the people crying now trying to fuck my servers bandwidth for restream or KODI :cool:

Good luck trying to rip my streams now. ;)

Are you stupid? i'm pretty sure if i can rip from Amazon i can rip your shitty SD Streams. :D

drbmn 08-23-2015 10:08 AM

Re: Secure token issue


 


Code:

rtmpdump -r "rtmpe://l.mybeststream.xyz/r/" -a "r/" -f "WIN 18,0,0,232" -W "http://mybeststream.xyz/YjdlYTI1ZjM5ZGRiYThhNmQ1NzRkM2IzNDQxY2UxNDZlY2Q2NW/jwplayer.flash.swf" -p "http://mybeststream.xyz/gen_s.php?id=27281&width=710&height=440" -y "dolcehdw619" -T "ovcast_live_streaming" | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -
Good day, mybeststream :D

biezom 08-23-2015 10:43 AM

Re: Secure token issue


 
Quote:

Originally Posted by drbmn (Post 79188)
Code:

rtmpdump -r "rtmpe://l.mybeststream.xyz/r/" -a "r/" -f "WIN 18,0,0,232" -W "http://mybeststream.xyz/YjdlYTI1ZjM5ZGRiYThhNmQ1NzRkM2IzNDQxY2UxNDZlY2Q2NW/jwplayer.flash.swf" -p "http://mybeststream.xyz/gen_s.php?id=27281&width=710&height=440" -y "dolcehdw619" -T "ovcast_live_streaming" | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -
Good day, mybeststream :D

Good job! I had under my nose, but I could not find


drbmn 08-23-2015 10:47 AM

Re: Secure token issue


 
Quote:

Originally Posted by biezom (Post 79190)
Good job! I had under my nose, but I could not find


What are you using there to find it if you dont mind me asking? :)

biezom 08-23-2015 10:55 AM

Re: Secure token issue


 
Quote:

Originally Posted by drbmn (Post 79191)
What are you using there to find it if you dont mind me asking? :)

gdb on linux or winhex on windows
and again good job!

drbmn 08-23-2015 10:57 AM

Re: Secure token issue


 
Quote:

Originally Posted by biezom (Post 79192)
gdb on linux or winhex on windows
and again good job!

Must give credit to @denobis as one of his many tools helped me to find the token. :)

biezom 08-23-2015 11:02 AM

Re: Secure token issue


 
Quote:

Originally Posted by drbmn (Post 79193)
Must give credit to @denobis as one of his many tools helped me to find the token. :)

my turn
What are you using there to find it if you dont mind me asking?

drbmn 08-23-2015 11:05 AM

Re: Secure token issue


 
Quote:

Originally Posted by biezom (Post 79194)
my turn
What are you using there to find it if you dont mind me asking?

http://atresdownloader.com/teadecrypt.php

if you look the flash within you'll see that the token is computed so:

private var _typeOfServerAccepted:String = "937a417fd8b8aaa672743035cd18f1d9b31c82f628c1600f" ;

_typeOfServer = TEA.decrypt(_typeOfServerAccepted,"0x0000");

"937a417fd8b8aaa672743035cd18f1d9b31c82f628c16 00f" as securetoken

"0x0000" as key.

not 100% sure how denobis found the 937a417xxx part.


All times are GMT -6. The time now is 06:12 AM.