owasp-amass / amass

In-depth attack surface mapping and asset discovery
https://owasp.org/www-project-amass/
Other
11.89k stars 1.87k forks source link

After launching amass internet stops and computer hangs #812

Open abhinavsecond opened 2 years ago

abhinavsecond commented 2 years ago

Hi team After launching amass "amass enum -d abc.xyz" my internet connection stops on the whole system whole system get hanged and after pressing ctrl + c multiple time it responds back after 1-2 min. Even amass is not able use internet To make the internet work again I have to either restart the computer or have to use commands like sudo networkmanager restarts like this. I am facing this issue on virtual box not on vmware.

wellencamass commented 2 years ago

problem is not in amass.

limit max querys amount

jash777 commented 1 year ago

any solution please

vklap commented 1 year ago

limiting the number of queries per second helped me out with this, like so:

amass enum -brute -active -d you-domain -dns-qps 200

jetbennett commented 1 year ago

I also experience this issue. I have tried limiting parallel DNS queries down to 1: amass intel -max-dns-queries 1 -whois -d <domain.com>

I am connected to my computer via Chrome RDP. When I launch the amass command, I will lose connection for ~10 seconds and have to reconnect manually. After reconnecting, there is no issue as amass continues to run.

Something that Amass does on startup must cause this issue.

jetbennett commented 1 year ago

Adding a -r <resolvers> option to the command prevented the hang and disconnect.

After further investigated, I found that I forgot to remove the comment symbol from the #[resolvers] section header line in my config file. I changed that line to [resolvers] and that solved the issue.

pak0s commented 6 months ago

problem is not in amass.

limit max querys amount

How is this not a problem with amass when a basic command is cutting off the entire internet? That command shouldn’t exist in the 1st place may be or there has to be a certain threshold of threads by default? Regardless, I ran the following command and is still affecting the internet

amass enum -brute -active -d you-domain -dns-qps 200

Edit: The other command amass intel -max-dns-queries 1 -whois -d <domain.com> affecting the internet as well. Edit 2: Only the solution by @jetbennett is working for me i.e., by specifying resolver -r 8.8.8.8,1.1.1.1