Skip to content

Commit

Permalink
[fixed] error while exporting results to text file
Browse files Browse the repository at this point in the history
  • Loading branch information
souvikinator committed Oct 8, 2021
1 parent 10ab944 commit 0e62517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/data/sessionData.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (f FuzzData) ExportData(filename string) {
for statusCode, res := range f.Result {
expData += fmt.Sprintf("%s: \n%s", statusCode, strings.Join(res, "\n"))
}
path := f.MetaData.OutDir + filename + "/" + "_" + dateNtime + ".txt"
path := f.MetaData.OutDir + "/" + filename + "_" + dateNtime + ".txt"
utils.WriteFile(path, expData)
case "json":
var jsonexp utils.JsonExportTemplate
Expand Down

0 comments on commit 0e62517

Please sign in to comment.