guelfoweb / knock

Knock Subdomain Scan
GNU General Public License v3.0
3.76k stars 848 forks source link

Missing proper filename processing #139

Open tseevag opened 8 months ago

tseevag commented 8 months ago

When I provide domain name as knockpy domain.com/ -o /dir/ (with the trailing slash in domain name), knockpy tries to includes this trailing slash in the filename (/dir//domain.com/_2023_10_26_04_03_02.json). This causes error FileNotFoundError: [Errno 2] No such file or directory: '/dir//domain.com/_2023_10_26_04_03_02.json'