Sha256: 56d1f8a1f8ba09ac5eac06aabf1f68202f10a62481c38032b2e4a0a4653740dc
Contents?: true
Size: 1.2 KB
Versions: 2
Compression:
Stored size: 1.2 KB
Contents
module Dradis::Plugins::Nmap module Mapping DEFAULT_MAPPING = { host: { 'Title' => 'Nmap info: {{ nmap[host.ip] }}', 'IP' => '{{ nmap[host.ip] }}', 'Hostnames' => '{{ nmap[host.hostnames] }}', 'OS' => '{{ nmap[host.os] }}', 'Services' => "|_. Port number |_. Protocol |_. State |_. Service |_. Product |_. Version |\n{{ nmap[host.service_table] }}", 'Type' => 'Properties' }, port: { 'Title' => '{{ nmap[port.number] }}/{{ nmap[port.protocol] }} is {{ nmap[port.state] }} ({{ nmap[port.reason] }})', 'Service' => '{{ nmap[port.service.name] }}', 'Product' => '{{ nmap[port.service.product] }}', 'Version' => '{{ nmap[port.service.version] }}', 'Host' => '{{ nmap[port.host] }}' } }.freeze SOURCE_FIELDS = { host: [ 'host.hostnames', 'host.ip', 'host.service_table', 'host.os' ], port: [ 'port.number', 'port.protocol', 'port.state', 'port.reason', 'port.service.name', 'port.service.product', 'port.service.tunnel', 'port.service.version', 'port.host' ] }.freeze end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dradis-nmap-4.14.0 | lib/dradis/plugins/nmap/mapping.rb |
dradis-nmap-4.13.0 | lib/dradis/plugins/nmap/mapping.rb |