0

I try to pass this result in the third command -d argument, But i failed.

$ cat asnlookups_domains_ip.txt | awk '{print $1}' | amass intel -whois -d 
flag needs an argument: -d

enter image description here

enter image description here

1 Answers1

0

You could try xargs:

cat asnlookups_domains_ip.txt | awk '{print $1}' | xargs -n1 amass intel -whois -d

It passes the standard input as arguments after your command.

apaolillo
  • 135
  • 2
  • 5