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

chaturbate.com: SecureToken problems

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

malky 02-13-2014 11:04 AM

Re: chaturbate.com: SecureToken problems


 
I think what you are looking for is the first sticky post in the rtmpdump directory.

http://stream-recorder.com/forum/cus...le-t16103.html

All hail KSV none of us would have got this far without his hard work.

Arukarudo 02-14-2014 10:17 PM

Re: chaturbate.com: SecureToken problems


 
I were able to make it work as well, i used the javascript that Malky provided, it had just one little error like basa666 pointed, it were an extra space that made the script get a wrong flash version.

So basically you will download the KSVs version of Rtmpdump from https://github.com/K-S-V/Scripts/releases (click the green button)

and if you're on:

Chrome
- Press Ctrl+D
- Click Edit
- Give any Name and on url you put
Code:

javascript:var raw=$('param[name="FlashVars"]').val().split('&');var fv={}; for(var i in raw) {var d=raw[i].split('='); fv[d[0]] = unescape(d[1]);} var swfu=$('#movie').attr('data'); swfv = swfu.substring(swfu.indexOf('_')+1,swfu.indexOf('.')).replace('p','.'); prompt('RTMPDumpCL','rtmpdump -v -r "rtmp://'+fv['address']+'/live-edge" -p "http://'+fv['dom']+'/'+fv['pid']+'" -C S:'+fv['uid']+' -C S:'+fv['pid']+' -C S:'+swfv+' -C S:'+fv['pw']+' -C S:'+fv['rp']+' -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');
- Save
- Go to the chaturbate page you want and click on the favorite button you just created
- Copy the command and paste it on a cmd window (you need to be on the folder where you unzipped the rtmpdump code)

Firefox
- Go to the chaturbate's broadcaster page you want
- Press Ctrl+Shift+K
- Paste the code
Code:

javascript:var raw=$('param[name="FlashVars"]').val().split('&');var fv={}; for(var i in raw) {var d=raw[i].split('='); fv[d[0]] = unescape(d[1]);} var swfu=$('#movie').attr('data'); swfv = swfu.substring(swfu.indexOf('_')+1,swfu.indexOf('.')).replace('p','.'); prompt('RTMPDumpCL','rtmpdump -v -r "rtmp://'+fv['address']+'/live-edge" -p "http://'+fv['dom']+'/'+fv['pid']+'" -C S:'+fv['uid']+' -C S:'+fv['pid']+' -C S:'+swfv+' -C S:'+fv['pw']+' -C S:'+fv['rp']+' -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');
- Copy the command and paste it on a cmd window (you need to be on the folder where you unzipped the rtmpdump code)

And that is it =)
Thanks a lot for Malky and Basa666 for the great help!

xaboxa 02-15-2014 02:18 AM

Re: chaturbate.com: SecureToken problems


 
Thanks for this step by step instruction also :)

malky 02-15-2014 12:40 PM

Re: chaturbate.com: SecureToken problems


 
Well thanks for that for the thanks. But as I said the javascript wasn't mine. It was originally suggested by Savanna and the version I use was by oelk. I just wish I was so good at javascript. :)

Zorlan 02-21-2014 05:47 AM

Re: chaturbate.com: SecureToken problems


 
So... Anyone still doing this? I'm getting:

ERROR: Closing connection: NetStream.Play.Failed

..on a authenticated account. So maybe something has changed? Appreciate an updated working procedure, if anyone got it, or help on location the issue. I'm using the following script, and entering "./dump.sh Modelname" on the command line to start it:

Code:

#!/bin/bash
rtmpdump -z -r "rtmp://edge6-b.stream.highwebmedia.com/live-edge" -p "http://chaturbate.com/$1" -C S:Myusername -C S:$1 -C S:2.644 -
C S:pbkdf2_sha256\$12000\$smQcT4n1ByxT\$gjBG1HmjXtgiP3y\+KwtblahblahblahC2djrGTuUvi3E73\= -y "playpath" -o "$1.flv"

