maurosoria / dirsearch

Web path scanner
11.85k stars 2.3k forks source link

Exclude 200 error page #136

Closed Rvn0xsy closed 5 years ago

Rvn0xsy commented 5 years ago

There are some cases that web application return error pages with 200 status code. Do we have an option to exculde these error pages?

hakluke commented 5 years ago

@Rvn0xsy there's no option for this, however, the error page is usually the same size, you can filter out that size using grep. For example, if the error page returns 123 bytes, you can use python3 ./dirsearch.py -e php -u http://example.com | grep -v 123B

Rvn0xsy commented 5 years ago

@Rvn0xsy there's no option for this, however, the error page is usually the same size, you can filter out that size using grep. For example, if the error page returns 123 bytes, you can use python3 ./dirsearch.py -e php -u http://example.com | grep -v 123B

Okay, Thanks