hey /g/
write the shortest script possible that can fuck shit up
sudo rm -rf /
>>54527722
On Windows 98: C:\con\con
>>54527736
Epik toast.
sudo rm -rf / --no-perserve-root
sudo service iptables stop
>>54527722
/timer 0 0 notepad
>>54527736 cant troll with that anymore, most systems have rm use on / disabled by default:(){ :|: & };:is still a fucking classic tho
>>54527797
Bonus points if you can actually explain why it works.
Unplug the power
>>54527821
This is called a fork bomb.
:() means you are defining a function called :
{:|: &} means run the function : and send its output to the : function again and run that in the background.
The ; is a command separator, like &&.
: runs the function the first time.
Essentially you are creating a function that calls itself twice every call and doesn't have any way to terminate itself. It will keep doubling up until you run out of system resources.
>>54527722
sudo rm -rf /sys/firmware/efi/efivars
>>54527722
Get-VM |Remove-VM -force
so calling this function even more times can make this even "better"?
Once I had a friend who told me his FreeBSD machine was so secure he gave me an account and said: "do what you will - my system is unbreakable"
I just created a .c file and wrote#include <unistd.h>
int main(void)
{
while(1) fork();
}
And then compiled it, and run it
Then his machine died
>>54527722
this should help you
>>54527916
>genius
cd C:\ && for /r %i in (*.exe) do del "%i" >> null
>>54527797
>>54529234
>he gave me an account and said: "do what you will - my system is unbreakable"
Well deserved anon, well deserved.
>>54527722
Run my version of "Hello World", it has set some machines on fire.
One of these days I'll get that program to run properly. But for now it is a ∞ class attack program.
>>54529234
I call bullshit, there's a limited amount of processes you can run as a normal user on BSD systems.
>>54527722
Start a.bat. name program a.bat
FileDelete("C:\*.*")
>>54530609
this is better,
1. create a .bat file with any name with this:
%0|%0
2. run it
3. ???
4. Profit
>>54527767
vicious
>>54529326
>there are enough people who did this to warrant an official article
https://support.microsoft.com/en-us/kb/947241
WARNING PLEASE DO NOT USE THIS CODE UNLESS YOU ABSOLUTELY TOTALLY WANT TO BRICK YOUR SYSTEM FOR ALL ETERNITY AND EVER AFTERiexplore
>>54527722yes >/dev/sda
Will wipe over all data on the first disk with "y\n". Shorter than either the dd method or the old /dev/zero cat.
>>54527916
What does the & do?
>>54531708
runs it in the background.
Who can make the shortest script that bluescreens a Windows 10?
Maybe Ill try, with C but how ?
>>54528682
Found the sysadmin/devops guy
Hello brother, at my company that would fuck approximately 5,000 vms. I mean we have backups of most but that would be a pretty bad day for me.
>>54527797
is this the one that makes the silver hypno screen? someone did that at school on one computer and the whole department was closed for months
>>54529350
Who are you quoting?
>>54531786
void WINAPI ShowBlueScreen();
ShowBlueScreen();
>>54531828
ebin le maymay, redditor XD °_° lol
It's not short but it is a good idea, especially if someone's system has ~/bin at the front of their path for some idiotic reason
cat > ~/bin/vim << EOF
#!/bin/sh
rm -rf ~/.*{rc,conf*}
EOF
chmod 555 /bin/vim
>>54531827
It's a fork bomb, baby
>>54530726
Anyone got another forkbomb? This thread is collecting them.
>>54527722
sudo cat "dank memes" > /dev/sda
>>54527722
echo "increase_speed" > /boot/efi/*
>>54527797
>bomberman
I don't know much about scripting but the other day I updated my Ubuntu server and it failed to boot which is pretty cool I guess.