-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathvector.py
45 lines (34 loc) · 1.2 KB
/
vector.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
"""
- HELP
# Start osint for nickname
$ python vector.py nickname
# Start vector web [nickname,email,phone]
"""
################################
# Thesaderror & Shahin #
################################
# Vector project coded by Thesaderror & Shahin.
import typer
import vapi
def is_ip(ip):
if(ip.count(".")==3):
return True
else:
return False
def main(vinp: str):
email = False
em = ["@outlook", "@gmail", "@hotmail", "@yahoo"]
bnck = ""
for i in em:
if(i in vinp):
tnick = vinp
email = True
bnck = tnick.split(i)[0]
if(vinp == "v" or vinp == "V" or vinp == "help" or ("help" in vinp) or vinp == "welcome"): vapi.help()
elif(vinp=="web"): vapi.web()
elif(email==True): vapi.email(vinp,bnck)
elif(is_ip(vinp)): vapi.geos(vinp)
else: vapi.cli(vinp)
if __name__ == "__main__":
vapi.clear()
typer.run(main)