Class | Nmap::Parser::Session |
In: |
lib/nmap/parser.rb
|
Parent: | Object |
This holds session information, such as runtime, Nmap‘s arguments, and verbosity/debugging
verbose | -> | verbosity |
debug | -> | debugging |
debug | [R] | Amount of debugging (-d) used while scanning |
nmap_version | [R] | The Nmap version number used to scan |
scan_args | [R] | Holds the command run to initiate the scan |
scan_time | [R] | Total scan time in seconds (can differ from stop_time - start_time) |
start_str | [R] | Starting time |
start_time | [R] | Starting time |
stop_str | [R] | Ending time |
stop_time | [R] | Ending time |
verbose | [R] | Amount of verbosity (-v) used while scanning |
xml_version | [R] | XML version of Nmap‘s output |
Returns the total number of services that were scanned or, if an argument is given, returns the number of services scanned for type (e.g. "syn")
Returns the scanflags associated with the specified scan type (e.g. "PSHACK" for type "ack")