maurosoria / dirsearch

Web path scanner
11.57k stars 2.29k forks source link

set_target before we parse the URL and then use self.url #1370

Closed nrathaus closed 1 month ago

nrathaus commented 2 months ago

Description

What will it do?

If this PR will fix an issue, please address it: https://github.com/maurosoria/dirsearch/issues/1357

Recreate issue

Without the fix run: dirsearch "--url=scanme.nmap.org"

Report will be generated at: /reports/_scanme.nmap.org/__24-04-30_15-05-07.txt

With fix run and the report will be stored at: /reports/http_scanme.nmap.org/__24-04-30_15-05-07.txt