diff --git a/Usage.md b/Usage.md index 34756c1..756e202 100644 --- a/Usage.md +++ b/Usage.md @@ -1,7 +1,7 @@ # Usage ``` -usage: autorecon.py [-t TARGET_FILE] [-p PORTS] [-m MAX_SCANS] [-mp MAX_PORT_SCANS] [-c CONFIG_FILE] [-g GLOBAL_FILE] [--tags TAGS] +usage: autorecon [-t TARGET_FILE] [-p PORTS] [-m MAX_SCANS] [-mp MAX_PORT_SCANS] [-c CONFIG_FILE] [-g GLOBAL_FILE] [--tags TAGS] [--exclude-tags TAGS] [--port-scans PLUGINS] [--service-scans PLUGINS] [--reports PLUGINS] [--plugins-dir PLUGINS_DIR] [--add-plugins-dir PLUGINS_DIR] [-l [TYPE]] [-o OUTPUT] [--single-target] [--only-scans-dir] [--no-port-dirs] [--heartbeat HEARTBEAT] [--timeout TIMEOUT] [--target-timeout TARGET_TIMEOUT] [--nmap NMAP | --nmap-append NMAP_APPEND] @@ -121,4 +121,28 @@ global plugin arguments: --global.domain VALUE The domain to use (if known). Used for DNS and/or Active Directory. Default: None +``` + +## Targets + +Targets are the only required argument for AutoRecon to function. Targets are accepted in various formats (single IP addresses, CIDR notation for ranges, and even hostnames that are resolvable by the OS. + +``` +autorecon 10.0.0.1 10.0.0.2 192.168.0.0/24 scanme.nmap.org +``` + +Alternatively, targets can be supplied by passing a valid target file to the `-t` or `--target-file` command line options. Targets within this file must be in the same acceptable formats, and be separated by a new line. An example file that matches the targets shown above would look like this: + +``` +10.0.0.1 +10.0.0.2 +192.168.0.0/24 +scanme.nmap.org +``` + +The file can be passed to AutoRecon in either of the following ways: + +``` +autorecon -t /path/to/file +autorecon --target-file /path/to/file ``` \ No newline at end of file