Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 4621

BOUJEE's Logs Cleaner (.exe, .bat, .scr, .lnk, ...)

by BOUJEE - 05 January, 2023 - 04:42 PM
This post is by a banned member (P4L) - Unhide
P4L  
Godlike
1.776
Posts
736
Threads
2 Years of service
#17
ty smh <3
Available








[Image: Sa9nl.gif]
 
Ends on 11/29/2024 ( @MitFlit )
[Image: x8ikcyg.gif]
This post is by a banned member (BOUJEE) - Unhide
This post is by a banned member (BOUJEE) - Unhide
This post is by a banned member (CheapJudgeServant) - Unhide
278
Posts
0
Threads
2 Years of service
#20
(05 January, 2023 - 04:42 PM)BOUJEE Wrote: Show More
[Image: lnu1id.png]

I wrote a script to delete files commonly used to spread malware inside logs archives.

This script deletes all files with the following extensions from the current folder and all subfolders:
.exe, .bat, .scr, .lnk, .bin, .cmd, .js, .jse, .gadget, .jar, .msi, .wsf, .vbs, .ps1, .app, .vb, .hta

It shows the path of the removed files and counts how many files were removed.
You can add or remove extensions from the list without breaking the script.

Save this source as .bat and run it inside your log folder:

thanks!
This post is by a banned member (Tina3050) - Unhide
Tina3050  
Registered
9
Posts
0
Threads
1 Year of service
#21
Thank you boss
This post is by a banned member (BOUJEE) - Unhide
This post is by a banned member (DASOFABE) - Unhide
This post is by a banned member (MonFe12) - Unhide

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 3 Guest(s)