owasp-amass / amass

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

Not able to run amass in parallel #929

Open encodedguy opened 1 year ago

encodedguy commented 1 year ago

I am not able to run two or more instances of amass at the same time.

Obad94 commented 1 year ago

Use different output directories (each with its own databases) or include all your registered domains in one enumeration.

To use different output directories with their own databases in Amass, you can leverage the -dir flag followed by the desired directory path. This allows you to separate the results of different enumerations into distinct directories. For example:

amass enum -dir /path/to/output1 -d example.com In the above command, the enumeration results for the domain "example.com" will be stored in the /path/to/output1 directory.

Similarly, you can perform additional enumerations with different output directories:

amass enum -dir /path/to/output2 -d example.org Here, the results for the domain "example.org" will be saved in the /path/to/output2 directory.

By using different output directories, you can keep the enumeration results separate and organized according to the specific domains being scanned.

Alternatively, if you want to include all your registered domains in a single enumeration, you can specify them in a text file and provide it as input to Amass using the -df flag:

amass enum -df /path/to/domains.txt In the domains.txt file, you can list all the domains you want to include in the enumeration, each on a separate line. This approach allows you to consolidate the results for all domains into a single output directory.