Subdomain discovery tool
Simply clone the repository to the location you want:
(Example: you want to place it in ~/apps/
mkdir -p ~/apps/
cd ~/apps/
git clone https://github.com/AyoobAli/DNSub
cd DNSub
chmod +x dnsub
./dnsub
To run the application from any directory, just create a symlink of dnsub
in your bin directory.
ln -s ~/apps/DNSub/dnsub ~/bin/dnsub
OR One line installation:
mkdir -p ~/bin/ && mkdir -p ~/apps/ && cd ~/apps/ && git clone https://github.com/ayoobali/DNSub && cd DNSub && chmod u+x dnsub && ln -s ~/apps/DNSub/dnsub ~/bin/dnsub
To scan a domain:
dnsub -d <Domain>
To scan multiple domains:
cat <Path_to_Domains_List> | while IFS= read -r domainName || [ -n "$domainName" ]; do dnsub -d "$domainName" -f <Path_to_List>; done