custom radio

Messages
90
Reaction score
188
Points
350
Location
stupid town called they want they're mayor back!
no this is not a suggestion

If you just put in your hosts file (linux: /etc/hosts windows:C:\Windows\System32\drivers\etc\hosts)
Code:
193.123.190.219 media-ice.musicradio.com

Then visit https://musicbullshit.catboy.pictures/ and select/enter a stream and it will play in-game on the Heart Xmas channel

Some of the radio streams on PERP use HTTP and not HTTPS so it is trivial to redirect them. If you want to find the stream url of a radio station you can do it with Wireshark or a similar tool.
For example, the Heart Xmas radio uses http://media-ice.musicradio.com/HeartXmasMP3.m3u

If you wanted to hijack this station (client-side) you can set an entry in your hosts file
On linux that is /etc/hosts and on windows that is C:\Windows\System32\drivers\etc\hosts

You would add an entry like:
Code:
127.0.0.1 media-ice.musicradio.com

You'd then have to run a local HTTP server to serve a replacement m3u file

You can serve a local directory quite easily with python installed
Prepare a folder with a file called HeartXmasMP3.m3u and place inside the file a link to a radio stream of your choice
example:
Code:
https://radio.lainchan.org/listen/lainchan_radio_main/radio.mp3
You can then run python's http server in this directory (you may have to run it as admin/sudo to allow it to bind to port 80)
Code:
python -m http.server 80

As in the above section, set up a local directory and a file called HeartXmasMP3.m3u
This time, inside the file, we will provide our own mp3 url. For sake of example I'll go with song.mp3
Code:
http://media-ice.musicradio.com/song.mp3
So we can simply rename our mp3 file to song.mp3 and move it into the folder, and serve it as above with python: (you may have to run it as admin/sudo to allow it to bind to port 80)
Code:
python -m http.server 80

This is only client-sided so everyone else will hear you listening to christmas music. But you can use another radio station if you can be bothered to find the URL with wireshark
 
Last edited:
Back
Top