ruby-nmap icon indicating copy to clipboard operation
ruby-nmap copied to clipboard

A Ruby interface to nmap, the exploration tool and security / port scanner. Allows automating nmap and parsing nmap XML files.

Results 11 ruby-nmap issues
Sort by recently updated
recently updated
newest added

https://github.com/postmodern/ruby-nmap/blob/43e851324f9f725ad6e51b88a1e80a5f4c5ae98e/lib/nmap/host.rb#L266-L276 The above method checks if `uptime` exists within an nmap report and then parses the `lastboot` attribute as a timestamp. This fails if `lastboot` is the empty string and...

bug
needs-info

Replace the `Nmap::Scripts` module with a `Nmap::XML::Script` class that wraps around the `script` element. It must provide access to the `output` attribute as a String, and the child elements as...

feature

Add missing spec. `OS#each` just calls `#each_match`.

improvement
specs

Add missing spec.

improvement
specs

The following methods are missing specs: - `#mac` (requires `//host/address[@addrtype='mac']`) - `#ipv6` (requires `//host/address[@addrtype='ipv6']`) - `#each` (just calls `each_open_port`) - `#scripts` (requires //host/hostscript/script`) - `#traceroute` (requires `//host/trace`)

improvement
specs

Add missing spec.

improvement
specs

The following methods do not have specs: - `#ssl?` (requires `//service[@tunnel="ssl"]`) - `#protocol` (requires `//service[@proto]`) - `#extra_info` (requires `//service[@extrainfo]`) - `#hostname` (requires `//service[@hostname]`) - `#os_type` (requires `//service[@ostype]`) - `#device_type` (requires...

improvement
specs

Add missing spec.

improvement
specs

Add missing spec.

improvement
specs