-
Notifications
You must be signed in to change notification settings - Fork 0
/
PHT.py
57 lines (54 loc) · 1.32 KB
/
PHT.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
#TODO: +1 772-201-8316
import os
import sys
import time
import phonenumbers
import pyfiglet
from phonenumbers import timezone
from phonenumbers import carrier
from phonenumbers import geocoder, carrier
from colorama import Fore
os.system(' clear ')
print(Fore.RED+"XDDDDD")
os.system(' clear ')
banner = pyfiglet.figlet_format("GHOST", font = "isometric1")
print(banner)
time.sleep(1)
print(Fore.LIGHTBLACK_EX+" usage EX| +1 000-000-000")
ph = str(input(" @> "))
# parsing to input
phoneNumber = phonenumbers.parse(f"{ph}")
#timezone
timeZone = timezone.time_zones_for_number(phoneNumber)
# carrier
Carrier = carrier.name_for_number(phoneNumber, 'en')
Region = geocoder.description_for_number(phoneNumber, 'en')
#valid or not
valid = phonenumbers.is_valid_number(phoneNumber)
possible = phonenumbers.is_possible_number(phoneNumber)
print("=======NUMBER======")
time.sleep(0.1)
print(phoneNumber)
time.sleep(0.1)
print("========TIMEZ=======")
time.sleep(0.1)
print(timeZone)
time.sleep(0.1)
print("========ISP=========")
time.sleep(0.1)
print(Carrier)
time.sleep(0.1)
print("=======REGION=======")
time.sleep(0.1)
print(Region)
time.sleep(0.1)
print("======VALID=========")
time.sleep(0.1)
print(valid)
time.sleep(0.1)
print("======Possible======")
time.sleep(0.1)
print(possible)
time.sleep(0.1)
print("=================")
time.sleep(3)