guelfoweb / knock

Knock Subdomain Scan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing proper filename processing

tseevag opened this issue · comments

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'