recog 2.1.35 → 2.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/recog/version.rb +1 -1
- data/spec/lib/fingerprint_self_test_spec.rb +5 -0
- data/xml/mdns_device-info_txt.xml +1 -1
- data/xml/mysql_banners.xml +1 -1
- data/xml/snmp_sysdescr.xml +1 -1
- data/xml/telnet_banners.xml +17 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38bdc881c4ede4d0940ef9fde54b73dff9b76d81
|
4
|
+
data.tar.gz: b14431b396c9a8405ca5db785226b8324e404b94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 223ebf60ee2383bb813fd15ef20c1ad2362336f30e633c4a8b7799f5801e54f1a196189a85137767901c953a04a83d081142d8618e83abc275e54467912427c9
|
7
|
+
data.tar.gz: d07e6f5fe1415e4bc16d48ec7e847b00b50ce57ab816457f63603284f85e0a2961f78315c26c1bb4cd6c964c3d1770dccf770124b4b033d6a00d17e7beb37894
|
data/lib/recog/version.rb
CHANGED
@@ -33,6 +33,11 @@ describe Recog::DB do
|
|
33
33
|
|
34
34
|
context "#{fp.name}" do
|
35
35
|
param_names = []
|
36
|
+
it "has consistent os.device and hw.device" do
|
37
|
+
if fp.params['os.device'] && fp.params['hw.device'] && (fp.params['os.device'] != fp.params['hw.device'])
|
38
|
+
fail "#{fp.name} has both hw.device and os.device but with differing values"
|
39
|
+
end
|
40
|
+
end
|
36
41
|
fp.params.each do |param_name, pos_value|
|
37
42
|
pos, value = pos_value
|
38
43
|
it "has valid looking fingerprint parameter names" do
|
@@ -12,7 +12,7 @@
|
|
12
12
|
The number specified after osxvers= is equivalent to the major
|
13
13
|
version of OS X plus 4. E.g. osxvers=13 means OS X 10.9
|
14
14
|
-->
|
15
|
-
|
15
|
+
<fingerprint pattern="^osxvers=18">
|
16
16
|
<description>OS X 10.14 (Mojave)</description>
|
17
17
|
<example>osxvers=18</example>
|
18
18
|
<param pos="0" name="os.vendor" value="Apple"/>
|
data/xml/mysql_banners.xml
CHANGED
@@ -1207,7 +1207,7 @@
|
|
1207
1207
|
<param pos="0" name="os.device" value="Storage"/>
|
1208
1208
|
<param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:-"/>
|
1209
1209
|
<param pos="0" name="hw.vendor" value="Netgear"/>
|
1210
|
-
<param pos="0" name="hw.device" value="
|
1210
|
+
<param pos="0" name="hw.device" value="Storage"/>
|
1211
1211
|
<param pos="0" name="hw.family" value="ReadyNAS"/>
|
1212
1212
|
<param pos="0" name="hw.product" value="ReadyNAS"/>
|
1213
1213
|
</fingerprint>
|
data/xml/snmp_sysdescr.xml
CHANGED
@@ -2708,7 +2708,7 @@ Copyright (c) 1995-2005 by Cisco Systems
|
|
2708
2708
|
<param pos="0" name="os.vendor" value="HP"/>
|
2709
2709
|
<param pos="0" name="os.family" value="TippingPoint"/>
|
2710
2710
|
<param pos="0" name="os.device" value="IPS"/>
|
2711
|
-
<param pos="0" name="hw.device" value="
|
2711
|
+
<param pos="0" name="hw.device" value="IPS"/>
|
2712
2712
|
</fingerprint>
|
2713
2713
|
<fingerprint pattern="^Integrated Lights-Out (\d) \d+\.\d+ [A-Za-z]{3} \d{1,2} \d{4}$">
|
2714
2714
|
<description>HP Integrated Lights-Out (iLO) with firmware version</description>
|
data/xml/telnet_banners.xml
CHANGED
@@ -662,11 +662,23 @@
|
|
662
662
|
<param pos="0" name="hw.device" value="Cable Modem"/>
|
663
663
|
<param pos="1" name="hw.product"/>
|
664
664
|
</fingerprint>
|
665
|
-
<fingerprint pattern="^(?:\r|\n)*ADB-4820CD login:\s*$"
|
666
|
-
<
|
667
|
-
|
668
|
-
<param pos="0" name="hw.vendor" value="
|
669
|
-
|
665
|
+
<fingerprint pattern="^(?:\r|\n)*ADB-4820CD login:\s*$">
|
666
|
+
<description>ADB ADB-4820CD DVR</description>
|
667
|
+
<example>ADB-4820CD login:</example>
|
668
|
+
<param pos="0" name="hw.vendor" value="ADB"/>
|
669
|
+
<param pos="0" name="hw.device" value="DVR"/>
|
670
|
+
<param pos="0" name="hw.product" value="ADB-4820CD"/>
|
671
|
+
</fingerprint>
|
672
|
+
<fingerprint pattern="^(?:\r|\n)*IMDVRS login:\s*$">
|
673
|
+
<description>Rifatron IMDVRS DVR</description>
|
674
|
+
<example>IMDVRS login:</example>
|
675
|
+
<param pos="0" name="hw.vendor" value="Rifatron"/>
|
676
|
+
<param pos="0" name="hw.family" value="IMDVR"/>
|
677
|
+
<param pos="0" name="hw.device" value="DVR"/>
|
678
|
+
</fingerprint>
|
679
|
+
<fingerprint pattern="^(?:\r|\n)*Ruijie login:\s*$">
|
680
|
+
<description>Ruijie device (likely router/switch)</description>
|
681
|
+
<example>Ruijie login:</example>
|
670
682
|
<param pos="0" name="hw.vendor" value="Ruijie"/></fingerprint>
|
671
683
|
<fingerprint pattern="^Welcome to Microsoft Telnet Service \r\n\n\rlogin:\s*$">
|
672
684
|
<description>Microsoft Windows</description>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.36
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rapid7 Research
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -248,7 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
248
248
|
version: '0'
|
249
249
|
requirements: []
|
250
250
|
rubyforge_project:
|
251
|
-
rubygems_version: 2.
|
251
|
+
rubygems_version: 2.5.2
|
252
252
|
signing_key:
|
253
253
|
specification_version: 4
|
254
254
|
summary: Network service fingerprint database, classes, and utilities
|