Egosurfing: búsqueda real de huella digital con resultados top 5

Backend:
- Nuevo route GET /api/egosearch con rate limit (8 req/min)
- Usa Google Custom Search API si GOOGLE_API_KEY+CSE_ID configurados
- Fallback a instancias públicas SearXNG con JSON API (sin API key)
- Devuelve top 5: title, url, snippet, domain, engine

Frontend egosurfing.html:
- Barra de búsqueda prominente con 5 modos (nombre/email/usuario/teléfono/libre)
- Resultados en cards: dominio, título, snippet, acciones (ver, RTBF, GDPR)
- RTBF link contextual según el dominio del resultado
- Google dorking rápido: plantillas con 1 clic que se lanzan al buscador
- Herramientas complementarias: HIBP, TinEye, WhatsMyName, formularios RTBF

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
hacklab 2026-04-07 12:52:35 +02:00
parent 7507b3b8e3
commit f1d80dde13
4 changed files with 728 additions and 392 deletions

View file

@ -14,3 +14,10 @@ GOOGLE_REDIRECT_URI=https://resetea.net/api/gmail/callback
# Puerto del servidor (por defecto 8787)
PORT=8787
# Google Custom Search (egosurfing — opcional, mejora la calidad de resultados)
# 1. Ve a https://programmablesearchengine.google.com/ → crear motor
# 2. Activa "Buscar en toda la web" y copia el ID (cx)
# 3. En https://console.cloud.google.com/ activa "Custom Search API" y crea una API Key
GOOGLE_API_KEY=
GOOGLE_CSE_ID=