SDF has been created to automate search task of hidden directories and files on server. It’s multithreaded btw.
Simple example:
python sdf.py -u example.com
Short help
-u The target website to scan or path to file with domains list. (Scheme required!)
-l A file containing paths or directory with this files.
-w Workers (threads) count. (default=10)
-d Delay between requests. (default=0.03)
-t Request timeout. (default=3)
-s A file containing subdomains.
-o A file to output.
-ua Set user-agent manually.
Extended help
You can use one url or file with list of urls:
python sdf.py -u domains.txt
Also SDF can use directory as -u
option with lots of files with urls:
python sdf.py -u ./directory
Also you can fuzz subdomains.
Example:
python sdf.py -u example.com -s subdomains.txt
List of fuzzing paths store in files in ./pathlist
directory.
It can be used with -l
option:
python sdf.py -u example.com -l ./pathlist/apiDict/api.txt
Output stored in endpoints.txt
by default, but it can be given manualy by -o
option:
python sdf.py -u example.com -o out.txt
Optional change user-agent:
python sdf.py -u example.com -ua 31337
Setup requests:
Workers count is number of threads simultaneously runned
python sdf.py -u example.com -w 100
Request delay is how many time sleep between each requests
python sdf.py -u example.com -d 0.01
Timeout is how many time we wait server response
python sdf.py -u example.com -t 3
Full stack of commands example:
python sdf.py -u ./directoryWithURLSList/ -s ./subdomainList.txt -l ./directoryWithPathLists -w 50 -d 0.03 -t 3 -o out.txt -ua 31337
Installation
To install SDF, simply use git:
git clone https://github.com/codebyzen/SiteDirectoryFuzzer