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

Rtmp Token Vlc Help???

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

lajvguy 05-04-2016 08:15 PM

Rtmp Token Vlc Help???


 
Can somebody please help to get this rtmp code to work in VLC? I don't know how to get the token. Thanks in advance!

Code:

rtmpdump -r "rtmp://80.82.70.194/live" -a "live?wmsAuthSign=c2VydmVyX3RpbWU9NS81LzIwMTYgMTozMTo1MyBBTSZoYXNoX3ZhbHVlPTBhcW14QUdLZnVSeG1ORXRBd2dpTEE9PSZ2YWxpZG1pbnV0ZXM9MTA=/" -f "WIN 21,0,0,213" -W "http://cast4u.tv/jwplayer/jwplayer.flash.swf" -p "http://www.cast4u.tv/embedcr.php?live=wwe&vw=640&vh=480" --live -y "S6ECWgrLk2Ztuc3dqF" | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -  - --file-caching=5000

troller12 05-05-2016 12:23 PM

Re: Rtmp Token Vlc Help???


 
Hi,

Code:

-T "%XB00(nKH@#."
In source code you can find ST but you need to calc it with some keys etc.
Code:

      rtmp: {
            securetoken: CXBx8cTKHbv0
            },

Just check memory to find the raw token you can use.
Code:

044D7F40  73 65 63 75 72 65 74 6F  6B 65 6E 00 00 00 00 00  securetoken.....
044D7F50  31 00 39 00 37 00 34 00  34 00 00 00 00 00 00 00  1.9.7.4.4.......
044D7F60  31 00 39 00 37 00 33 00  39 00 00 00 00 00 00 00  1.9.7.3.9.......
044D7F70  25 58 42 30 30 28 6E 4B  48 40 23 2E 00 00 00 00  %XB00(nKH@#.....

greetz

lajvguy 05-05-2016 03:31 PM

Re: Rtmp Token Vlc Help???


 
Thank you for the help. I ran rtmpdump again and got this but it still does not work for me. Can you help?

Code:

rtmpdump -r "rtmp://80.82.78.24/live" -a "live?wmsAuthSign=c2VydmVyX3RpbWU9NS81LzIwMTYgMTA6MTQ6MTUgUE0maGFzaF92YWx1ZT1CZHVUcHlXc3NtclhxVkdlS2FqWjB3PT0mdmFsaWRtaW51dGVzPTEw/" -f "WIN 21,0,0,213" -W "http://cast4u.tv/jwplayer/jwplayer.flash.swf" -p "http://www.cast4u.tv/embedcr.php?live=wwe&vw=640&vh=480" --live -y "S6ECWgrLk2Ztuc3dqF" -T "%XB00(nKH@#." | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -  - --file-caching=5000"

troller12 05-05-2016 05:38 PM

Re: Rtmp Token Vlc Help???


 
Sure it works.

If you do use bat (batch) files to execute the link + token then you need to add another % sign before the % sign in token string itself.
Code:

-T "%XB00(nKH@#."
to
-T "%%XB00(nKH@#."

I don't use bat files so I don't need to change anything.If you use bat with original token then CMD window will just close.If you add another % then it works and you also see original token in CMD window.Just keep this in your mind etc.

greetz

lajvguy 05-05-2016 07:19 PM

Re: Rtmp Token Vlc Help???


 
Thank you very much for your help. The token is working for me now.

I still don't understand how you got the token. I'm new to winhex. How do you check the memory?

mckv 05-06-2016 07:24 AM

Re: Rtmp Token Vlc Help???


 
open browser web console

select the iframe with the video stream

almost everything uses jwplayer so type jwplayer().config in console to see the params

congratz you are now l33t h4x0r and member of the anonymous, also on the nsa watchlist.

lajvguy 05-06-2016 09:09 AM

Re: Rtmp Token Vlc Help???


 
Thank you very much mckv!!!

Now l33t h4x0r?
Member of the anonymous?
Also on the nsa watchlist?

lajvguy 05-07-2016 09:35 PM

Re: Rtmp Token Vlc Help???


 
Quote:

Originally Posted by mckv (Post 84233)
open browser web console

select the iframe with the video stream

almost everything uses jwplayer so type jwplayer().config in console to see the params

congratz you are now l33t h4x0r and member of the anonymous, also on the nsa watchlist.

Can you help? I still don't understand where to type jwplayer().config in console to see the params.

troller12 05-08-2016 11:37 AM

Re: Rtmp Token Vlc Help???


 
Hi,

you have to enter the command into the commandbar at the bottom.

greetz

ermejor2 10-20-2016 12:48 PM

Re: Rtmp Token Vlc Help???


 
rtmpdump -r "rtmpe://89.248.162.150/live" -a "live?wmsAuthSign=c2VydmVyX3RpbWU9MTAvMjAvMjAxNiA1 OjAzOjQyIFBNJmhhc2hfdmFsdWU9a25MbnlGQ2p0NVZ1bTdtcS theHA5UT09JnZhbGlkbWludXRlcz0xMA==/" -f "WIN 23,0,0,185" -W "http://www.cast4u.tv/myplayer/jwplayer.flash.swf" -p "http://www.cast4u.tv/embedcr.php?v=euro2&vw=620&vh=490" --live -y "TT0sXawEou_6519" -o "TT0sXawEou_6519.flv" -T "%XB00(nKH@#." | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" - - --file-caching=5000"

this command I see that rtmpdumphelper download data but then vlc will not play anything. Nor it reproduce simple tv me anything if I put the following address both the token %XB00(nKH@# as the token %%XB00(nKH@#:
rtmp://$OPT:rtmp-raw=rtmpe://80.82.78.75/live?wmsAuthSign=c2VydmVyX3RpbWU9MTAvMjAvMjAxNiA0O jMzOjAxIFBNJmhhc2hfdmFsdWU9Nkp0c3RldXVsV2Z1Z1dnWE5 jYWx5Zz09JnZhbGlkbWludXRlcz0xMA== playpath=TT0sXawEou_6519 swfUrl=http://www.cast4u.tv/myplayer/jwplayer.flash.swf live=1 pageUrl=http://www.cast4u.tv/embedcr.php?v=euro2&vw=620&vh=490 --live token=%XB00(nKH@#

However simple tv if I put the address without the token if played for a couple of seconds and then cut.

What is wrong with it?


All times are GMT -6. The time now is 10:49 AM.