ruby-nmap 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.md +5 -0
- data/lib/nmap/host.rb +1 -1
- data/lib/nmap/os.rb +3 -1
- data/lib/nmap/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ec9653096300b006396e901561274a5894b1911
|
4
|
+
data.tar.gz: 6de1e05e3c5ca03ca8e9fb01fda0f57a53fd5ba0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 964c9a724ea5c614424fcc1fa41c8e0ba17985f57d34c4251d7fa458aa207d56bf6b1df7a2794af6818c9d7dedeb17004fea77557bd1ed2f1eb475747d51dbaf
|
7
|
+
data.tar.gz: 573184c1bd016b3689538ba5173d607590ba42572016b33c23494faecfbdc33f87a9e70bcab2d5a4d43d75df38e137514b47a2f26fbf7b1d3472ef86f0dca79a
|
data/ChangeLog.md
CHANGED
data/lib/nmap/host.rb
CHANGED
data/lib/nmap/os.rb
CHANGED
@@ -109,7 +109,9 @@ module Nmap
|
|
109
109
|
# The OS fingerprint.
|
110
110
|
#
|
111
111
|
def fingerprint
|
112
|
-
@fingerprint ||= @node.at("osfingerprint/@fingerprint")
|
112
|
+
@fingerprint ||= if (fingerprint = @node.at("osfingerprint/@fingerprint"))
|
113
|
+
fingerprint.inner_text
|
114
|
+
end
|
113
115
|
end
|
114
116
|
|
115
117
|
#
|
data/lib/nmap/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-nmap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Postmodern
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|