-
Notifications
You must be signed in to change notification settings - Fork 4
/
DoxPhone.py
31 lines (26 loc) · 844 Bytes
/
DoxPhone.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
# -*- coding: UTF-8
# SI VAS A COPIAR, DAME CREDITOS >:l BY L.C.A HACK
import requests
import pyfiglet
import os
BLACK = '\033[30m'
RED = '\033[31m'
GREEN = '\033[32m'
YELLOW = '\033[33m'
BLUE = '\033[34m'
MAGENTA = '\033[35m'
CYAN = '\033[36m'
WHITE = '\033[37m'
RESET = '\033[39m'
os.system("clear")
baner= pyfiglet.figlet_format("DoxPhone")
print(GREEN+baner)
print(YELLOW+"\nAutor: L.C.A HACK")
print("YouTube: new L.C.A HACK")
print(GREEN+"escribe el numero de telefono junto\ncon el prefijo, ejemplo: +523313002435\n")
# Información
api_key = '71c9a91b73291f84764eda1c5ccba175'
number = int(input(GREEN+"Numero de telefono: "+RESET))
data = requests.get("http://apilayer.net/api/validate?access_key=%s&number=%s&country_code&format=1" % (api_key, number))
for key, value in data.json().items():
print("%s: %s" % (key, value))