Create recon.md

This commit is contained in:
EdOverflow 2017-08-31 18:36:39 +02:00 committed by GitHub
parent e42af5d69e
commit ca81a26832

9
cheatsheets/recon.md Normal file
View file

@ -0,0 +1,9 @@
# Certspotter
```zsh
curl https://certspotter.com/api/v0/certs\?domain\=example.com | jq '.[].dns_names[]' | sed 's/\"//g' | sed 's/\*\.//g' | uniq
```
```zsh
curl https://certspotter.com/api/v0/certs\?domain\=example.com | jq '.[].dns_names[]' | sed 's/\"//g' | sed 's/\*\.//g' | uniq | dig +short -f - | uniq | nmap -T5 -Pn -sS -i - -p 80,443,21,22,8080,8081,8443 --open -n -oG -
```