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

Function attack_sent1

BOTNETc2_offline_user/cnc.py:725–748  ·  view source on GitHub ↗
(ip, port, secs, client)

Source from the content-addressed store, hash-verified

723"""
724
725def attack_sent1(ip, port, secs, client):
726 global send_attack_target
727 loadering(client)
728 color_random = color()
729 send(client, f"")
730 for x in banner.split('\n'):
731 send(client,f'{color_random}'+x)
732 time.sleep(0.2)
733 message_flooding = f"""
734╔═════════════════════════════ > _
735 ! SEND ATTACKING !
736 ═════════════════════════
737 IP {ip}
738 PORT {port}
739 TIME {secs}
740 ═════════════════════════
741 </> </> </> </> </> </>
742╚═════════════════════════════[ {len(bots)} botnet ] >_"""
743 color_random = color()
744 for x in message_flooding.split('\n'):
745 send(client,f'{color_random}'+x)
746 time.sleep(0.2)
747 send(client,f"\033[32mSuccessfully sent command 📃")
748 send_attack_target += 1
749
750def attack_sent2(ip, port, secs, size, client):
751 global send_attack_target

Callers

nothing calls this directly

Calls 3

colorFunction · 0.85
loaderingFunction · 0.70
sendFunction · 0.70

Tested by

no test coverage detected