NAME
ronin-masscan-scan - Runs masscan and outputs data as JSON or CSV or imports into the database
SYNOPSIS
ronin-masscan scan [options] -- masscan_options …
DESCRIPTION
Runs masscan and outputs data as JSON or CSV or imports into the database.
ARGUMENTS
- masscan_options
- Additional options for the
masscancommand.
OPTIONS
--dbNAME- The database name to connect to. Defaults to
defaultif not given. --db-uriURI- The explicit database URI to connect to
(ex:
postgres://user:password@host/db). --db-filePATH- The sqlite3 database file to use.
--sudo- Explicitly run
masscanundersudo. If the option is not given, thensudowill automatically be enabled if the masscan_options includes a privileged option (ex:-sS,-O, etc). -o,--outputFILE- Sets the output file to save the
masscanscan results to. May be a.xml,.json, or.csvfile. -F,--output-formatjson|csv- Explicitly specify the output format to JSON or CSV. If the option is
not given, the output format Will be inferred from the
--outputFILE file extension. --import- Imports the
masscanscan results into the Ronin database. -h,--help- Print help information
ENVIRONMENT
- HOME
- The user’s home directory.
- XDG_CONFIG_HOME
- Alternate location for the
~/.configdirectory. - XDG_DATA_HOME
- Alternate location for the
~/.local/sharedirectory.
FILES
~/.local/share/ronin-db/database.sqlite3- The default sqlite3 database file.
~/.config/ronin-db/database.yml- Optional database configuration.
EXAMPLES
Port scans 192.168.1.1 and save the scan results to a JSON file:
$ ronin-masscan scan -o scan.json -- 192.168.1.1 -p80,443,...
Service scans 192.168.1.1 and saves the scan results to the Ronin database:
$ ronin-masscan scan --import -- 192.168.1.1 -p80,443,...
AUTHOR
Postmodern postmodern.mod3@gmail.com