Muxtaster

By Bjorn Stromberg Last update Jan 28, 2009 — Installed 5,533 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 49 posts, 17 voices



ashgromnies User

They just changed the key, I'm not seeing it in the hex in the same spot it was before. Has anyone had luck getting flasm to decompile their swf?

 
Bjorn Stromberg Script's Author

Slept late today. At least he didn't change the salt. The links are back, we should figure out a way to override the dispose function ;)

 
Nemanja Stef... Scriptwright

I noticed that too. Bjorn, just change the outermost container to a div. Worked for me on my script.

 
Bjorn Stromberg Script's Author

Well, the disappearing links was short lived.

 
Nemanja Stef... Scriptwright

onehundredfortyoneonehundredfortyoneonehundredfortyoneonehundredfortyoneonehundredfortyoneonehundredfortyoneonehundredfortyoneonehundredfortyone

lolling. so hard.

 
iam1e3t User

looks like the script works, but something else is removing the added elements right after load.
i wrapped it in a function and added an event listeer on resize and had it call the function - that worked. i know there is a better way to do it, but im lazy, and i wanted to download some music

 
Bjorn Stromberg Script's Author

Fixed it again ;)

 
pwnies User

why cant i find the link to download songs? i just got it somehow and lost it

 
Nemanja Stef... Scriptwright

ashgromnies: I was thinking about the same thing. Having the script make an xmlhttprequest to some page and get the (current) salt when it is first called. they also wouldn't be able to block it since Greasemonkey is just calling it locally.
EDIT: I decided to do it. You can find the code at the beginning of my script: http://userscripts.org/scripts/show/24382

As for the SWF, i'm not sure you'd get far with just those exposed methods even if you could call them. Otherwise I think the SWF might have some domain restrictions preventing you running it on localhost and being called? Maybe try making your hostname 'muxtape.com' when running it locally?

 
pwnies User

ah, youre awesome. keep doing what you do

 
ashgromnies User

Bjorn, I am working on reverse engineering the cutter.swf file Muxtape uses for an interesting Muxtape mashup and was wondering if you could answer a few quick questions. Specifically, I'm having difficulty seeing how they're managing to call methods on the swf - I see they're using MooTools but not the built in Swiff object for dealing with Flash files. Instead, they seem to just get a reference to the object with $('cutter') and call methods on it, but that's failing when I try to do it locally.

If I can't figure out their swf, I will just use the code to generate the song URL you've come up with and pass that to my own Flash player swf, but I love a challenge. It'd be interesting if I could make a web service that would grab and return their current salt... :) I think they'd block that pretty quick, though! I just want to make their site better, I swear!

 
Bjorn Stromberg Script's Author

In that case you can just go File -> Save Page As... and paste in the song title that you want and you're all done.

 
pwnies User

i really have no clue how to do that because when i press download mp3 it opens up a quicktime screen with the song and a link like this:

http://muxtape.s3.amazonaws.com/songs/5a79bddf2...

 
Bjorn Stromberg Script's Author

Just click on the link that says "Download this MP3" it will download a file called something like b5c18b97782780523aa9046402b47d1d which is your MP3, then you need to rename it to the correct name. I'm working on a way to do that automatically, but for now you'll have to manually rename it after you download.

 
pwnies User

ok im inept and can't figure out how to download the song! i'm so used to just right click, download + save as for the muxtape downloader. any help is great

 
nathaniel_hi... Scriptwright

since i know jstn will read this:

muxtape rocks. you did a great job at designing something simple and universally appealing (which anyone who designs usually strives for) so a million kudos. on top of that, the site has made me buy a lot of music just by having an avenue to discover it.

i think we all share the same sentiment, we're just hoping to have more access to how we listen to muxtape, you know? while a lot of people most likely use this to steal, there a good number of us who like the ability to scrub through a song (3 minute techno intro? no thanks) or to route everything to an external player, or find new tapes based on tags/DB style checking ala muxfind.com....

i hope you don't think we're all just like the grinches of js or something, sitting on mt. demise, waiting for muxtape to collapse. not in the least, we're all fans.

edit: and i did notice you incorporated last.fm scrobbling natively, so maybe you're seeing stuff like the muxscrob script and taking suggestions to heart?

 
nathaniel_hi... Scriptwright

have i told you you're my hero lately?
i have a feeling this will be going back and forth, until they implement a different request scheme...if they do?

 
Bjorn Stromberg Script's Author

Woke up late... It's fixed now :)

 
nathaniel_hi... Scriptwright

well, that was fast. they broke the script again.

 
jstn User

I like to think it's based on my work a little, as well. Would you mind taking it down, please?

 
Bjorn Stromberg Script's Author

Feel free to use whatever is in here, it's based on your work among others.

The salt for the key was in the swf. Used Sothink SWF decompiler 4 and it read the actionscript no problem.

It does look like muxtapesucks.com is their dev server.

Unfortunately the way this works is that the download is only valid for about 1 second so you need to request from the server whenever you want to play the mp3. A traditional M3U isn't going to work in this case, but a standalone player could easily handle that portion.

 
Nemanja Stef... Scriptwright

Holy shit man! This is awesome!

How did you figure out the salt for the skeleton key? Got a nice SWF decompiler?

Mind if I update my script based on your stuff?

 
nathaniel_hi... Scriptwright

very nice...is it possible to generate a working m3u in your workaround?

 
ashgromnies User

Awesome, I was just working on something similar myself(a separate player for Muxtape songs).

Do you know what http://muxtapesucks.com/ is used for? I think it might be their development server.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel