We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When you provide a target without an URI scheme (-u example.com), the URI scheme will be missing in the output folder name, as below
-u example.com
Because dirsearch detects the scheme anyway, the scheme should appear in the folder name, as below
The text was updated successfully, but these errors were encountered:
This should be easy to fix. Moreover, was the older behaviour
Sorry, something went wrong.
The fix is probably performing scheme detection before the creation of the report folder, I will work on this when I have time
I believe offending code is inside def setup_reports(self):
def setup_reports(self):
parsed = urlparse(options["urls"][0]) on: scanme.nmap.org returns no scheme
parsed = urlparse(options["urls"][0])
scanme.nmap.org
scheme
In def set_target(self, url):
def set_target(self, url):
When there is no scheme the code detect_scheme(host, port) is called, which returns http or https depending on the port provided
detect_scheme(host, port)
http
https
We could use the same in setup_reports
setup_reports
No branches or pull requests
What is the current behavior?
When you provide a target without an URI scheme (
-u example.com
), the URI scheme will be missing in the output folder name, as belowWhat is the expected behavior?
Because dirsearch detects the scheme anyway, the scheme should appear in the folder name, as below
The text was updated successfully, but these errors were encountered: