-
Notifications
You must be signed in to change notification settings - Fork 4
/
pr0xyP4rs3.py
49 lines (38 loc) · 1.53 KB
/
pr0xyP4rs3.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
40
41
42
43
44
45
46
47
48
49
#!/usr/bin/python
import requests
import sys
url = sys.argv[2]
proxies = {"http": "http://127.0.0.1:7777", "https": "http://127.0.0.1:7777"}
def banner():
print (" .-----------------------------. ")
print (" | Hi Hackers | ")
print (" | Tool : pr0xyP4rs3 |")
print (" | Author : @karthi_the_hacker| ")
print (" | Jai Hind | ")
print (" '-----------------------------' ")
print (" ^ (\_/) ")
print (" '----- (O.o) ")
print (" (> <) ")
print (" ")
def helpl():
banner()
print ("For single domain : python pr0xyP4rs3.py -p http://yourserver.com/ ")
print ("For multiple domain : cat live-domain.txt | xargs -n1 -p50 python pr0xyP4rs3.py --parse " )
def all():
r = requests.get(url , proxies=proxies , allow_redirects=False ,verify=False )
r1 = requests.get(url , proxies=proxies ,verify=False )
R = requests.post(url , proxies=proxies , allow_redirects=False ,verify=False )
R1 = requests.post(url , proxies=proxies ,verify=False )
Rp = requests.put(url , proxies=proxies , allow_redirects=False ,verify=False )
Rp1 = requests.put(url , proxies=proxies ,verify=False )
if (len(sys.argv)<=1):
banner()
print("You must provide a target. Use -h or --help for help.")
print(" ")
sys.exit()
if (str(sys.argv[1]) == "-h" or str(sys.argv[1]) == "--help"):
helpl()
sys.exit()
if (str(sys.argv[1]) == "-p" or str(sys.argv[1]) == "--parse"):
all()
url = sys.argv[2]