mirror of
https://github.com/EdOverflow/bugbounty-cheatsheet.git
synced 2024-11-22 02:53:06 +00:00
Add "Sublist3r One-liner".
This commit is contained in:
parent
8b34edd05b
commit
686991d568
1 changed files with 17 additions and 0 deletions
|
@ -7,3 +7,20 @@ curl https://certspotter.com/api/v0/certs\?domain\=example.com | jq '.[].dns_nam
|
|||
```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 -
|
||||
```
|
||||
|
||||
# Sublist3r One-liner
|
||||
|
||||
This runs [Sublist3r](https://github.com/aboul3la/Sublist3r) on a list of domains and outputs the results in separate files.
|
||||
|
||||
```
|
||||
cat domains | awk '{print "sublist3r -d " $1 " -o " $1 ".txt"}'
|
||||
```
|
||||
|
||||
**Example**
|
||||
|
||||
```
|
||||
$ cat domains | awk '{print "sublist3r -d " $1 " -o " $1 ".txt"}'
|
||||
sublist3r -d example.com -o example.com.txt
|
||||
sublist3r -d example.edu -o example.edu.txt
|
||||
sublist3r -d example.net -o example.net.txt
|
||||
```
|
Loading…
Reference in a new issue