-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiploggerflood.py
39 lines (34 loc) · 945 Bytes
/
iploggerflood.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import requests
import sys
import os
count = 0
def help():
help = str('''
IP LOGGER FLOODER - qolhf
ARGUMENTS MARKED WITH * ARE REQUIRED!
DOCS:
--help: DISPLAYS THIS MESSAGE
--domain: DOMAIN TO SEND REQUESTS TO (*)
Example: python3 iploggerflood.py --domain https://iplogger.org
''')
print(help)
sys.exit()
if len(sys.argv) == 1:
help()
elif len(sys.argv) == 2:
help()
elif len(sys.argv) == 3:
site = sys.argv[2]
if "help" in sys.argv:
help()
sys.exit()
elif "--domain" in sys.argv:
while True:
site = sys.argv[2]
headers = {
'User-Agent': 'SymIPLoggerFlooder/1.0 (Compatable With Linux/Windows) UsingPyRequests/:) (Block Agent/IP If Abusing) {Tool Made by qolhf} {Symphanny On Top}',
}
r = requests.get(site, headers=headers, proxies=dict(http='socks5://localhost:9050', https='socks5://localhost:9050'))
print("Sent request to {} and got code {}!".format(site, r.status_code))
else:
help()