Files
fn_registry/bash/functions/cybersecurity/geolocate_ip.md
T
egutierrez 7c3f01c9eb feat: add bash cybersecurity audit and hardening functions
12 funciones Bash del dominio cybersecurity: auditoria de red y servicios
(analyze_dns, audit_http_headers, inspect_ssl_cert, list_active_connections,
enumerate_subdomains, geolocate_ip), auditoria de sistema (audit_ssh_config,
check_firewall, detect_suspicious_users), y utilidades crypto (encrypt_file,
generate_password, verify_file_hash). Dominio nuevo en bash/functions/.
2026-04-12 13:54:25 +02:00

1.5 KiB

name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, params, output, tested, tests, test_file_path, file_path, source_repo, source_license, source_file
name kind lang domain version purity signature description tags uses_functions uses_types returns returns_optional error_type imports params output tested tests test_file_path file_path source_repo source_license source_file
geolocate_ip function bash cybersecurity 1.0.0 impure geolocate_ip(target: string) -> void Geolocaliza una dirección IP o dominio usando la API pública de ip-api.com. Muestra país, región, ciudad, coordenadas, ISP, ASN y detecta VPN, Proxy o infraestructura de hosting.
bash
cybersecurity
network
geoip
ip
osint
reconnaissance
false error_go_core
name desc
target dirección IP (IPv4) o nombre de dominio a geolocalizar
imprime información de geolocalización a stdout: país, ciudad, ISP, ASN, coordenadas y flags de VPN/Proxy/Hosting false
bash/functions/cybersecurity/geolocate_ip.sh https://gitea-dgg044oo04woo4ggcsws4gk0.organic-machine.com/egutierrez/DevLauncher.git MIT scripts/linux/ciberseguridad/redes/geoip.sh

Ejemplo

source bash/functions/cybersecurity/geolocate_ip.sh

# Geolocalizar una IP
geolocate_ip 8.8.8.8

# Geolocalizar un dominio (resuelve a IP primero)
geolocate_ip example.com

Notas

Requiere curl. Si se pasa un dominio en lugar de una IP, se resuelve a IP usando dig antes de consultar la API. La API de ip-api.com es gratuita para uso no comercial con límite de 45 req/min. Los campos proxy=true y hosting=true indican posible uso de VPN, proxy Tor o datacenter.