-
Notifications
You must be signed in to change notification settings - Fork 55
/
ip-attack.py
201 lines (173 loc) · 3.74 KB
/
ip-attack.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
#!/usr/bin/python
#
#
# <=== IP ATTACK ===>
#
# Name : IP Attack
# Platform : Android Termux
# Code : Python
# Sec.Code : 8h4i
# Coded by : Sutariya Parixit
# Site : bhai4you.blogspot.com
# Github : https://github.com/Bhai4You
#
#
#
# <=== WARNING ===>
#
# Do Not Copy Or Modify Without Permission..!!!
#
# <=== WARNING ===>
#
#
#
#
import sys
import time
import os
from urllib2 import *
from platform import system
print
print
print
os.system("clear")
os.system("bash logo.sh")
print
print
print
print "\033[1m\033[32m\t\t \033[1m\033[31m<==\033[33m[\033[32m Author Info \033[33m]\033[31m==>\033[0m"
time.sleep(3)
print
print
print
print "\033[1m\033[33m\n\tDeveloper : \033[32m \033[33mS\033[32mutariya \033[33mP\033[32marixit\033[0m"
time.sleep(1)
print "\033[1m\033[33m\n\tBlog : \033[32mhttp:\033[33m//\033[32mbhai\033[33m4\033[32myou.blogspot.com\033[0m"
time.sleep(1)
print "\033[1m\033[33m\n\tGithub : \033[32mhttp:\033[33m//\033[32mwww.github.com\033[33m/\033[32mBhai4You\033[0m"
time.sleep(1)
print "\033[1m\033[33m\n\tYoutube : \033[32m \033[33mB\033[32mull \033[33mA\033[32mnonymous\033[0m"
time.sleep(2)
print
print
def ping():
print
print
os.system("toilet -f pagga 'Ping Attack ' | lolcat")
time.sleep(1)
print
os.system("curl https://api.hackertarget.com/nping/?q=" + ip)
print(" ")
def http():
print
print
os.system("toilet -f pagga 'Http Header ' | lolcat")
time.sleep(1)
print
os.system("curl https://api.hackertarget.com/httpheaders/?q=" + ip)
print(" ")
def whois():
print
print
os.system("toilet -f pagga 'Whois ' | lolcat")
time.sleep(1)
print
os.system("curl http://api.hackertarget.com/whois/?q=" + ip)
print(" ")
def trace():
print
print
os.system("toilet -f pagga 'Traceroute ' | lolcat")
time.sleep(1)
print
os.system("curl https://api.hackertarget.com/mtr/?q=" + ip)
print(" ")
def dns():
print
print
os.system("toilet -f pagga 'DNS Lookup ' | lolcat")
time.sleep(1)
print
os.system("curl https://api.hackertarget.com/dnslookup/?q=" + ip)
print(" ")
def reversedns():
print
print
os.system("toilet -f pagga 'Reverse Dns ' | lolcat")
time.sleep(1)
print
os.system("curl https://api.hackertarget.com/reversedns/?q=" + ip)
print(" ")
def geoip():
print
print
os.system("toilet -f pagga 'Geo Ip ' | lolcat")
time.sleep(1)
print
os.system("curl https://api.hackertarget.com/geoip/?q=" + ip)
print(" ")
def reverseip():
print
print
os.system("toilet -f pagga 'Reverse IP ' | lolcat")
time.sleep(1)
print
os.system("curl https://api.hackertarget.com/reverseiplookup/?q=" + ip)
print(" ")
def nmap():
print
print
os.system("toilet -f pagga 'Nmap ' | lolcat")
time.sleep(1)
print
os.system("curl https://api.hackertarget.com/nmap/?q=" + ip)
print(" ")
def plink():
print
print
os.system("toilet -f pagga 'Page Link ' | lolcat")
time.sleep(1)
print
os.system("curl https://api.hackertarget.com/pagelinks/?q=" + ip)
print(" ")
print
print
time.sleep(3)
print
os.system("clear")
print
os.system( "bash logo.sh" )
print
def mnu():
print "\033[1m\033[32m[+]\033[36m Whois lookup"
print "\033[32m[+] \033[36mDNS lookup"
print "\033[32m[+]\033[36m Reverse DNS lookup"
print "\033[32m[+]\033[36m GeoIP lookup"
print "\033[32m[+] \033[36mReverse IP lookup"
print "\033[32m[+] \033[36mHttp Response"
print "\033[32m[+] \033[36mPing"
print "\033[32m[+] \033[36mPage Link"
print "\033[32m[+] \033[36mNmap"
print "\033[32m[+] \033[36mTraceroute"
print
print
print
mnu()
print
print
print "\033[1m\033[32mEnter Your IP Or Domain..."
print
ip = raw_input("\033[1m\033[32m IP or Domain : \033[33m\033[1m")
print
time.sleep(3)
whois()
dns()
reversedns()
geoip()
reverseip()
http()
ping()
plink()
nmap()
trace()
sys.exit()