Doh, I was just writing a bash script to calculate the current network traffic and write it to syslog. nothing special. I’m posting this from my laptop because I was forced to reboot my main PC after accidently writing a fork bomb. I wanted to recursively call myself and detatch the process so I could use the script as a deamon without worring about it if I logout.
AFTER starting the script, I noticed a flaw in my “if” startement to make sure I don’t DOS myself. By the time I got around to “hmm, maybe I should check the pid of that child and kill it so it doesn’t go and suck up my resources” it was too late. duh.
More From dopefish
dopefish Recommends
- Free web filter, firewall and vpn server (Sysadmin Ramblings)
- Create a free iTunes account, with no credit card needed (Sysadmin Ramblings)



No Comments on "self0wned"