recog 2.1.35 → 2.1.36

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 30b7547a20fa0a47c0e90975d8d5b03c9bc13b6b
4
- data.tar.gz: e79f2bc6b4b00bf3d993f8afe1d493027e1c1222
3
+ metadata.gz: 38bdc881c4ede4d0940ef9fde54b73dff9b76d81
4
+ data.tar.gz: b14431b396c9a8405ca5db785226b8324e404b94
5
5
  SHA512:
6
- metadata.gz: b2338e4414b40c54643a430dd305d6ed3747bbb292dd36e92dfc9a830de10a7b09709c1af7a7f20d1c375af45c5b2320d6705a085600c3861be320f773de8c89
7
- data.tar.gz: 5c7bfec7fb9ecf43b5b8447af072f517e63d237477c1331b8d0cba39540aa7e27b02d7c97189b69bc8e8238ce6f242c26b69aaff65a57eeae10c6d05f9a5b02e
6
+ metadata.gz: 223ebf60ee2383bb813fd15ef20c1ad2362336f30e633c4a8b7799f5801e54f1a196189a85137767901c953a04a83d081142d8618e83abc275e54467912427c9
7
+ data.tar.gz: d07e6f5fe1415e4bc16d48ec7e847b00b50ce57ab816457f63603284f85e0a2961f78315c26c1bb4cd6c964c3d1770dccf770124b4b033d6a00d17e7beb37894
data/lib/recog/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Recog
2
- VERSION = '2.1.35'
2
+ VERSION = '2.1.36'
3
3
  end
@@ -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
- <fingerprint pattern="^osxvers=18">
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"/>
@@ -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="General"/>
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>
@@ -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="TippingPoint Core Controller"/>
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>
@@ -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*$"><description>ADB ADB-4820CD DVR</description><example>ADB-4820CD login:</example>&gt;
666
- <param pos="0" name="hw.vendor" value="ADB"/><param pos="0" name="hw.device" value="DVR"/><param pos="0" name="hw.product" value="ADB-4820CD"/></fingerprint>
667
- <fingerprint pattern="^(?:\r|\n)*IMDVRS login:\s*$"><description>Rifatron IMDVRS DVR</description><example>IMDVRS login:</example>&gt;
668
- <param pos="0" name="hw.vendor" value="Rifatron"/><param pos="0" name="hw.family" value="IMDVR"/><param pos="0" name="hw.device" value="DVR"/></fingerprint>
669
- <fingerprint pattern="^(?:\r|\n)*Ruijie login:\s*$"><description>Ruijie device (likely router/switch) </description><example>Ruijie login:</example>&gt;
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.35
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-08 00:00:00.000000000 Z
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.6.11
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