parent
0b2eb000c3
commit
2b0a723c30
4 changed files with 27 additions and 10 deletions
|
|
@ -1,7 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
function log() {
|
||||
echo -e "\033[33m$@\033[0m"
|
||||
}
|
||||
|
||||
# Resolve the CNAME chain of all the known subdomains for later analysis
|
||||
echo "Compiling subdomain lists..." > /dev/stderr
|
||||
log "Compiling subdomain lists..."
|
||||
pv subdomains/*.list | sort -u > temp/all_subdomains.list
|
||||
# Sort by last character to utilize the DNS server caching mechanism
|
||||
pv temp/all_subdomains.list | rev | sort | rev > temp/all_subdomains_reversort.list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue