Updated Usage (markdown)

Tib3rius 2022-01-18 21:44:30 -05:00
parent 7b23168030
commit 335bec4f00
1 changed files with 23 additions and 4 deletions

@ -177,8 +177,8 @@ 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
autorecon -t /path/to/targets
autorecon --target-file /path/to/targets
```
## Ports
@ -221,13 +221,32 @@ The `-m` and `--max-scans` command line options control the maximum number of sc
```
autorecon -m 10 <target>
autorecon -max-scans 10 <target>
```
## Max Port Scans
The max port scans option controls the maximum number of PortScans that can be running at any one time. This defaults to 20% of the max scans value (see above), however this can be overridden using the `-mp` and `--max-port-scans` command line options. It must be at least one, and cannot be more than the max scans value (but can be equal to it). The following example sets the max number of port scans to 5:
The max port scans option controls the maximum number of PortScans that can be running at any one time. This defaults to 20% of the max scans value (see above), however this can be overridden using the `-mp` and `--max-port-scans` command line options. It must be at least one, and cannot be more than the max scans value (but can be equal to it). Generally speaking, the higher the value, the more targets will be scanned concurrently, because the PortScan plugins run first. The following example sets the max number of port scans to 5:
```
autorecon -mp 5 <target>
autorecon --max-port-scans 5 <target>
```
## Config File
AutoRecon looks in multiple places for its config file (config.toml). It will first check the current working directory for the file, and if not found, will use the one automatically created at ~/.config/AutoRecon/config.toml. The command line option `-c` and `--config` will override this behavior, and force AutoRecon to use the one specified:
```
autorecon -c /path/to/config.toml <target>
autorecon --config /path/to/config.toml <target>
```
## Global File
Like the config file, AutoRecon looks in multiple places for its global file (global.toml). It will first check the current working directory for the file, and if not found, will use the one automatically created at ~/.config/AutoRecon/global.toml. The command line option `-g` and `--global` will override this behavior, and force AutoRecon to use the one specified:
```
autorecon -g /path/to/global.toml
autorecon --global /path/to/global.toml
```