-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Support for TLS ClientHello randomization (experimental) #1199
Conversation
DialContext: httpx.Dialer.Dial, | ||
DialTLSContext: func(ctx context.Context, network, addr string) (net.Conn, error) { | ||
if options.TlsImpersonate { | ||
return httpx.Dialer.DialTLSWithConfigImpersonate(ctx, network, addr, &tls.Config{InsecureSkipVerify: true, MinVersion: tls.VersionTLS10}, impersonate.Random, nil) |
Check failure
Code scanning / CodeQL
Disabled TLS certificate check
DialContext: httpx.Dialer.Dial, | ||
DialTLSContext: func(ctx context.Context, network, addr string) (net.Conn, error) { | ||
if options.TlsImpersonate { | ||
return httpx.Dialer.DialTLSWithConfigImpersonate(ctx, network, addr, &tls.Config{InsecureSkipVerify: true, MinVersion: tls.VersionTLS10}, impersonate.Random, nil) |
Check failure
Code scanning / CodeQL
Insecure TLS configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm !
Description
This PR adds support for random tls impersonate
while true; do echo https://tls.peet.ws/api/clean | ./httpx -tlsi -json -irr -silent | jq -r '.body | fromjson | .ja3_hash'; done
Further possible improvement - https://github.com/projectdiscovery/team-backlogs/issues/172