handbook/tools/3.Web-Hacking/4.Injection/Directory-Traversal/Notes/2.Common-Obstacles-and-Bypass.md

17 lines
615 B
Markdown
Raw Normal View History

2024-08-30 23:07:22 +00:00
## Common Obstacles & Bypass
If the application strips or blocks directory traversal from user-supplied filename:
- Use an absolute path to bypass - filename=/etc/passwd
- Use nested traversal to bypass (`....// or ....\/`)
- Utilize URL Encoding to bypass
- Burp Suite Professional has a predefind payload list - Fuzzing - path traversal
§ Contains encoded path traversal sequences
- Start with the base file and traverse from there filename=/var/www/images/../../../etc/passwd
- Bypass the requirement to end with a file extension by using a null byte filename=../../../etc/passwd%00.png