Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 12-25-2014, 01:34 PM
spainwomendrinkingpartys spainwomendrinkingpartys is offline
Junior Member
 
Join Date: Dec 2014
Posts: 3
spainwomendrinkingpartys is on a distinguished road
Default

rtmp token protection help


Hi guys!
hi guys
try to watch the channels of this page
Code:
http://pontucanal.net
for example channel history ;



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

Code:
http://plstonline.org/
and paste code URLP helper



the code if Preview window if this

Code:
#EXTM3U $ExtFilter="RTMP"
#EXTINF:-1,Stream 1
rtmp://$OPT:rtmp-raw=rtmp://188.165.208.114/live?token=5bGN3rGuxuwJ57M9TyK6QwExpired=1419538700 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
Reply With Quote
  #2  
Old 12-25-2014, 03:17 PM
peterpan peterpan is offline
Senior Member
 
Join Date: Jun 2013
Posts: 553
peterpan is on a distinguished road
Default

Re: rtmp token protection help


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

Code:
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
Reply With Quote
  #3  
Old 12-26-2014, 05:32 PM
spainwomendrinkingpartys spainwomendrinkingpartys is offline
Junior Member
 
Join Date: Dec 2014
Posts: 3
spainwomendrinkingpartys is on a distinguished road
Default

Re: rtmp token protection help


thanks Peterpan,

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

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 ;



I do wrong?
Reply With Quote
  #4  
Old 12-26-2014, 07:51 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: rtmp token protection help


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..
Code:
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
Reply With Quote
  #5  
Old 12-26-2014, 08:14 PM
DefectedToRussia DefectedToRussia is offline
Junior Member
 
Join Date: Dec 2014
Posts: 11
DefectedToRussia is on a distinguished road
Default

Re: rtmp token protection help


Quote:
Originally Posted by troller12 View Post
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"



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:
Code:
rtmpdump -V -v -r "rtmp://94.23.247.151/redirect" -a "redirect?token=FEO6Tb4vM1iLHaCZPBFwExpired=1419545618" -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

Last edited by DefectedToRussia : 12-26-2014 at 08:45 PM.
Reply With Quote
  #6  
Old 12-30-2014, 04:40 PM
spainwomendrinkingpartys spainwomendrinkingpartys is offline
Junior Member
 
Join Date: Dec 2014
Posts: 3
spainwomendrinkingpartys is on a distinguished road
Default

Re: rtmp token protection help


i just fine work

thanks !
Reply With Quote
Reply Post New Thread
Tags: , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 11:26 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons