Feb 1, 2014 11:31 PM
(This post was last modified: Apr 7, 2014 11:39 PM by NoodleBot™.)
Got a LOT of requests for this after mentioning it on a thread somewhere for somebody.
So here it is. The extremely useful and anti-forensic batch code.
Proof:
Before: As you can see, over 4600 logs in one area alone (Security)
![[Image: dcb642b04b8b6b0272263f3bdc6e8bb4.png]](https://gyazo.com/dcb642b04b8b6b0272263f3bdc6e8bb4.png)
After:
![[Image: fa558dd7fecc1f4738dc03867b345d20.png]](https://gyazo.com/fa558dd7fecc1f4738dc03867b345d20.png)
Quote:@echo off
FOR /F "tokens=1,2*" %%V IN ('bcdedit') DO SET adminTest=%%V
IF (%adminTest%)==(Access) goto noAdmin
for /F "tokens=*" %%G in ('wevtutil.exe el') DO (call :do_clear "%%G")
echo.
echo goto theEnd
:do_clear
echo clearing %1
wevtutil.exe cl %1
goto :eof
:noAdmin
exit
If you don't know what to do beyond this point.. 😠
Save it in notepad and name it whateveryouwant.bat and then you may enjoy some privacy. I run this one a week + injunction with CCleaner DAILY.
Example:
![[Image: 6H0wT.png]](https://puu.sh/6H0wT.png)
❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️
Pls give quick love to all my posts❤️
I will love u long time ❤️
❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️
Pls give quick love to all my posts❤️
I will love u long time ❤️
❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️ ❤️



![[Image: M7tJcZL.gif]](https://i.ipixls.net/M7tJcZL.gif)