Skip to content

Instantly share code, notes, and snippets.

@reikoNeko
Last active August 21, 2019 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reikoNeko/236023a7c2d7f160ef6c0170306319d0 to your computer and use it in GitHub Desktop.
Save reikoNeko/236023a7c2d7f160ef6c0170306319d0 to your computer and use it in GitHub Desktop.
base64 decode ALL the things
Just in case you thought that CTF skills aren't useful in the real world,
the WPRB stream changed recently, breaking my saved bookmark in Rhythmbox.
On the station's web page, there was a popup player, but not a direct URL
for desktop players anymore. What's a Linux geek to do?
view-source:http://wprb.com/popup-player/
Where we find the configuration string
P3jPLAYLISTS.inline_0 = [
{ name: "listen", formats: ["mp3"], mp3: "aHR0cDovL3dwcmIuc3RyZWFtZ3V5czEuY29tL2xpc3Rlbi5tcDM=", counterpart:"", artist: "", image: "", imgurl: "" }
];
That mp3 value looks like base64, eh!
$ echo "aHR0cDovL3dwcmIuc3RyZWFtZ3V5czEuY29tL2xpc3Rlbi5tcDM=" | base64 -d
http://wprb.streamguys1.com/listen.mp3
So now I've updated my stream properties and can blast good college radio on my desktop again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment