guelfoweb/knock

Missing proper filename processing

tseevag opened this issue · 0 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'