Skip to content

Commit

Permalink
fix: SIGSEGV
Browse files Browse the repository at this point in the history
  • Loading branch information
nohehf committed May 17, 2023
1 parent 8227814 commit 4ad78c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/suggestion/field_suggestion.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ func FingerprintFieldSuggestion(url string, client http.Client) bool {
for _, word := range *utils.Wordlist {
body := makePayload(word)
res, err := client.Post(url, body)
log.Debugf("Response from %v: %v", url, res.StatusCode)
if err != nil {
log.Debugf("Error from %v: %v", url, err)
return false
}
log.Debugf("Response from %v: %v", url, res.StatusCode)
if IsSuggestionResponse(res) {
return true
}
Expand Down

0 comments on commit 4ad78c6

Please sign in to comment.