PDA

View Full Version : rtmp token protection help


spainwomendrinkingpartys
12-25-2014, 12:34 PM
Hi guys!
hi guys
try to watch the channels of this page
http://pontucanal.net

for example channel history ;

http://i60.tinypic.com/68aq6a.jpg

ok i used for captured a URL Helper, once captured the emission
to open page

http://plstonline.org/

and paste code URLP helper

http://i61.tinypic.com/20usutl.jpg

the code if Preview window if this


#EXTM3U $ExtFilter="RTMP"
#EXTINF:-1,Stream 1
rtmp://$OPT:rtmp-raw=rtmp://188.165.208.114/live?token=5bGN3rGuxuwJ57M9TyK6QwExpired=141953870 0 playpath=historia swfUrl=http://privado.streamingfreetv.net/embed/noreproductor.php?o=1&kpublica=29245 live=1 pageUrl=http://privado.streamingfreetv.net/embed/embed.php?channel=historia&w=650&h=400


if I change my ip or times not connect me back to the emission (token and expiration)

They can help with the token and the expiration, please teach steps for solution, thanks for help

peterpan
12-25-2014, 02:17 PM
rtmpdump -r "rtmp://94.23.247.151/redirect" -a "redirect?token=FEO6Tb4vM1i-vLHaCZPBFwExpired=1419545618" -f "WIN 16,0,0,235" -W "http://privado.streamingfreetv.net/embed/noreproductor.php" -p "http://privado.streamingfreetv.net/embed/embed.php?channel=historia&w=650&h=400" -y "historia" -o historia.flv



c:\>rtmpdump -r "rtmp://94.23.247.151/redirect" -a "redirect?token=FEO6Tb4vM1i-v
LHaCZPBFwExpired=1419545618" -f "WIN 16,0,0,235" -W "http://privado.streamingfre
etv.net/embed/noreproductor.php" -p "http://privado.streamingfreetv.net/embed/em
bed.php?channel=historia&w=650&h=400" -y "historia" | "C:\Program Files (x86)\
VideoLAN\VLC\vlc.exe" -
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL

With patches

WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
INFO: rtmp server sent redirect
INFO: trying to connect with redirected url
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 0.00
INFO: width 720.00
INFO: height 420.00
INFO: videodatarate 488.28
INFO: framerate 25.00
INFO: videocodecid 7.00
INFO: audiodatarate 125.00
INFO: audiosamplerate 44100.00
INFO: audiosamplesize 16.00
INFO: stereo TRUE
INFO: audiocodecid 2.00
INFO: encoder Lavf55.34.101
INFO: filesize 0.00
726.590 kB / 9.23 sec

http://i.imgur.com/d053a2Vl.png

spainwomendrinkingpartys
12-26-2014, 04:32 PM
thanks Peterpan,

I am newbie
I tried to do the same you with the same code


rtmpdump -r "rtmp://94.23.247.151/redirect" -a "redirect?token=FEO6Tb4vM1i-vLHaCZPBFwExpired=1419545618" -f "WIN 16,0,0,235" -W "http://privado.streamingfreetv.net/embed/noreproductor.php" -p "http://privado.streamingfreetv.net/embed/embed.php?channel=historia&w=650&h=400" -y "historia" -o historia.flv


but when you open the rtmpdump I get the following error this ;

http://i58.tinypic.com/20gh1dt.jpg

I do wrong?

troller12
12-26-2014, 06:51 PM
Hi,

so you got a exception (C0000005 - ACCESS VIOLATION) (on read or write) in rtmpdump.Problem could be maybe the rtmpdump version you use.Maybe a OS issue or you need to change UAC rights on your Win7.

So I see you use output file (-o historia.flv) and this will also created in your folder but if you have no write rights for this folders then rtmpdump should fail (access violation).Just check this again or move your rtmp folder in your HDD (C:\rtmpdump\) and try again.Also you can copy of CMD.exe into same folder and start it from there to have the right path already.

PS: To get link working you need your token value xy so you can't use same as was postet by peterpan.You can also try this for testing without token..
rtmpdump -v -r "rtmp://94.23.247.151:1935/live//xtrm2" -p "http://privado.streamingfreetv.net" | "player" -
...just enter your playerpath at the end (your VLC ).This link just works 10 seconds only each time.

greetz

DefectedToRussia
12-26-2014, 07:14 PM
Hi,
Also you can copy of CMD.exe into same folder and start it from there to have the right path already.

On Win7+ I believe, you can shift + right click and you have the option to "Open Command Window Here" :)

http://i.imgur.com/kIr4rJw.png

I used to do a similar thing to what you said before I knew that shortcut. Instead of copying cmd.exe I would create a new blank text file, then rename it a .bat or .cmd and edit it to: "start c:\windows\system32\cmd.exe"

It would basically have the same result as what you mentioned but without having copies of cmd.exe floating around everywhere!

By the way I can confirm it's not a UAC restriction or anything, as yes I'm on win7 but I've been able to rtmp dump into that folder before so it's not an access violation for the directory at least. But yes the error is an access violation, but that could really be anything, that just means an invalid memory address was attempted to be accessed (like address 0, or an address that continued out of range of a buffer)

I'm thinking it's maybe a buffer overflow exploit we've discovered, lol! I'm checking to see which parameter it could be causing it, if that's it anyway! Tried with latest standard rtmp dump and latest KSV version. Which version did you successfully get to work by the way troller12?

EDIT: Okay if I take out the -W parameter, it doesn't crash but it also doesn't work. Is it really needed to SWF Verify in this case? Or perhaps the token is just expired and I have to get my own token for it to work!

EDIT2: Figured it out, you were passing an incomplete url... See since this isnt a direct link to an .swf file, it's a php page that returns an .swf file, but it has to have the right arguments passed after the ?... You missed this part: "o=1&kpublica=29245"

So it's more like: -W "http://privado.streamingfreetv.net/embed/noreproductor.php?o=1&kpublica=29245"

With the full command like:
rtmpdump -V -v -r "rtmp://94.23.247.151/redirect" -a "redirect?token=FEO6Tb4vM1iLHaCZPBFwExpired=1419545 618" -f "WIN 16,0,0,235" -W "http://privado.streamingfreetv.net/embed/noreproductor.php?o=1&kpublica=29245" -p "http://privado.streamingfreetv.net/embed/embed.php?channel=historia&w=650&h=400" -y "historia" -o "historia.flv"

Now it doesn't crash! So that means an improper swf auto verify url is a crash! So knowing that, when you use that parameter you have to make sure the link is correct.

So just get an updated token and it should work spainwomendrinkingparties :)

spainwomendrinkingpartys
12-30-2014, 03:40 PM
i just fine work

thanks !