This post is by a banned member (BOUJEE) - Unhide
OP 05 January, 2023 - 04:42 PM
(This post was last modified: 05 January, 2023 - 04:43 PM by BOUJEE. Edited 1 time in total.)
Reply
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:
Hidden Content
You must register or login to view this content.
This post is by a banned member (genice) - Unhide
06 January, 2023 - 02:13 AM
Reply
goodddddddddddddddddddddddddddddddddddddddddddddddddddd
This post is by a banned member (qYLOOxdv) - Unhide
06 January, 2023 - 10:20 PM
Reply
This post is by a banned member (Fredolin32) - Unhide
12 January, 2023 - 06:35 PM
Reply
(05 January, 2023 - 04:42 PM)BOUJEE Wrote: Show More
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: 312321321
This post is by a banned member (dayweldelbot) - Unhide
12 January, 2023 - 07:54 PM
Reply
This post is by a banned member (vowing) - Unhide
15 January, 2023 - 08:28 AM
Reply
(05 January, 2023 - 04:42 PM)BOUJEE Wrote: Show More
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:
+ big ups for this one mate.
for the greater good..
x
This post is by a banned member (BOUJEE) - Unhide
OP 15 January, 2023 - 04:47 PM
Reply
(15 January, 2023 - 08:28 AM)vowing Wrote: Show More (05 January, 2023 - 04:42 PM)BOUJEE Wrote: Show More
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:
+ big ups for this one mate.
for the greater good..
x
Thank you. You may want to add .url as well.
This post is by a banned member (Happynewye23) - Unhide
15 January, 2023 - 05:00 PM
Reply
(05 January, 2023 - 04:42 PM)BOUJEE Wrote: Show More
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:
+rep
|