File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1112,9 +1112,12 @@ func (r *Runner) RunEnumeration() {
11121112 URL , _ := urlutil .Parse (resp .URL )
11131113 domainFile := resp .Method + ":" + URL .EscapedString ()
11141114 hash := hashes .Sha1 ([]byte (domainFile ))
1115+ domainResponseFile := fmt .Sprintf ("%s.txt" , hash )
11151116 screenshotResponseFile := fmt .Sprintf ("%s.png" , hash )
11161117 hostFilename := strings .ReplaceAll (URL .Host , ":" , "_" )
1118+ domainResponseBaseDir := filepath .Join (r .options .StoreResponseDir , "response" )
11171119 domainScreenshotBaseDir := filepath .Join (r .options .StoreResponseDir , "screenshot" )
1120+ responseBaseDir := filepath .Join (domainResponseBaseDir , hostFilename )
11181121 screenshotBaseDir := filepath .Join (domainScreenshotBaseDir , hostFilename )
11191122
11201123 var responsePath , screenshotPath , screenshotPathRel string
You can’t perform that action at this time.
0 commit comments