Skip to content

Commit

Permalink
Merge pull request #1067 from projectdiscovery/issue-1040-win-path
Browse files Browse the repository at this point in the history
Semicolon to underscore
  • Loading branch information
Mzack9999 authored Mar 29, 2023
2 parents 1defd0a + 0a4e024 commit 76e8a4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,8 @@ retry:
domainFile := URL.EscapedString()
hash := hashes.Sha1([]byte(domainFile))
domainFile = fmt.Sprintf("%s.txt", hash)
domainBaseDir := filepath.Join(scanopts.StoreResponseDirectory, URL.Host)
host := strings.ReplaceAll(URL.Host, ":", "_")
domainBaseDir := filepath.Join(scanopts.StoreResponseDirectory, host)
// store response
responsePath = filepath.Join(domainBaseDir, domainFile)
respRaw := resp.Raw
Expand Down

0 comments on commit 76e8a4a

Please sign in to comment.