Hack Forums
will it destroy windows? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4)
+---- Thread: will it destroy windows? (/showthread.php?tid=5852877)



will it destroy windows? - K9ll3rJ1CK - Jun 22, 2018

@Echo off Del C:\ . |y
If you save this in notepad as .bat file and run it will it actually destroy windows? And can you recover files after that?


RE: will it destroy windows? - Riggs - Jun 22, 2018

If Windows is installed on your C:/ drive then yes.


RE: will it destroy windows? - HangMansheart - Jun 22, 2018

I'm pretty sure you'd have to run with admin privs for that to work. Try working on some privilege escalation with Windows. It doesn't necessarily have to be in batch, though. You can do some shell code injection into small applications that executes something like this upon launch.

https://github.com/enjoiz/Privesc
https://github.com/frizb/Windows-Privilege-Escalation
https://github.com/AlessandroZ/BeRoot


RE: will it destroy windows? - CyberStrike - Jun 22, 2018

There are some directories .. eg Windows\System32 you don't own, of course if you priv esc and get system then you would be good.


RE: will it destroy windows? - pushl %ebp - Jun 23, 2018

You could install Windows in a virtualbox and give it a go. Best way to learn is to try it yourself.
Couple of links to get you started.

Virtualbox https://www.virtualbox.org/wiki/Downloads
Windows 10 Download https://www.microsoft.com/ru-ru/software-download/windows10ISO


RE: will it destroy windows? - Black Hat - Jun 23, 2018

Depends whether windows is installed on that directory and if you have escalated privileges or not.