-
-
Notifications
You must be signed in to change notification settings - Fork 120
/
007-TheBond.py
144 lines (118 loc) · 4.12 KB
/
007-TheBond.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
#author: Sayyed Viquar Ahmed
import pyfiglet
from igdox import dox
import os
from googlesearch import search
import phonenumbers as p
from phonenumbers import carrier
from phonenumbers import geocoder
import json
import time
from urllib.request import urlopen
import requests
import sys
import urllib
from username import *
def check(inputt):
try:
print("\n")
#inputt = str(input("Ussername : "))
acc = dox(inputt)
print("[*] Username: " + inputt)
print("[-] Id : " + str(acc.user_id()))
print("[*] Url : " + str(acc.url()))
print("[*] Number of Post : " + str(acc.posts()))
print("[*] Followers : " + str(acc.followers()))
print("[*] Number of following :\t " + str(acc.following()))
print("[*] Bio : " + str(acc.bio()))
if acc.private() == False:
print("[*] Private Account : No")
else:
print("[*] Private Account : Yes")
if acc.verified() == False:
print("[*] Verified: No")
else:
print("[*] Verified : Yes")
print(acc.verified())
print('\n')
return None
except urllib.error.HTTPError as e:
print("User not found")
return ("User not found")
def web_search(query):
print("\n")
try :
i = 0
for j in search(query, tld="co.in", num=40, stop=40, pause=2):
print(j)
i += 1
#tis is just t raise error when search holds no results
if i ==0:
print("outloop")
raise StopIteration
return None
except StopIteration:
print("Can't Search your Query")
return("Can't Search your Query")
def number(no):
print("\n")
try:
#no = str (input("Enter number : \t"))
ph_no = p .parse(no)
geo_location = geocoder.description_for_number(ph_no,'en')
no_carrier = carrier.name_for_number(ph_no,'en')
print ("Country : ",geo_location)
print ("Sim Provider : ", no_carrier)
return None
except Exception :
print("No data found for this number")
return("No data found for this number")
def find_ip(ip):
try :
#ip=str(input ("Enter Ip address "))
url="http://ip-api.com/json/"+ip
values = json.load(urlopen(url))
print("[*] Ip Address : ",values['query'])
print("[*] Country :\t ",values['country'])
print("[*] City : ",values['city'])
return None
except Exception as e:
print("\n Can't find the information for the given ip address ")
return("\n Can't find the information for the given ip address ")
# main function
if __name__=="__main__":
banner=pyfiglet.figlet_format("007-The Bond", font="slant")
print(banner)
print(" \t Script by DeadShot0x7 V 1.0")
print("\n \n")
while(1):
print("1.Instagram \t 2.Search")
print("3.Phoneloopkup \t 4.Iplookup")
print("5.Update \t 6.Search username Across the Social Media")
print("7.Exit")
a=int(input("Select your option :\t"))
if a == 1:
inputt = str(input("Ussername : "))
check(inputt)
if a ==2:
query = str ( input ("Search :") )
web_search(query)
if a == 3:
no = str (input("Enter number : \t"))
number(no)
if a == 4:
ip=str(input ("Enter Ip address "))
find_ip(ip)
if a == 5:
try :
os .system("git pull")
except Exception as e:
print("Check your Internet Connection or No repository found")
if a == 6:
print("\n")
print(" this features is coming soon")
print("\n")
if a == 7:
print("Closing the application in 10 second")
time.sleep(1)
break