sub.sh
sub.sh copied to clipboard
An idea
Can you make it read domains from a file so it runs sub.sh for every domain?
Good idea actually. Since things are busy, I cannot add new ones. But the following command might work.
cmd@x:/tmp$ cat domain.txt
tesla.com
bing.com
testfire.net
1. method
cmd@x:/tmp$ cat domain.txt | xargs -L1 -I@ sh -c "bash subenum.sh -a @"
2. method
cmd@x:/tmp$ parallel -a domain.txt -j3 'bash subenum.sh -a {1}"