(Obivously my passsword hash is not exaclty what I pasted, but something similar)

malky 02-21-2014 09:59 AM

Re: chaturbate.com: SecureToken problems


 
No problems recording here.

rtmpdump -v -r "rtmp://edge13-b.stream.highwebmedia.com/live-edge" -p "http://chaturbate.com/*******" -C S:****** -C S:*****
-C S:2.644 -C S:pbkdf2_sha256$12000$Cml4dozmu5iA$bCs47aQOxTx7WIZ kdyTJMpgkWcfdXX/ZG8oONigPr4= -C S:6ba9a53862b1a4c741ede208635e24ebcfacfac7706629ed 631adabca107c3a3 -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "*******_1392961409.flv"
RTMPDump v2.4 GIT-2012-12-30 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
90991.479 kB / 5012.37 sec

yetanotherday 02-22-2014 02:30 PM

Re: chaturbate.com: SecureToken problems


 
still no one provide a simple solution to get this rtmpdump work on linux , seems i cant find the compiled version

rastamanx 03-12-2014 12:52 PM

Re: chaturbate.com: SecureToken problems


 
Looks like the bookmarklet is not working anymore on chromium v34

Arukarudo 03-12-2014 01:57 PM

Re: chaturbate.com: SecureToken problems


 
Chaturbate made a little change on their website on the way you get the version of the flash player, this one should work:

Code:

javascript:var raw=$('param[name="FlashVars"]').val().split('&');var fv={};for(var i in raw){var d=raw[i].split('=');fv[d[0]] = unescape(d[1]);}var swfu=xmovie.data;swfv = swfu.substring(swfu.indexOf('CBV')+4,swfu.indexOf('.swf'));swfv = swfv.replace('p','.');prompt('RTMPDumpCL','rtmpdump -v -r "rtmp://'+fv['address']+'/live-edge" -p "http://'+fv['dom']+'/'+fv['pid']+'" -C S:'+fv['uid']+' -C S:'+fv['pid']+' -C S:'+swfv+' -C S:'+fv['pw']+' -C S:'+fv['rp']+' -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');

rastamanx 03-12-2014 05:09 PM

Re: chaturbate.com: SecureToken problems


 
It works indeed :)

rastamanx 03-12-2014 08:31 PM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by malky (Post 64887)
No problems recording here.

rtmpdump -v -r "rtmp://edge13-b.stream.highwebmedia.com/live-edge" -p "http://chaturbate.com/*******" -C S:****** -C S:*****
-C S:2.644 -C S:pbkdf2_sha256$12000$Cml4dozmu5iA$bCs47aQOxTx7WIZ kdyTJMpgkWcfdXX/ZG8oONigPr4= -C S:6ba9a53862b1a4c741ede208635e24ebcfacfac7706629ed 631adabca107c3a3 -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "*******_1392961409.flv"
RTMPDump v2.4 GIT-2012-12-30 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
90991.479 kB / 5012.37 sec

1/ -C S:****** = username
2/ -C S:***** = model username
3/ -C S:2.644 = client flash version
4/ -C S:pbkdf2_sha256 = user pass hash
5/ -C S:6ba9a53862b1a4c741ede208635e24ebcfacfac7706629ed 631adabca107c3a3
6/ -T "m9z#$dO0qe34Rxe@sMYxx%%" = secure token

