maurosoria / dirsearch

Web path scanner
12.09k stars 2.31k forks source link

Option to filter by status codes. #140

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hello,

Great tool. Is there or shall there be an option to look for specific status codes. Say i am only looking for 200,204,301,302,307,403 codes??

hakluke commented 5 years ago

@dtnml there is an option to exclude status codes (-x), but not to only show a particular status code. The easiest way to do this might just be to use grep, for example:

python3 ./dirsearch.py -e php -u http://example.com | grep 200
ghost commented 5 years ago

Thanks..