nahamsec / lazyrecon

This script is intended to automate your reconnaissance process in an organized fashion
1.88k stars 568 forks source link

Problem in mass function #46

Open mr-spartigus opened 4 years ago

mr-spartigus commented 4 years ago

mass(){ ~/tools/massdns/scripts/subbrute.py $massdnsWordlist $domain | ~/tools/massdns/bin/massdns -r ~/tools/massdns/lists/resolvers.txt -t A -q -o S | grep -v 142.54.173.92 > ./$domain/$foldername/mass.txt }

I think python keyword must b preset in order to start subbrute.py

ranggaacc commented 4 years ago

could you please share the revision?

Maddox94 commented 1 year ago

the problem you probably have might be that the order of the paraters for the subbrute call is messed up, it should be: ~/tools/massdns/scripts/subbrute.py $domain $massdnsWordlist

i faced the following issue: Traceback (most recent call last): File "/home/jp/tools/massdns/scripts/subbrute.py", line 34, in with open(args.subdomain_file) as f: IsADirectoryError: [Errno 21] Is a directory: 'example.com'

changing the parameter order fixed that for me