Anyone can explain what this last (#5) S: param is and how do you get it through command line ?

Arukarudo 03-12-2014 10:08 PM

Re: chaturbate.com: SecureToken problems


 
I know this number change each room, but i don't know if it changes each streaming, you would need to check the same streaming at different times... but anyway the code is there on the html of the model page, if you're going to do it by command line you would need to download and process it with some script, you could use php for example. all the relevant info is inside the html right after this piece of code
Code:

if (HasFlash()) { EmbedViewerSwf(

rastamanx 03-13-2014 12:43 AM

Re: chaturbate.com: SecureToken problems


 
Yeah I'm pretty sure it's a model room hash, and it's now needed.
No more directly running a batch script to rtmpdump, a first curl+egrep/gawk will prolly be needed (or php).

malky 03-14-2014 04:48 AM

Re: chaturbate.com: SecureToken problems


 
That's why you should use the bookmark script. It gets all the data you need and forms the rtmpdump command line ready for you to use. If you use multiple cmd windows you can record as many models as you want.

As for the use of anonymous. My old script still works no problem.

If you get the parameters using the javascript console parameter 5 is called rp. So probably room password I would have thought.

miles_gloriosus 03-16-2014 12:39 AM

Re: chaturbate.com: SecureToken problems


 
Thank you malky and Arukarudo!!!

malky 03-16-2014 04:51 PM

Re: chaturbate.com: SecureToken problems


 
While trying something new I accidently forgot to put the room password hash in the command line. I was surprised to see it still recorded!

Stream Ripper 03-16-2014 10:31 PM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by malky (Post 66422)
While trying something new I accidently forgot to put the room password hash in the command line. I was surprised to see it still recorded!

Wow, see if you can duplicate that again intentionally :)

stream23leech 03-18-2014 06:50 PM

Re: chaturbate.com: SecureToken problems


 
Is the script meant to work with RTMPDump v2.4 out of the box?

Code:

DEBUG: RTMP_ClientPacket, received: invoke 113 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:          no-name., STRING:        onStatus>
DEBUG: Property: <Name:          no-name., NUMBER:        0.00>
DEBUG: Property: NULL
DEBUG: Property: <Name:          no-name., OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:        error>
DEBUG: Property: <Name:              code, STRING:        NetStream.Play.Failed>
DEBUG: Property: <Name:        description, STRING:        security>
DEBUG: Property: <Name:          clientid, NUMBER:        1071194377.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.Failed
ERROR: Closing connection: NetStream.Play.Failed
DEBUG: Closing connection.

http://pastebin.com/Dyf75WhR

malky 03-19-2014 01:18 AM

Re: chaturbate.com: SecureToken problems


 
No. It only works with the KSV patched version of RTMPdump that is available from his github.

https://github.com/K-S-V/Scripts/downloads

yetanotherday 03-20-2014 01:31 AM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by malky (Post 66460)
No. It only works with the KSV patched version of RTMPdump that is available from his github.

https://github.com/K-S-V/Scripts/downloads

hello can u tell me how i can get this shit working on linux ubuntu without distroying system and download wrong dependencies ??
:o

which directive i will use to call the rtmpdump :confused: /home/ ??

malky 03-20-2014 12:04 PM

Re: chaturbate.com: SecureToken problems


 
You have my sympathies. They might slag off Windows but at least with windows you're more likely to find that someone has already sorted you problem.

yetanotherday 03-21-2014 01:25 AM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by malky (Post 66499)
You have my sympathies. They might slag off Windows but at least with windows you're more likely to find that someone has already sorted you problem.

nice reply :p

yetanotherday 03-21-2014 05:55 AM

Re: chaturbate.com: SecureToken problems


 
finally solved !
http://stream-recorder.com/forum/rtm...e-t4229p4.html
:o
:eek:
this shit took me 2 years
:o
:eek:

stream23leech 03-23-2014 08:54 PM

Re: chaturbate.com: SecureToken problems


 
The error with Linux is based on $ and = in the command.

Quote:

Originally Posted by marktr (Post 46927)
@KSV - amazing as usual!

TRemember to escape $ in shells where appropriate, and that \u003D is = (equals symbol), and you'll be good to go.

Thanks KSV again!


Bidul76 03-28-2014 08:15 AM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by Arukarudo (Post 64738)
I were able to make it work as well, i used the javascript that Malky provided, it had just one little error like basa666 pointed, it were an extra space that made the script get a wrong flash version.

So basically you will download the KSVs version of Rtmpdump from https://github.com/K-S-V/Scripts/releases (click the green button)

and if you're on:

Chrome
- Press Ctrl+D
- Click Edit
- Give any Name and on url you put
Code:

javascript:var raw=$('param[name="FlashVars"]').val().split('&');var fv={}; for(var i in raw) {var d=raw[i].split('='); fv[d[0]] = unescape(d[1]);} var swfu=$('#movie').attr('data'); swfv = swfu.substring(swfu.indexOf('_')+1,swfu.indexOf('.')).replace('p','.'); prompt('RTMPDumpCL','rtmpdump -v -r "rtmp://'+fv['address']+'/live-edge" -p "http://'+fv['dom']+'/'+fv['pid']+'" -C S:'+fv['uid']+' -C S:'+fv['pid']+' -C S:'+swfv+' -C S:'+fv['pw']+' -C S:'+fv['rp']+' -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');
- Save
- Go to the chaturbate page you want and click on the favorite button you just created
- Copy the command and paste it on a cmd window (you need to be on the folder where you unzipped the rtmpdump code)

Firefox
- Go to the chaturbate's broadcaster page you want
- Press Ctrl+Shift+K
- Paste the code
Code:

javascript:var raw=$('param[name="FlashVars"]').val().split('&');var fv={}; for(var i in raw) {var d=raw[i].split('='); fv[d[0]] = unescape(d[1]);} var swfu=$('#movie').attr('data'); swfv = swfu.substring(swfu.indexOf('_')+1,swfu.indexOf('.')).replace('p','.'); prompt('RTMPDumpCL','rtmpdump -v -r "rtmp://'+fv['address']+'/live-edge" -p "http://'+fv['dom']+'/'+fv['pid']+'" -C S:'+fv['uid']+' -C S:'+fv['pid']+' -C S:'+swfv+' -C S:'+fv['pw']+' -C S:'+fv['rp']+' -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');
- Copy the command and paste it on a cmd window (you need to be on the folder where you unzipped the rtmpdump code)

And that is it =)
Thanks a lot for Malky and Basa666 for the great help!

Hello,

with Firefox I have this message :
TypeError: swfu is undefined

:confused:

thanks

malky 03-28-2014 10:53 PM

Re: chaturbate.com: SecureToken problems


 
Try typing :-

javascript:var raw=$('param[name="FlashVars"]').val().split('&');var fv={}; for(var i in raw) {var d=raw[i].split('='); fv[d[0]] = unescape(d[1]);} var swfu=movie.data; swfv = swfu.substring(swfu.indexOf('_')+1, swfu.lastIndexOf('.')).replace('p','.'); prompt('RTMPDumpCL','rtmpdump -v -r "rtmp://'+fv['address']+'/live-edge" -p "http://'+fv['dom']+'/'+fv['pid']+'" -C S:'+fv['uid']+' -C S:'+fv['pid']+' -C S:'+swfv+' -C S:'+fv['pw']+' -C S:'+fv['rp']+' -T "m9z#$dO0qe34Rxe@sMYxx%%" -y "playpath" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"');

Into the firefox javascript console. This works it's just a pity that if you use it from the bookmark bar cancelling the popup takes you away from the broadcaster.

Bidul76 03-31-2014 01:18 AM

Re: chaturbate.com: SecureToken problems


 
thanks a lot !!!

zugg 04-10-2014 03:43 PM

Re: chaturbate.com: SecureToken problems


 
So I'm using the latest checkout for rtmpdump from git, and compiled it using make across two different distros (Arch & Ubuntu 13.10), and both return me this lovely error message, which I can't seem to find much about:

Code:

Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed

edit 1:
Oh butts, it works fine when I tried it on a windows VM (with KSV's rtmpdump.exe), so it's something with my systems that is causing an issue, or something finnicky going on...

Arukarudo 04-10-2014 08:59 PM

Re: chaturbate.com: SecureToken problems


 
I didn't tried, but from I know you can't just compile the git version of rtmpdump.. you have to patch the git version, with the KSV's patch and then compile

Try that:
http://stream-recorder.com/forum/cus...le-t16103.html

zugg 04-11-2014 05:29 PM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by Arukarudo (Post 66964)
I didn't tried, but from I know you can't just compile the git version of rtmpdump.. you have to patch the git version, with the KSV's patch and then compile

Try that:
http://stream-recorder.com/forum/cus...le-t16103.html

Yeah that's what I was doing, it runs fine on a VM, just not my host OS's, NFI why :P.

yetanotherday 04-12-2014 06:36 AM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by zugg (Post 66959)
So I'm using the latest checkout for rtmpdump from git, and compiled it using make across two different distros (Arch & Ubuntu 13.10), and both return me this lovely error message, which I can't seem to find much about:

Code:

Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed

edit 1:
Oh butts, it works fine when I tried it on a windows VM (with KSV's rtmpdump.exe), so it's something with my systems that is causing an issue, or something finnicky going on...

i used to have this problem for more than 2 years
the exact error was showing to me

just start from scratch ... remove rtmpdump ,rtmpdump directory + reset any changes then follow this instructions

http://stream-recorder.com/forum/rtm...e-t4229p4.html

pronto89 04-13-2014 11:33 AM

Re: chaturbate.com: SecureToken problems


 
is it only me getting a
"Model status is error" since a couple of weeks?

malky 04-14-2014 12:08 AM

Re: chaturbate.com: SecureToken problems


 
I just tried recording. No problems here.

yetanotherday 04-14-2014 03:00 AM

Re: chaturbate.com: SecureToken problems


 
Quote:

Originally Posted by pronto89 (Post 67006)
is it only me getting a
"Model status is error" since a couple of weeks?

log out from your acc and try again :D

Leifman 04-23-2014 06:27 PM

Re: chaturbate.com: SecureToken problems


 
is there any way to somehow config rtdump to record a "passworded" room if you actually know the password to it?
like not hack the room or record it without knowledge of the password, but rather knowing the password of the room to record it (and basically record the room without being inside the chat room or showing up in the user list)
coz password related all i always get is : "ERROR: Closing connection: NetStream.Play.Failed"

ilovestreamz1990 06-26-2014 11:26 PM

Re: chaturbate.com: SecureToken problems


 
Code:

RTMPDump v2.4 GIT-2012-11-01 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
INFO: Model status is erro

:confused:
they just update somethin yestoday , can someone send me a code with usernamehash which work? (you dont need to send your real name hash ,just make sure the code work,but i think they also change somethin with the namehash) ,you can send pm if you like t, :D

malky 06-28-2014 12:22 PM

Re: chaturbate.com: SecureToken problems


 
No change as for as I can see. The swf is still 2.45 and no problem recording with the bookmark script you'll find in previous posts to this thread.

malky 08-02-2014 01:14 PM

CB using https?


 
I noticed the other day my ladroop chaturbate script had stopped working. Easy fixed just changed the @includes to https. Ominous signs of changes to come I wonder.

yetanotherday 08-03-2014 01:38 AM

Re: CB using https?


 
yes they start using https , since march 2013 they gonna paraonid !

i'm having problem watching streams via squid after this change :mad:

chaturbater 08-06-2014 10:39 AM

Re: CB using https?


 
I run a script to record some models I like (basicly it keeps checking if they are online), since yesterday cb updated something and now rtmpdump is weird, it seems like it detects some sort of stream from specific models (while they are offline) and it shows: "INFO: Connected..." but doesnt download anything, the problem is that doesnt timeout at all, I tried -timeout 5 or -timeout -m 5, can someone help me? :(


All times are GMT -6. The time now is 07:11 PM.