Copy this code and paste it in the CLI. And no, it's not a forkbomb.


<span style="color:#323232;">https://pastebin.com/p6PmeQDm
</span><span style="color:#323232;">
</span>

Just sharing how “magical” the CLI can be. You are welcome.

-EDIT Did a little “oopsie” there. My bad. It’s fixed now.

-EDIT2 Nvm that, lemmy disliked my code for some reason. It’s in the pastebin link. And the code in there is working as intended.

cypherpunks, (edited )
@cypherpunks@lemmy.ml avatar

💯

this is way more beautiful than i expected. amazing work!

to everyone reporting this post as “malware”: 🤣 it really isn’t.

(i read it carefully before running it… if you don’t comprehend something like this, refraining from running it is a good choice.)

edit: lmao at the downvotes! For fun I ported it to Python… this version produces identical output to the original, but stops after a couple thousand seconds instead of running forever. and it is sadly 36 bytes longer.

(maybe the python version helps convince a few people it isn’t malware?)

nachtigall, (edited )

(maybe the python version helps convince a few people it isn’t malware?)

A screencap on peertube would convince me it does not blow my ears off.

bigkahuna1986,

I wouldn’t even run this on someone else’s machine.

johsny,
@johsny@lemmy.world avatar

I ran it on my boss’ laptop.

wetferret, (edited )
@wetferret@lemmy.world avatar

If you want to run some less low-level code to explore the kinds of sounds that code like this can create, I wrote a python applet that lets you explore random and custom functions interactively. It comes with several presets for interesting functions I’ve discovered on various websites.

YouTube video

source code

akash_rawal,

imgur.com/8p7oPbp

spoilerIt’s fine guys, I ran it in a VM with no networking.

ElectroLisa,
@ElectroLisa@lemmy.blahaj.zone avatar

Ye run this script which uses GCC and launches compiled result, what could possibly go wrong

the_q,

Downvote, block user and move on.

Blaiz0r,

Show don’t tell

ssboomman,

Why tf would anyone run a random shell script on their machine? You don’t even need an RCE anymore you just need a dumb ass on social media.

KISSmyOS, (edited )

I’m pretty sure it just plays sounds/music.
But still, I’m not running obfuscated code from the internet on my machine.

EDIT:

Nvm that, lemmy disliked my code for some reason.

“Here, run this unreadable code” just goes against all rules of computer safety.

EDIT2:

Did a little “oopsie” there. My bad. It’s fixed now.

And that’s one of the reasons.

Aplay can wreck your speakers and/or soundcard depending on what’s fed to it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #