2019-11-11 11:19:46 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2019-12-07 18:45:48 +01:00
|
|
|
function log() {
|
|
|
|
echo -e "\033[33m$@\033[0m"
|
|
|
|
}
|
|
|
|
|
2019-11-11 11:19:46 +01:00
|
|
|
# Get all subdomains accessed by each website in the website list
|
|
|
|
|
|
|
|
cat websites/*.list | sort -u > temp/all_websites.list
|
|
|
|
./collect_subdomains.py temp/all_websites.list > temp/subdomains_from_websites.list
|
|
|
|
sort -u temp/subdomains_from_websites.list > subdomains/from_websites.cache.list
|