Re: chaturbate.com: SecureToken problemsCode:
rtmpdump Code:
javascript:var prm=document.getElementById('movie').childNodes[6].value;prm=prm.replace(/=/g,"&").split("&");alert('rtmpdump -v -r "rtmpe://'+prm[3]+'/live-edge" -a "live-edge" -f "WIN 11,5,502,146" -W "http://'+prm[23]+'/static/flash/CBV_2p632.swf" -p "http://'+prm[23]+'/'+prm[1]+'" -C S:'+prm[13]+' -C S:'+prm[1]+' -C S:2.632 -C S:'+prm[25]+' -C S:'+prm[27]+' -y "playpath" -T "m9z#$dO0qe34Rxe@sMYxx%" -o "'+prm[1]+'.flv"'); Code:
javascript:var prm=document.getElementById('movie').childNodes[6].value;prm=prm.replace(/=/g,"&").split("&");swfUrl=document.getElementsByTagName('object')[0].getAttribute('data');swfVers=swfUrl.replace("_",".").split(".");swfVers=swfVers[1];swfVers=swfVers.split("p");prompt('RTMPDumpCL','rtmpdump -v -r "rtmpe://'+prm[3]+'/live-edge" -a "live-edge" -f "WIN 11,5,502,146" -W "http://'+prm[23]+swfUrl+'" -p "http://'+prm[23]+'/'+prm[1]+'" -C S:'+prm[13]+' -C S:'+prm[1]+' -C S:'+swfVers[0]+'.'+swfVers[1]+' -C S:'+prm[25]+' -C S:'+prm[27]+' -y "playpath" -T "m9z#$dO0qe34Rxe@sMYxx%" -o "'+prm[1]+'.flv"');reload(); |
Re: chaturbate.com: SecureToken problemsQuote:
|
Re: chaturbate.com: SecureToken problemsQuote:
|
Re: chaturbate.com: SecureToken problemsI just wanted to add the latest addition to my Bookmarklet. The necessary replacements for the password hash. Although this is probably not working for private rooms anymore.
Code:
javascript:var prm=document.getElementById('movie').childNodes[6].value;prm=prm.replace(/=/g,"&").split("&");swfUrl=document.getElementsByTagName('object')[0].getAttribute('data');swfVers=swfUrl.replace("_",".").split(".");swfVers=swfVers[1];swfVers=swfVers.split("p");prompt('RTMPDumpCL','rtmpdump -v -r "rtmpe://'+prm[3]+'/live-edge" -a "live-edge" -f "WIN 11,5,502,146" -W "http://'+prm[23]+swfUrl+'" -p "http://'+prm[23]+'/'+prm[1]+'" -C S:'+prm[13]+' -C S:'+prm[1]+' -C S:'+swfVers[0]+'.'+swfVers[1]+' -C S:'+prm[25].replace(/\$/g,"^$")+' -C S:'+prm[27]+' -y "playpath" -T "m9z#$dO0qe34Rxe@sMYxx%" -o "'+prm[1]+'.flv"');reload(); |
Re: chaturbate.com: SecureToken problemsQuote:
I've got windows, and this is the error I get: RTMPDump v2.4 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... WARNING: Trying different position for server digest! INFO: Connected... ERROR: Closing connection: NetStream.Play.Failed I tried with linux too. Am I missing something here? Do I need to do something other than login to chaturbate, and run the bookmarklet on the cam screen? I'm not trying to do a password protected stream or anything.. just a public stream. |
Re: chaturbate.com: SecureToken problemsQuote:
Execute the Bookmarklet, then close your browser. My bookmarklet extracts the path to the excact same server that you were viewing (e.g. edge1-a, edge1-b, edge2-a, edge2-b etc.). The site won't allow you to stream more than one stream from the same server. That's why you have to close your video in the browser. The other batch commands didn't care for that and used a static (like 9-b), but I wanted to make sure of it to catch the stream. Then paste the command into your command prompt or a ".bat" file (in the same directory where RTMPDump is located) and execute it. |
Re: chaturbate.com: SecureToken problemshow are you fixing the flv files?
|
Re: chaturbate.com: SecureToken problemsQuote:
|
Re: chaturbate.com: SecureToken problemsQuote:
|
Re: chaturbate.com: SecureToken problemsHmm, odd. I'm using AmazingMatze's second Javascript code from the post at the top of this page, rtmpdump 2.4, closing my browser after getting the line, and putting it in a .bat with rtmpdump. However, I still get the NetStream.Play.Failed error. I'm probably just doing something stupidly wrong, but then I don't know how to identify it.
|
Re: chaturbate.com: SecureToken problemsQuote:
|
Re: chaturbate.com: SecureToken problemsI'm glad to see I'm not the only one having this problem.
|
Re: chaturbate.com: SecureToken problemsQuote:
Quote:
|
Re: chaturbate.com: SecureToken problemsHmm, trying that version of RTMPDump... Well, I'll do a full test later, but the error is more definite now. I could guess why it's not working, but I can't mess with it right now. Still, thanks for linking us that version. :)
|
Re: chaturbate.com: SecureToken problemsDoes anyone know who to get this working on mac? I don't want to use windows/vmware anymore and I would love to write us an mac application that automates the whole capturing process.
But unfortunately I only get the Quote:
I'm using: Quote:
patch < patch.diff. Then I compiled it with: make SYS=darwin sudo make SYS=darwin install Are the changes that ksv made not working with a mac compiled version? --------- The svnpenn version is also not working. I get the RTMP_ReadPacket, failed to read RTMP packet header error message. |
Re: chaturbate.com: SecureToken problemsQuote:
|
Re: chaturbate.com: SecureToken problemsQuote:
|
Re: chaturbate.com: SecureToken problemsYour sample line tells me that you are trying to catch private shows. According to some previous posters private shows don't work anymore.
A working (Windows) commandline Batch for public shows should look like this: Code:
rtmpdump -v -r "rtmpe://edge4-a.stream.highwebmedia.com/live-edge" -a "live-edge" -f "WIN 11,5,502,146" -W "http://chaturbate.com/static/flash/CBV_2p632.swf" -p "http://chaturbate.com/modelname" -C S:AnonymousUser -C S:modelname -C S:2.632 -C S:anonymous -C S:00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff -y "playpath" -T "m9z#$dO0qe34Rxe@sMYxx%" -o "modelname.flv" |
Re: chaturbate.com: SecureToken problemsThis is really an amazing thread, been figuring out how to capture chaturbate cams and its all laid out here. Thanks to KSV and the members who posted above for contributing and keeping this topic alive :) Best thread eva.
Btw does anyone know if KSV's patch would work on wine emulation? |
Re: chaturbate.com: SecureToken problemsSo does anyone know how to record passworded shows? I'll pay a little money potentially if someone can help me get it working.
|
Re: chaturbate.com: SecureToken problemsIt can be assumed if a stream is passworded, the method of retrieving the stream likely requires some special encoding based on the password itself. Of course, if you have the password, it'd just be a matter of figuring out how the password would have to be applied/used. Then again, if they actually do encrypt based on the password, you'd need to know the algorithm...
Also, is there anything special I should be considering while I let RTMPDump download? |
Re: chaturbate.com: SecureToken problemsNope. The password is needed to get access to the stream. The stream itself is likely not to be encoded (except rtmpe, which hasn't to do anything with the password).
I'm not sure about chaturbate, but I didn't know about passworded shows there either. Until some days ago it was possible to record private and group shows using a little security gap. It seems, that it was closed recently. So if you asked me a week ago to record such shows, I would have said: Let's do it. (Does anyone know about the direct access to live-origin? Would be nice to find out, that it's still possible.) |
Re: chaturbate.com: SecureToken problemsQuote:
|
Re: chaturbate.com: SecureToken problemsQuote:
|
Re: chaturbate.com: SecureToken problemsDo you really expected to go this on forever (capping the private/password/group shows from origin server bypassing all security restrictions)? this was a security hole on their end and their fault. when people started posting batch files all around the forums to exploit this they noticed it and recently closed it. now communication between edge and origin servers also requires some security parameters to be passed along with connect requests just as in case of edge serves. we have no access to this communication. so there isn't much anyone can do except guessing the correct sequence and value of those parameters.
obvious excerpts from log: Code:
DEBUG: RTMP_ClientPacket, received: invoke 34 bytes Code:
DEBUG: (object begin) |
Re: chaturbate.com: SecureToken problemsHey KSV, or anyone else, before I tackle it, can the last script be modified to do only pw shows? Just wondering if its woth my time.
TIA. |
Re: chaturbate.com: SecureToken problemsI was just trying the RTMP bookmark on Chaturbate, but when I test it, I get Model Status Error. I ran it on a random different person, same error. I'm not sure why it stopped working today - might just be a fluke since their site has been wonky lately (while trying to find someone to test on, got a 500 internal error, even), but since the cams are technically running, I was curious of your insight (those of you with better knowledge than me).
I get the feeling they changed something about the site, though. You can still access the cameras currently, but the old javascript to compile this no longer works. It might be as simple as adjusting it, or as difficult as a required stream of data which isn't given or easily guessable. I don't know, since I'm not savvy enough. |
Re: chaturbate.com: SecureToken problemsI don't know which javascript script you're using, but for me everything works well as it did everyday.
If it still doesn't work I could take a look at it. PM me. |
Re: chaturbate.com: SecureToken problemsI'm using AmazingMatze's javascript:
Quote:
|
Re: chaturbate.com: SecureToken problemsI don't get the model status error.
Are you using the most recent version of rtmpdump? |
Re: chaturbate.com: SecureToken problemsFrom here? http://rtmpdump.mplayerhq.hu/
I remember that back when I first tried, I used that version. Just as back then, I'm getting NetStream.Play.Failed errors when I try. KSV's version, which I think I got from here seemd to work, although not I get that Model Status error. Is there yet another version I don't know about? Edit: I put RTMPDumpHelper (http://stream-recorder.com/forum/rtm...er-t12719.html) in the folder, ran it, opened Chaturbate. A bunch of stuff popped up, and then I noticed it was making a file. When I closed the tab, it stopped recording. Clearly this isn't how our method works, but it's a compromise for now. For now, I can record it this way. But what is causing the problem with this method now? Any other builds I should know about? I forgot what causes a Model status error. I'm using the build from the link at the top of my post with RTMPDumpHelper. |
Re: chaturbate.com: SecureToken problemsNow I see your problem. Of course you have to use KSV's version. He has done some necessary modifications for this site (and many others).
I get NetStream.Play.Failed for now, too. The only way i found to get around this is using a login. You'll find they details here in the thread: here RTMPDumpHelper does something a bit more tricky. It hooks between your flashplayer and the server to record everything it receives (simply said). So you won't be able to close the tabs without losing connection. |
Re: chaturbate.com: SecureToken problemsWell, I am logged in. As far as the javascript retrieves, it seems to call all data in. In that case, it'd be calling the wrong data. But what could interrupt the code?
Edit: I wish the Javascript or RTMPDumpHelper had some kind of check so it wouldn't overwrite old files. It'd just have to check file existing, and incrementing a number. I suppose adding that for at least the Javascript would get confusing, though. |
Re: chaturbate.com: SecureToken problemsThere seems to be a little decoding problem in the javascript line. I rewrote it to work properly:
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 "rtmpe://'+fv['address']+'/live-edge" -W "http://'+fv['dom']+swfu+'" -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']+' -y "playpath" -T "m9z#$dO0qe34Rxe@sMYxx%" -o "'+fv['pid']+'_'+Number(new Date()/1000).toFixed(0)+'.flv"'); To get rtmpdumphelper not to overwrite your files, there are some patches for rtmpsuck you'll find somewhere here in the forum (don't remember where). |
Re: chaturbate.com: SecureToken problemsYour Javascript has RTMPDump begin downloading, although it stops after a few seconds. Not sure what's different that changed it from Model status is error to recording a few seconds, or why it only records that much. I'm going to be busy for the next few days, so I guess it doesn't matter.
![]() |
Re: chaturbate.com: SecureToken problemsQuote:
|
Re: chaturbate.com: SecureToken problemsWell, I just tried the Javascript now, and it seems to work. I don't know why there was a prolonged period where it simply refused to, but I will say that right before trying the Javascript, I ran RTMPDumpHelper for a minute or so...
|
Re: chaturbate.com: SecureToken problemsI made batch code to work as a master run file for the code the javascript generates:
Code:
@echo OFF |
Re: chaturbate.com: SecureToken problemsCB changes something in version 634, it doesn't work at all. :(
Quote:
|
Re: chaturbate.com: SecureToken problemsQuote:
Error even produce a very short debug log... tested with first model on page that time. Code:
RTMPDump v2.4 GIT-2012-12-30 (Compiled by KSV) |
All times are GMT -6. The time now is 10:45 PM. |