From b07b01f8b13f5df04b6faea38a317bd0db3152a2 Mon Sep 17 00:00:00 2001 From: Fazle Arefin Date: Sun, 17 Mar 2024 05:33:07 +1100 Subject: [PATCH] amass*: edit pages (#12504) * amass-enum: add example * amass-db: remove non existent subcommand This subcommand has been moved to a separate tool called `oam-tools` * amass: update examples * amass-intel: update more information link * amass-enum: update more information link * amass-intel: add example * amass-*: maintenance changes * Update pages/common/amass-intel.md Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> * Update pages/common/amass-intel.md Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> * Update pages/common/amass.md Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> * Update pages/common/amass.md Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> * Update pages/common/amass-enum.md Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> --------- Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> --- pages/common/amass-db.md | 20 -------------------- pages/common/amass-enum.md | 16 ++++++++++------ pages/common/amass-intel.md | 10 +++++++--- pages/common/amass.md | 10 +++++----- 4 files changed, 22 insertions(+), 34 deletions(-) delete mode 100644 pages/common/amass-db.md diff --git a/pages/common/amass-db.md b/pages/common/amass-db.md deleted file mode 100644 index 78185cbd5..000000000 --- a/pages/common/amass-db.md +++ /dev/null @@ -1,20 +0,0 @@ -# amass db - -> Interact with an Amass database. -> More information: . - -- List all performed enumerations in the database: - -`amass db -dir {{path/to/database_directory}} -list` - -- Show results for a specified enumeration index and [d]omain name: - -`amass db -dir {{path/to/database_directory}} -d {{domain_name}} -enum {{index_from_list}} -show` - -- List all found subdomains of a [d]omain within an enumeration: - -`amass db -dir {{path/to/database_directory}} -d {{domain_name}} -enum {{index_from_list}} -names` - -- Show a summary of the found subdomains within an enumeration: - -`amass db -dir {{path/to/database_directory}} -d {{domain_name}} -enum {{index_from_list}} -summary` diff --git a/pages/common/amass-enum.md b/pages/common/amass-enum.md index f7be6935b..af850d0e4 100644 --- a/pages/common/amass-enum.md +++ b/pages/common/amass-enum.md @@ -1,17 +1,17 @@ # amass enum > Find subdomains of a domain. -> More information: . +> More information: . -- Passively find subdomains of a [d]omain: +- Find (passively) subdomains of a [d]omain: -`amass enum -passive -d {{domain_name}}` +`amass enum -d {{domain_name}}` - Find subdomains of a [d]omain and actively verify them attempting to resolve the found subdomains: `amass enum -active -d {{domain_name}} -p {{80,443,8080}}` -- Do a brute force search for subdomains: +- Do a brute force search for sub[d]omains: `amass enum -brute -d {{domain_name}}` @@ -19,6 +19,10 @@ `amass enum -o {{output_file}} -d {{domain_name}}` -- Save the results to a database: +- Save terminal output to a file and other detailed output to a directory: -`amass enum -o {{output_file}} -dir {{path/to/database_directory}}` +`amass enum -o {{output_file}} -dir {{path/to/directory}} -d {{domain_name}}` + +- List all available data sources: + +`amass enum -list` diff --git a/pages/common/amass-intel.md b/pages/common/amass-intel.md index 63f2b29a1..f9ef04e6c 100644 --- a/pages/common/amass-intel.md +++ b/pages/common/amass-intel.md @@ -1,9 +1,9 @@ # amass intel > Collect open source intel on an organisation like root domains and ASNs. -> More information: . +> More information: . -- Find root domains in an IP address range: +- Find root domains in an IP [addr]ess range: `amass intel -addr {{192.168.0.1-254}}` @@ -15,7 +15,7 @@ `amass intel -whois -d {{domain_name}}` -- Find ASNs belonging to an organisation: +- Find ASNs belonging to an [org]anisation: `amass intel -org {{organisation_name}}` @@ -26,3 +26,7 @@ - Save results to a text file: `amass intel -o {{output_file}} -whois -d {{domain_name}}` + +- List all available data sources: + +`amass intel -list` diff --git a/pages/common/amass.md b/pages/common/amass.md index b3b87e9bd..aae7b17b8 100644 --- a/pages/common/amass.md +++ b/pages/common/amass.md @@ -1,20 +1,20 @@ # amass > In-depth Attack Surface Mapping and Asset Discovery tool. -> Some subcommands such as `amass db` have their own usage documentation. -> More information: . +> Some subcommands such as `amass intel` have their own usage documentation. +> More information: . - Execute an Amass subcommand: -`amass {{subcommand}}` +`amass {{intel|enum}} {{options}}` - Display help: `amass -help` -- Display help on an Amass subcommand (like `intel`, `enum`, etc.): +- Display help on an Amass subcommand: -`amass -help {{subcommand}}` +`amass {{intel|enum}} -help` - Display version: