In university we were taught C programming. We started with simple things like loops and stuff. After a while the topic processes, threads & stuff came up and of course we were instructed to use that.
In the computer lab there where only thin clients so everything actually ran on the server.
A good friend of mine - not know what was about to happen - entered:
while (true) { fork(); }
Astoundingly it took a whole minute until the server froze. 🤣
That was the same server most of the school stuff ran on. So nearly everything went down. 😂
He got scolded by the sysadmin the next day but nothing serious happened.I’d scold the sysadmin instead for not cofiguring critical systems in a secure way. Ulimit exists for a reason.
Huh. I never made that connection before. I always thought ulimit was to prevent excessive disk writes or something
ulimit -H -u 10
will (hard)limit the current process (the shell) to 10 subprocesses. You can also use it to limit the number of open files etc.To globally configure that for a user/group you’d use
/etc/security/limits.conf
instead.If you want to prevent users from filling up the disk, take a look into quota.
What does that command do?
:(){ :|:& };:
or (more clearly written):
function forkbomb() { forkbomb | forkbomb & ## background the process whilst recursing ## the pipe ensures that both instances are called at the same time, instead of waiting on the other ## without the pipe, you just get a linear increase in processes. Slow bomb. We want fast. }; forkbomb ## start it all off
I don’t know why I’m taking mental notes like “don’t forget to change the system clock before doing crimes!” like I’ll ever need it.
He needs to set it to like 15 seconds so people think they are crazy for awhile. Needs to go back to normal faster. And then like 500 normal screens in the folder.
2001 I figured out a way to get a NES emulator and games on all the computers in the lab. School was pissed but never figured me out. I played so much Kirby.
Someone figured out that you didn’t have to install starcraft to play it, just copy/paste the files. Those were some good times.
We were able to put the emulators on our network drives, so the admins couldn’t revert your change when the ghosted the machine.
My favorite accomplishment from that era was discovering that I could make the single core machines beep themselves to death and sneaking that into the shortcut icon for IE in the ghost image. Man was the IT admin mad about that 🤣
I think it was the network drive for us as well. Shit was so long ago. I just remember everyone had it and was playing games and it was my fault.
NESticle?
Probably, I remember it being a different one but that could have been a SNES emulator. I can’t find one that rings bell that was around then. My memory is decent but it was 24 years ago.
Ah man I have so many stories about my high school schenanigains.
Every student had a folder named as their student ID on the smb network, all in one big folder. I created a folder there with a fake student ID just 1 above mine, so all I had to do was change my path from /students/1234 to 1235 and bam - I’m in my alt account. I had cracked copies of halo, starbound, gmod, powder toy, Terraria, Minecraft… all sorts of goodies!
Eventually I found that since this phony user folder 1235 wasn’t tied to a domain user, its read/write permissions weren’t locked down - so anybody on the network could access or add to the folder, so I shared it around with friends and it grew quickly! Didn’t realize that meant deleting stuff, too; some kids just had chaos in mind, and would randomly delete shit because hAHa I DelEted the FolDer!!1! Ah, high school.
So eventually I got a system down where I’d keep backups elsewhere, and I’d refresh the war-torn main folder every so often, or switch to a new bogus ID to keep it among my friends - but better yet, if I was lucky enough to catch it disappearing in realtime, I’d often throw it right back up with something flashy and new in there, like a new CoD game or something, with surface level ‘shortcut’ links to the game executable right at the top of the directory, complete with a convincing custom icon. Instead of running a game or something, though, it instead ran scripts that either identified the leak (CD tray eject in a library computer bay? Immediate audio queue locating the assholes), or in later stages when patching the leak still failed, I’d bait them into a script that’d nuke their PC somehow 😂
my personal favorite, I built what I called the ‘tree bomb’ - a recursive .batch file that launches itself in another window, then runs "tree C:". Within around a second you’d go from a functional PC to a screen filled with terminals spitting out a representation of your hard drive’s contents 🤣 in retrospect, I made a malware! 😅
That’s not even the best one, though. For a brief window I tried my best to create a little portable Ubuntu environment on a USB drive so I could just bring all my software with me, games and all, and just boot into it when I got to school!
Well, eventually I had the thought that I could potentially install it on a second hidden partition, and select it from boot time… But I guess in the heat of the moment (I had a little group of friends standing behind me blocking the librarians’ view, all cheering me on), I ended up misclicking and overwriting the OS, wiping the hard drive in the process 😅😅
Needless to say, they were not thrilled. Unfortunately, believe it or not, a group of kids crowded around one guy at a computer is a fucking beacon when you’re searching video feeds for suspects 😅 they had found me out by the next day and banned me from the computers for a year. (My friends just gave me their logins anyways 🤘)
I installed (not live) fedora onto a portable hard disk, and just hid it behind the computers, plugged into one of them.
hid the folder deep within the drive.
My brother in Christ you can right-click the desktop, personalisation, check the folder linked to the slideshow. You didn’t hide shit.
I got suspended cos I figured out u could do the old boot a Linux USB and then do a renamed copy of cmd.exe to sethc.exe and get a system command prompt on the login screen when u activated stickykeys. U can do a lot with an admin account.
We actually required active monitoring, because we knew how to change the .pwd files.
This wasnt a prank but i grew up with linux on all my computers and they didnt allow linux on school computers but the it admin allowed me to install the windows hypervisor(idk the name) on it(apparently even if you have standard edition windows you can still install the packages for pro edition stuff) so from then on i just booted up windows to boot up linux.
Don’t you have to be 18 to post on 4chan?
everyone was born January 1, 1970 or something when that question is asked for purposes of age verification
They said 2018 and the post was made in 2022
I think the person you responded to might not have fully realised their own age maybe? It’s happened to me before.
I was at a festival waiting for a band to come on. Talking to people in the audience one of them asked me if I’d seen this band before. I said “yes, in X year”. A girl there says " Wow, I was born in X year". For a second I wondered how she got the beer she was holding then quickly calculated that X year was 18 years previous to the current one and realised I was talking to a group of people roughly half my age. Nothing wrong with that but it just felt kind of weird that I hadn’t really been cognisant of it before that moment.
Takes me back to the good ol’ days of adding echo commands to autoexec.bat so the computers would display stupid shit on boot.
During my college years, we’d have fun lan parties until the room monitor would send a command to shutdown all machines. This was ~2009 and we mostly played counter strike 1.6 (portable that was less than 100mb) or Digital Paintball 2. Sometimes emulated Bomberman, too :)
Probably got the idea from fight club, you know, in the hypothetical scenario that this is neither fake nor gay
deleted by creator