sub.sh icon indicating copy to clipboard operation
sub.sh copied to clipboard

An idea

Open v4yne1 opened this issue 4 years ago • 1 comments

Can you make it read domains from a file so it runs sub.sh for every domain?

v4yne1 avatar Dec 10 '20 21:12 v4yne1

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}"

cihanmehmet avatar Dec 16 '20 22:12 cihanmehmet