https://github.com/zombiegeek0/geophone
Este es un programa en Python que geolocaliza números de teléfono a través de la API de OpenCage
https://github.com/zombiegeek0/geophone
bash geo geolocalize geophone install latitud longithub number opencage phone py python sh zombiegeek
Last synced: about 2 months ago
JSON representation
Este es un programa en Python que geolocaliza números de teléfono a través de la API de OpenCage
- Host: GitHub
- URL: https://github.com/zombiegeek0/geophone
- Owner: ZombieGeeK0
- License: mit
- Created: 2024-03-15T08:03:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T15:53:21.000Z (over 2 years ago)
- Last Synced: 2024-10-18T13:15:08.745Z (over 1 year ago)
- Topics: bash, geo, geolocalize, geophone, install, latitud, longithub, number, opencage, phone, py, python, sh, zombiegeek
- Language: Python
- Homepage: https://zombiegeek0.github.io
- Size: 54.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT
Awesome Lists containing this project
README
# GeoPhone
`[+]` Este es un programa en `Python` para geolocalizar `números de teléfono.`
`[+]` Está probado en `Kali Linux,` y la nueva versión incorporará un ejecutable para `Windows.`
`[+]` Fuente `utilizada:` [Calvin S](https://patorjk.com/software/taag/#p=display&f=Calvin%20S&t=GeoPhone).
| Sistema operativo | Soporte |
| ------------- | ------------- |
| Linux (Debian) | ✅ |
| Windows | :x: |
| Android | :x: |
| MacOS | :x: |
| Apple IOS | :x: |
## 🔴 CONFIGURACIÓN 🔴
`[+]` Obtención de las `APIKeys:`
- Registrarse en [Numverify](https://numverify.com/), en [OpenCageData](https://opencagedata.com/) y en [GoogleMapsDeveloppers](https://developers.google.com/maps/documentation/geocoding/get-api-key).
- Obtener las APIKeys.
- Escribirlas en orden correspondiente en el archivo [config.json](https://github.com/ZombieGeeK0/GeoPhone/blob/main/config.json).
- En el caso de la APIKey de GoogleMaps, hay que escribirla directamente en el código del archivo [main.py](https://github.com/ZombieGeeK0/GeoPhone/blob/main/main.py) en la línea `104`.
`[+]` Instalación en `Linux (Debian):`
`[+]` Ejecutar el siguiente `comando:`
sudo apt update -y && sudo apt upgrade -y && git clone https://github.com/ZombieGeeK0/GeoPhone && cd GeoPhone && chmod +x install.sh && chmod 777 install.sh && sudo bash install.sh
## 🏁 FUNCIONAMIENTO 🏁
`[+]` Se importan las `librerías:`
```python
import os, opencage, phonenumbers, json, requests, random, time, sys
from opencage.geocoder import OpenCageGeocode
from phonenumbers import geocoder
from googlesearch import search
from colorama import Fore, Back
```
`[+]` Se definen los `dominios:`
```python
dom = ["com","com.tw","co.in","be","de","co.uk","co.ma","dz","ru","ca"]
```
`[+]` Hacemos el setup de `OpenCage:`
```python
geo = OpenCageGeocode(configuracion_dat['OpencageKey'])
phone = phonenumbers.parse(numero)
location = geocoder.description_for_number(phone, 'en')
query = str(location)
results = geo.geocode(query)
lat = results[0]['geometry']['lat']
lng = results[0]['geometry']['lng']
```
## 🥇 CREDITS 🥇
- [ZombieGeek0](https://www.github.com/ZombieGeek0): El proyecto [GeoPhone](https://www.github.com/ZombieGeek0/GeoPhone).
- [Euronymou5](https://www.github.com/Euronymou5): Por el proyecto [Dark-Hydro](https://www.github.com/Euronymou5/Dark-Hydro).

`[ 📬 ]` Contacta conmigo a través de `Discord` mandando una invitación a `qwfkr.`
qwfkr
`[ 📬 ]` Si lo prefieres, mándame un correo a `3xpl017.contact@proton.me.`
3xpl017.contact@proton.me.