An open API service indexing awesome lists of open source software.

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

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).


![geophone](https://github.com/ZombieGeeK0/GeoPhone/assets/158185295/8275aba2-2e71-4760-9bf9-6c09dc64b153)


`[ 📬 ]` 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.