código completo FLUJOS — snapshot limpio sin datos scrapeados
Incluye: backend Node.js/Express, visualización 3D (Three.js/3d-force-graph), scrapers Wikipedia/noticias/imágenes, analizador Qwen3-VL, pipeline maestro con systemd timer, fixes de seguridad (NoSQL injection, XSS, ReDoS, port binding) y documentación técnica completa en docs/. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
013fe673f3
commit
83f67b76b4
190 changed files with 193337 additions and 2 deletions
38
FLUJOS_DATOS/DOCS/sshpass_transfer_comandos.txt
Normal file
38
FLUJOS_DATOS/DOCS/sshpass_transfer_comandos.txt
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# COMANDOS SSHPASS - TRANSFERENCIA FLUJOS_DATOS
|
||||
# Servidor destino: d1d4k@server045151.vps.webdock.cloud
|
||||
# Fecha: 2026-04-01
|
||||
# =====================================================
|
||||
|
||||
# 1. VERIFICAR QUE SSHPASS ESTÁ INSTALADO
|
||||
which sshpass || sudo apt install sshpass -y
|
||||
|
||||
# 2. TRANSFERIR SOLO ARCHIVOS .txt (tokenizados/raw)
|
||||
sshpass -p 'TU_PASSWORD' rsync -avz --progress \
|
||||
--include='*/' \
|
||||
--include='*.txt' \
|
||||
--exclude='*' \
|
||||
/var/www/theflows.net/flujos/FLUJOS_DATOS/ \
|
||||
d1d4k@server045151.vps.webdock.cloud:/home/d1d4k/UP-LEAKS/FLUJOS/FLUJOS_DATOS/
|
||||
|
||||
# 3. TRANSFERIR TODO (excluyendo virtualenv, logs mongo y cache)
|
||||
sshpass -p 'TU_PASSWORD' rsync -avz --progress \
|
||||
--exclude='myenv/' \
|
||||
--exclude='MONGO/' \
|
||||
--exclude='__pycache__/' \
|
||||
/var/www/theflows.net/flujos/FLUJOS_DATOS/ \
|
||||
d1d4k@server045151.vps.webdock.cloud:/home/d1d4k/UP-LEAKS/FLUJOS/FLUJOS_DATOS/
|
||||
|
||||
# 4. SOLO .txt DE SUBCARPETAS ESPECÍFICAS (TORRENTS + NOTICIAS + WIKIPEDIA)
|
||||
for DIR in TORRENTS NOTICIAS WIKIPEDIA; do
|
||||
sshpass -p 'TU_PASSWORD' rsync -avz --progress \
|
||||
--include='*/' --include='*.txt' --exclude='*' \
|
||||
/var/www/theflows.net/flujos/FLUJOS_DATOS/$DIR/ \
|
||||
d1d4k@server045151.vps.webdock.cloud:/home/d1d4k/UP-LEAKS/FLUJOS/FLUJOS_DATOS/$DIR/
|
||||
done
|
||||
|
||||
# NOTAS:
|
||||
# - Reemplazar TU_PASSWORD con la contraseña real antes de ejecutar
|
||||
# - myenv/ excluido: virtualenv, inútil en destino
|
||||
# - MONGO/ excluido: logs de bd, no son datos de texto
|
||||
# - rsync crea el directorio destino si no existe
|
||||
# - Añadir --dry-run para simular sin transferir nada
|
||||
Loading…
Add table
Add a link
Reference in a new issue