We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 754fb8e commit f925c9eCopy full SHA for f925c9e
1 file changed
ip.py
@@ -0,0 +1,21 @@
1
+import requests
2
+import json
3
+
4
+a="181.54.153."
5
+c = open("eli.txt","w")
6
+def ip_search():
7
+ for i in range(0,255):
8
+ i=i+1
9
+ b=a+str(i)
10
+ r=requests.get("http://ipinfo.io/"+b+"/json")
11
+ h=r.json()
12
+ p=str(r.status_code)
13
+ if p=="200":
14
+ c.write(b+"\n");
15
+ c.write(str(h)+"\n"+"\n");
16
+ print "En proceso "+b
17
18
19
+ip_search()
20
21
+print "listo"
0 commit comments