Skip to content

Commit

Permalink
Fix some comments (#851)
Browse files Browse the repository at this point in the history
* Update README.md

* Fix some comments

Signed-off-by: eveneast <[email protected]>

---------

Signed-off-by: eveneast <[email protected]>
Co-authored-by: zy9ard3 <[email protected]>
Co-authored-by: Sandeep Singh <[email protected]>
  • Loading branch information
3 people authored Apr 16, 2024
1 parent d3b46fb commit 6d6db43
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ Flags:
INPUT:
-u, -list string[] target url / list to crawl
-resume string resume scan using resume.cfg
-e, -exclude string[] exclude host matching specified filter ('cdn', 'private-ips', cidr, ip, regex)

CONFIGURATION:
-r, -resolvers string[] list of custom resolver (file or comma separated)
Expand Down
2 changes: 1 addition & 1 deletion pkg/engine/common/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

type RedirectCallback func(resp *http.Response, depth int)

// BuildClient builds a http client based on a profile
// BuildHttpClient builds a http client based on a profile
func BuildHttpClient(dialer *fastdialer.Dialer, options *types.Options, redirectCallback RedirectCallback) (*retryablehttp.Client, *fastdialer.Dialer, error) {
// Single Host
retryablehttpOptions := retryablehttp.DefaultOptionsSingle
Expand Down
2 changes: 1 addition & 1 deletion pkg/engine/parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ func bodyVideoTagParser(resp *navigation.Response) (navigationRequests []*naviga
return
}

// bodyButtonFormactionTagParser parses blockquote cite tag from response
// bodyBlockquoteCiteTagParser parses blockquote cite tag from response
func bodyBlockquoteCiteTagParser(resp *navigation.Response) (navigationRequests []*navigation.Request) {
resp.Reader.Find("blockquote[cite]").Each(func(i int, item *goquery.Selection) {
src, ok := item.Attr("cite")
Expand Down

0 comments on commit 6d6db43

Please sign in to comment.