recog 2.0.8 → 2.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +7 -9
- data/COPYING +23 -0
- data/LICENSE +5 -21
- data/lib/recog/version.rb +1 -1
- data/xml/ftp_banners.xml +8 -0
- data/xml/http_servers.xml +15 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d1785649ccc5bd00c514b2963c659413584e803
|
4
|
+
data.tar.gz: 7f48e11585c4af802e79a1dedb68b504d54f6142
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a6b6a0648b32bc35a1c56c581c0f906ab0fef35e53e44d139aa1e3eaa8b0e04e3b4e26bc84df356937cce15bfd50d18c9dab59e7badc750f38de968de0a9eed
|
7
|
+
data.tar.gz: 9228765a199a1f24b1d001177cf77192de63bd03bb6989864f354b4be9bdddf4eda1af0240a4b4e498847ef0cad17b82ede5ab44ac44783363a3f876e80119ea
|
data/CONTRIBUTING.md
CHANGED
@@ -45,7 +45,7 @@ git fetch --all
|
|
45
45
|
If you have a contribution to make, first create a branch to contain your
|
46
46
|
work. The name is yours to choose, however generally it should roughly
|
47
47
|
describe what you are doing. In this example, and from here on out, the
|
48
|
-
branch will be FOO, but you should obviously change this
|
48
|
+
branch will be FOO, but you should obviously change this:
|
49
49
|
|
50
50
|
```
|
51
51
|
git fetch --all
|
@@ -54,13 +54,7 @@ git rebase upstream/master
|
|
54
54
|
git checkout -b FOO
|
55
55
|
```
|
56
56
|
|
57
|
-
Now, make your changes,
|
58
|
-
|
59
|
-
```
|
60
|
-
vim CONTRIBUTING.md
|
61
|
-
git add CONTRIBUTING.md
|
62
|
-
git commit -m "Add a document on how to contribute to recog" -a
|
63
|
-
```
|
57
|
+
Now, make your changes, commit as necessary with useful commit messages.
|
64
58
|
|
65
59
|
Please note that changes to [lib/recog/version.rb](https://github.com/rapid7/recog/blob/master/lib/recog/version.rb) in PRs are almost never necessary.
|
66
60
|
|
@@ -72,6 +66,10 @@ git push origin FOO
|
|
72
66
|
|
73
67
|
Finally, submit the PR. Navigate to ```https://github.com/<your-github-username>/recog/compare/FOO```, fill in the details and submit.
|
74
68
|
|
69
|
+
### Testing
|
70
|
+
|
71
|
+
When your PR is submitted, it will be automatically subjected to the full run of tests in [Travis](https://travis-ci.org/rapid7/recog/), however you are encourage to perform testing _before_ submitting the PR. To do this, simply run `rake tests`.
|
72
|
+
|
75
73
|
## Landing PRs
|
76
74
|
|
77
75
|
(Note: this portion is a work-in-progress. Please update it as things change)
|
@@ -100,7 +98,7 @@ In short:
|
|
100
98
|
```
|
101
99
|
git checkout -b landing-PR upstream/pr/PR
|
102
100
|
```
|
103
|
-
5. Test the PR
|
101
|
+
5. Test the PR (see the Testing section above)
|
104
102
|
6. Merge with master, re-test, validate and push:
|
105
103
|
|
106
104
|
```
|
data/COPYING
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
Copyright (c) 2014-2015, Rapid7
|
2
|
+
All rights reserved.
|
3
|
+
|
4
|
+
Redistribution and use in source and binary forms, with or without modification,
|
5
|
+
are permitted provided that the following conditions are met:
|
6
|
+
|
7
|
+
* Redistributions of source code must retain the above copyright notice, this
|
8
|
+
list of conditions and the following disclaimer.
|
9
|
+
|
10
|
+
* Redistributions in binary form must reproduce the above copyright notice, this
|
11
|
+
list of conditions and the following disclaimer in the documentation and/or
|
12
|
+
other materials provided with the distribution.
|
13
|
+
|
14
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
15
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
16
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
17
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
18
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
19
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
20
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
21
|
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
22
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
23
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/LICENSE
CHANGED
@@ -1,23 +1,7 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
2
|
+
Source: https://github.com/rapid7/recog
|
3
3
|
|
4
|
-
|
5
|
-
|
4
|
+
Files: *
|
5
|
+
Copyright: 2014-2015, Rapid7, Inc.
|
6
|
+
License: BSD-2-clause
|
6
7
|
|
7
|
-
* Redistributions of source code must retain the above copyright notice, this
|
8
|
-
list of conditions and the following disclaimer.
|
9
|
-
|
10
|
-
* Redistributions in binary form must reproduce the above copyright notice, this
|
11
|
-
list of conditions and the following disclaimer in the documentation and/or
|
12
|
-
other materials provided with the distribution.
|
13
|
-
|
14
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
15
|
-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
16
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
17
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
18
|
-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
19
|
-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
20
|
-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
21
|
-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
22
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
23
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/lib/recog/version.rb
CHANGED
data/xml/ftp_banners.xml
CHANGED
@@ -904,4 +904,12 @@ against these patterns to fingerprint FTP servers.
|
|
904
904
|
<example>FTP Server Ready</example>
|
905
905
|
<example>FTP service ready.</example>
|
906
906
|
</fingerprint>
|
907
|
+
|
908
|
+
<fingerprint pattern="^Welcom to ProRat Ftp Server$">
|
909
|
+
<description>The FTP server of the ProRat malware</description>
|
910
|
+
<example>Welcom to ProRat Ftp Server</example>
|
911
|
+
<param pos="0" name="service.vendor" value="Pro Group"/>
|
912
|
+
<param pos="0" name="service.product" value="ProRat"/>
|
913
|
+
</fingerprint>
|
914
|
+
|
907
915
|
</fingerprints>
|
data/xml/http_servers.xml
CHANGED
@@ -1781,6 +1781,14 @@
|
|
1781
1781
|
<param pos="0" name="service.product" value="Oracle Application Server Containers"/>
|
1782
1782
|
<param pos="0" name="service.family" value="Oracle"/>
|
1783
1783
|
<param pos="1" name="service.version"/>
|
1784
|
+
</fingerprint>
|
1785
|
+
|
1786
|
+
<fingerprint pattern="^Oracle Containers for J2EE$">
|
1787
|
+
<example>Oracle Containers for J2EE</example>
|
1788
|
+
<description>Oracle Application Server Containers for J2EE</description>
|
1789
|
+
<param pos="0" name="service.vendor" value="Oracle"/>
|
1790
|
+
<param pos="0" name="service.product" value="Oracle Application Server Containers"/>
|
1791
|
+
<param pos="0" name="service.family" value="Oracle"/>
|
1784
1792
|
</fingerprint>
|
1785
1793
|
|
1786
1794
|
<fingerprint pattern="^Oracle Application Server/10g \(([\d.]+)\) Apache/([12][\d.]+)\s*(.*)$">
|
@@ -3376,6 +3384,13 @@
|
|
3376
3384
|
<param pos="1" name="service.version"/>
|
3377
3385
|
</fingerprint>
|
3378
3386
|
|
3387
|
+
<fingerprint pattern="^Aspen/(\S+)">
|
3388
|
+
<description>Aspen web server</description>
|
3389
|
+
<example service.version="0.8">Aspen/0.8</example>
|
3390
|
+
<param pos="0" name="service.product" value="Aspen"/>
|
3391
|
+
<param pos="1" name="service.version"/>
|
3392
|
+
</fingerprint>
|
3393
|
+
|
3379
3394
|
<fingerprint pattern="^Boa/([\d\.]+\S*)">
|
3380
3395
|
<description>Boa web server</description>
|
3381
3396
|
<example service.version="0.94.14rc21">Boa/0.94.14rc21</example>
|
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.0.
|
4
|
+
version: 2.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rapid7 Research
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -126,6 +126,7 @@ files:
|
|
126
126
|
- ".travis.yml"
|
127
127
|
- ".yardopts"
|
128
128
|
- CONTRIBUTING.md
|
129
|
+
- COPYING
|
129
130
|
- Gemfile
|
130
131
|
- LICENSE
|
131
132
|
- README.md
|