maurosoria/dirsearch ? reverse-engineered prompt

Reverse engineered prompt

I need a Python command-line tool for security scanning, specifically a web path scanner to find hidden directories and files on a server for pentesting. It should let me point it at a target URL and then use a wordlist to brute-force potential paths.

I want to be able to provide my own wordlists, but it should also come with a good default set. A key feature is handling file extensions; I need to be able to give it a list like php, asp, bak, zip and have it try appending those to the words from the wordlist. It should also have a "force" option to add these extensions to every single entry. The output should be clean, showing me the status codes for the paths it finds. Make it in Python and structure it like a standard command-line utility with flags for all the main options.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab