chaturbate.com: SecureToken problemsI wrote a program for Mac that allowed myself to download videos from a site using rtmpdump by entering the username of the person broadcasting. It used the -T flag of rtmpdump because the site used SecureToken authentication in its .swf file. They just updated the .swf file today and it doesn't work anymore. The code went from this:
Code:
if (_local2.secureToken != null){ Code:
if (_local2.secureToken != null){ |
Re: SecureToken problemsstrings are encrypted now. you have to figure out the obfuscation scheme. or wait till i am back (after 3-4 days) :rolleyes:
|
Re: SecureToken problemsQuote:
|
Re: SecureToken problemsQuote:
|
Re: SecureToken problemsIs there any other way to capture the SecureToken or is deobfuscation the only way?
|
Re: SecureToken problemsAfter doing some research it looks like the .swf file was obfuscated using SecureSWF. Hope that helps.
|
Re: SecureToken problemsKSV, Would you mind please teaching us how to figure out the obfuscation scheme too? I'm so interested in knowing it!! A short instruction is enough, please!!:)
The only things that I could find on the net was, It's related to Java!! but I don't have any idea if it be right!! :D |
Re: SecureToken problemsSecureToken key is still same as shown in post #1. now their flash player sends an extra command CheckPublicAccess before sending play command. you need to modify rtmp.c to emulate this. i am not interested to do so for adult websites. you are on your own. it's easy anyway. checkout the patch file in my package for similar code.
|
Re: SecureToken problemsQuote:
|
Re: SecureToken problemsIf you cant program, that is your problem. This is not a forum to teach that.
|
Re: SecureToken problemsQuote:
|
Re: SecureToken problemsthe following code should be sufficient to accomplish this.
Code:
@@ -2426,6 +2501,45 @@ Code:
http://stream-recorder.com/forum/showpost.php?p=38157&postcount=63 Code:
rtmpdump -r "rtmpe://edge1-a.stream.chaturbate.com/live-edge" -a "live-edge" -f "WIN 11,1,102,55" -W "http://ccstatic.chaturbate.com/static/flash/CBV_2p51.swf" -p "http://chaturbate.com/reddiva/" -C S:AnonymousUser -C S:reddiva -T "m9z#$dO0qe34Rxe@sMYxx%" --live -y "mp4:public-reddiva" -o "mp4_public-reddiva.flv" Code:
RTMPDump v2.4 GIT-2011-12-22 (Compiled by KSV) |
Re: SecureToken problemsQuote:
|
Re: SecureToken problemsHi, KSV. I was wondering if you'd had a chance to look at the most recent updates implemented by chaturbate. Any luck getting rtmpdump to record since those were implemented?
I bow to your superior coding... Thanks! |
Re: SecureToken problemsmodified rtmpdump works on those streams atm. get the modified version. release thread is down currently.
|
Re: SecureToken problemsI can confirm KSV's modified rtmpdump works fine still. A shame you can't download private shows anymore =(
|
Re: SecureToken problemsHi!
Someone willing to share KSV's build of rtmpdump? Thanks a lot! |
Re: SecureToken problemshere is the latest build
Code:
http://www.mediafire.com/file/bwk1zv6j5vf25bd/rtmpdump-2.4.zip |
Re: SecureToken problemsHi Can anyone help me to find the code that i'll put after the " -T '' here is the stream : http://www.en.aljazeerasport.tv/Live/channel/news
|
Re: SecureToken problemsQuote:
Also, you can use another links: Code:
http://www.en.aljazeerasport.tv/streaming/multiformat/streaminfo/index.html?eventId=704803&partnerId=1346&presentation=/InformAdaptiveXML.jsp×tamp=377 |
Re: SecureToken problems |
Re: SecureToken problemsQuote:
I've used the informations in the link you gave me but I still unable to Make it work .. it says : ERROR : rtmp server sent error ERROR : rtmp server requested close Here is the code i made : Code:
rtmpdump -r "rtmp://ajslivefs.fplive.net/ajslive-live" -a "ajslive-live" -f "WIN 11,1,102,55" -W "http://www.en.aljazeerasport.tv/ptvFlash/unifiedplayer/aljazeera/multiformat/UnifiedPlayer.swf" -p "http://www.en.aljazeerasport.tv/Live/channel/news" --live -y "ajs_ar_ch332_280?reportingKey=eventId-70494_partnerId-1365" |
Re: SecureToken problemsI know, you can't use rtmpdump here. The correct script is sth like this (don't forget to add "streamAuth"):
Code:
rtmpdump -r "rtmp://ajslivefs.fplive.net/ajslive-live/" -a "ajslive-live/?nvb=20120214000537&nva=20120214001107&token=01e69ebd86bf777cc3f48" -f "WIN 11,2,202,197" -W "http://www.en.aljazeerasport.tv/ptvFlash/unifiedplayer/authorized/UnifiedPlayer-Tokenized.swf" -p "http://www.en.aljazeerasport.tv/Live/channel/news" --live -y "ajs_ar_ch332_2400?reportingKey=eventId-704803_partnerId-1346" -o "ajs_ar_ch332_2400.flv" Also there are some other links for iphone and android!! Maybe you can dump them with ffmpeg!! Code:
- <availableMediaFormats> |
Re: SecureToken problems@Bahman
Yes Thank you i Tried to use those iphone Links .. and i made it work for a few seconds on Vlc and wmp too .. but i'm not able to anymore .. The Only thing i'm trying to do is to make that stream work live on my computer using any media player i used to do that using rtmpdump + VLC and it was awesome but not anymore .. So i wonder if You can help me through that and figure out a way to make the Live Stream work on vlc or wmp or other media players .. and I'll appreciate your help |
Re: SecureToken problemsWill this (modified rtmp.c) work also for MFC?
It seems like they use a token or something to valid the login via the chat system. Thanks in advance! |
Re: [Release] Unofficial rtmpdump binariesChaturbate today upgraded their software and is forcing clients to use CBV_2p597.swf or face an "upgrade needed" notice. The changes enforce a 1 stream limit for anonymous users. The rtmp command line has to reflect these changes in the url passed to -W, as well as one of the string parameters, which changes to -C S:2.597 [I can confirm that by changing these two values the functionality of the latest rtmpdump patch with this site is preserved]
My question is: What is the mechanism to derive the SecureToken for an authenticated user (myself), instead of the now limited AnonymousUser? Pointers are appreciated. |
Re: [Release] Unofficial rtmpdump binariesQuote:
-W 'http://ccstatic.chaturbate.com/static/flash/CBV_2p597.swf' -C S:<name of a registered user> -C S:2.597 That should allow more than one stream at one time. Works for me at least right now. |
Re: [Release] Unofficial rtmpdump binariesQuote:
|
Re: [Release] Unofficial rtmpdump binariesQuote:
how would i go about sortin it. |
Re: SecureToken problemsyou DO cap the audio, but
neither VLC nor mpc support SPEEX audio together with video in an flv. Sothink FLV Player DOES play it, but you cannot skip the file (at least I cant skip, not in vlc nor in sothink flv player), you CAN skip the file with sothink flv player if u insert metatags into the flv with a program like flvmdi.exe/flvmdigui.exe does anyone know the command for rtmpdump to get mfc streams?? |
Re: SecureToken problemsusing ffmpeg with libspeex installed you can convert it into aac or mp3, however, the video streams contain invalid timecodes so when you try to remux the h264 video into an mp4 container with your converted audio, the file will usually work but its still a broken file. i wish the flv that rtmpdump produced was more stable lol
|
Re: SecureToken problems@greenybeasty
i tried that, but ffmpeg always complains about non monotone timestamps when i use the -vcodec copy, i guess to prevent invalid files. what do u use? |
Re: SecureToken problemsi use a custom built binary of ffmpeg that silences that error. the file is still technically invalid but it still works
|
Re: chaturbate.com: SecureToken problemsHi folks. As of today, chaturbate streams return an error when using KSV's rtmpdump patch, which so far had worked quite well.
I am getting: Code:
Connecting ... Code:
-W ...snip.../CBV_2p607.swf Has anyone sorted this out? Is this a SecureToken or connection related problem? Hints? PS: the relevant verbose output Code:
DEBUG: HandShake: Genuine Adobe Flash Media Server |
Re: chaturbate.com: SecureToken problemsnothing fancy going on :D
Code:
rtmpdump -r "rtmpe://edge1-a.stream.highwebmedia.com/live-edge" -a "live-edge" -f "WIN 11,1,102,63" -W "http://chaturbate.com/static/flash/CBV_2p607.swf" -p "http://chaturbate.com/lilix/" -C S:AnonymousUser -C S:lilix -C S:2.607 -C S:anonymous -T "m9z#$dO0qe34Rxe@sMYxx%" --live -y "mp4:lilix-sd-2c42ecd59c03850eaee04fd89924ee5c3a24b1a41b56711cf3c0176135569ad8" -o "Test.flv" |
Re: chaturbate.com: SecureToken problemsQuote:
|
Re: chaturbate.com: SecureToken problemsit seems that first parameter is username, second is model name, third is player version and fourth is password.
|
Re: chaturbate.com: SecureToken problemsQuote:
|
Re: chaturbate.com: SecureToken problemsyou shouldn't care about -y parameter because it's dynamically retrieved from server.
|
Re: chaturbate.com: SecureToken problemsQuote:
|
All times are GMT -6. The time now is 09:48 PM. |