
디렉토리 트래버설 취약점 검색
디렉토리 트래버설 취약점을 검색하는 데 도움이 되는 도구
도구 효율성을 검증하기 위해 테스트한 플랫폼:



이 저장소를 복제하여 최신 버전을 다운로드할 수 있습니다.
git clone https://github.com/jcesarstef/dotdotslash/
이 도구는 Python3와 함께 작동하도록 만들어졌습니다.
> python3 dotdotslash.py --help
usage: dotdotslash.py [-h] --url URL --string STRING [--cookie COOKIE]
[--depth DEPTH] [--verbose]
dot dot slash - A automated Path Traversal Tester. Created by @jcesrstef.
optional arguments:
-h, --help show this help message and exit
--url URL, -u URL Url to attack.
--string STRING, -s STRING
String in --url to attack. Ex: document.pdf
--cookie COOKIE, -c COOKIE
Document cookie.
--depth DEPTH, -d DEPTH
How deep we will go?
--verbose, -v Show requests
예시:
python3 dotdotslash.py \
--url "http://192.168.58.101/bWAPP/directory_traversal_1.php?page=a.txt" \
--string "a.txt" \
--cookie "PHPSESSID=089b49151627773d699c277c769d67cb; security_level=3"