Skip to content
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

Porting TLSGrab in httpx as additional flag #29

Closed
ehsandeep opened this issue Jul 3, 2020 · 0 comments · Fixed by #48
Closed

Porting TLSGrab in httpx as additional flag #29

ehsandeep opened this issue Jul 3, 2020 · 0 comments · Fixed by #48
Assignees
Labels
Priority: Low This issue can probably be picked up by anyone looking to contribute to the project, as an entry fix Type: Enhancement Most issues will probably ask for additions or changes.

Comments

@ehsandeep
Copy link
Member

ehsandeep commented Jul 3, 2020

Porting the TLSGrab code into httpx as an additional flag, so it can be used to extract subdomains from the SSL Certificates of the input list.

Flag:- -tlsgrab and -tlsprobe

  1. tlsgrab will list all the additional and unique subdomains from SSL DNS name.
  2. tlsprobe will probe found subdomains using tlsgrab.

Notes:-

  1. when tlsgrab is used, HTTP probing will be disabled.
  2. both flag can not be used at the same time, when both flags is provided, tlsprobe will be used as preferred one.

Example:-

cat input.txt 

starbucks.com
tesla.com
hackerone.com
cat input.txt | ./httpx -tlsgrab

starbucks.com
beta.starbucks.com
app.starbucks.fr
www.starbucks.fr
app.starbucks.co.uk
starbucks.ie
www.starbucks.com
app.starbucks.com
fr.starbucks.ca
preview.starbucks.com
starbucks.fr
starbucks.ca
app.starbucks.com.br
www.starbucks.ca
www.starbucks.ie
app.starbucks.ie
starbucks.com.br
fr.app.starbucks.ca
starbucks.de
www.starbucks.co.uk
app.starbucks.de
www.starbucks.de
app.starbucks.ca
www.starbucks.com.br
starbucks.co.uk
tesla.com
hackerone.com
www.hackerone.com
api.hackerone.com
cat input.txt | ./httpx -tlsprobe 

https://starbucks.ca
https://preview.starbucks.com
https://starbucks.com
https://starbucks.fr
https://app.starbucks.ie
https://www.starbucks.com
https://hackerone.com
https://www.hackerone.com
https://starbucks.com.br
https://api.hackerone.com
https://www.starbucks.co.uk
https://www.starbucks.com.br
https://www.starbucks.ie
https://starbucks.ie
https://starbucks.co.uk
https://fr.starbucks.ca
https://www.starbucks.de
https://beta.starbucks.com
https://starbucks.de
https://tesla.com
https://www.starbucks.ca
https://app.starbucks.com
https://www.starbucks.fr
https://app.starbucks.ca
@ehsandeep ehsandeep added Type: Enhancement Most issues will probably ask for additions or changes. Priority: Low This issue can probably be picked up by anyone looking to contribute to the project, as an entry fix and removed enhancement labels Jul 21, 2020
@Mzack9999 Mzack9999 linked a pull request Jul 23, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low This issue can probably be picked up by anyone looking to contribute to the project, as an entry fix Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants