Skip to content

Commit

Permalink
Merge pull request #263 from projectdiscovery/bugfix-tlsprobe-autoena…
Browse files Browse the repository at this point in the history
…ble-tlsgrag

Bugfix tlsprobe autoenable tlsgrag
  • Loading branch information
ehsandeep authored May 6, 2021
2 parents 708fbc2 + 1d31aa1 commit 0582ec9
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 @@ -68,7 +68,8 @@ func New(options *Options) (*Runner, error) {
}

httpxOptions := httpx.DefaultOptions
httpxOptions.TLSGrab = options.TLSGrab
// Enables automatically tlsgrab if tlsprobe is requested
httpxOptions.TLSGrab = options.TLSGrab || options.TLSProbe
httpxOptions.Timeout = time.Duration(options.Timeout) * time.Second
httpxOptions.RetryMax = options.Retries
httpxOptions.FollowRedirects = options.FollowRedirects
Expand Down

0 comments on commit 0582ec9

Please sign in to comment.