kekkan 0.0.1 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +2 -0
- data/LICENSE +16 -22
- data/NEWS.markdown +4 -0
- data/README.markdown +2 -4
- data/Rakefile +38 -31
- data/bin/kekkan +16 -23
- data/kekkan.gemspec +26 -34
- data/lib/kekkan.rb +20 -31
- data/lib/kekkan/base.rb +16 -22
- data/lib/kekkan/base/schema.rb +16 -22
- data/lib/kekkan/cli.rb +16 -22
- data/lib/kekkan/cli/application.rb +16 -22
- data/lib/kekkan/cli/banner.rb +16 -24
- data/lib/kekkan/models.rb +16 -22
- data/lib/kekkan/models/assessmentcheck.rb +16 -22
- data/lib/kekkan/models/cvss.rb +16 -22
- data/lib/kekkan/models/entry.rb +16 -22
- data/lib/kekkan/models/reference.rb +16 -22
- data/lib/kekkan/models/scanner.rb +16 -22
- data/lib/kekkan/models/version.rb +16 -22
- data/lib/kekkan/models/vulnerablesoftwarelist.rb +16 -22
- data/lib/kekkan/parsers.rb +16 -22
- data/lib/kekkan/parsers/cve_2_sax_listener.rb +16 -22
- data/lib/kekkan/version.rb +28 -0
- metadata +46 -37
@@ -1,28 +1,22 @@
|
|
1
|
-
# Copyright (c) 2012 Arxopia LLC.
|
2
|
-
# All rights reserved.
|
1
|
+
# Copyright (c) 2012-2016 Arxopia LLC.
|
3
2
|
#
|
4
|
-
#
|
5
|
-
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the "Software"), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
6
9
|
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
# * Redistributions in binary form must reproduce the above copyright
|
10
|
-
# notice, this list of conditions and the following disclaimer in the
|
11
|
-
# documentation and/or other materials provided with the distribution.
|
12
|
-
# * Neither the name of the Arxopia LLC nor the names of its contributors
|
13
|
-
# may be used to endorse or promote products derived from this software
|
14
|
-
# without specific prior written permission.
|
10
|
+
# The above copyright notice and this permission notice shall be included in
|
11
|
+
# all copies or substantial portions of the Software.
|
15
12
|
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
#
|
21
|
-
#
|
22
|
-
#
|
23
|
-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
24
|
-
#OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
25
|
-
#OF THE POSSIBILITY OF SUCH DAMAGE.
|
13
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
# THE SOFTWARE.
|
26
20
|
|
27
21
|
module Kekkan
|
28
22
|
module Models
|
data/lib/kekkan/parsers.rb
CHANGED
@@ -1,28 +1,22 @@
|
|
1
|
-
# Copyright (c)
|
2
|
-
# All rights reserved.
|
1
|
+
# Copyright (c) 2012-2016 Arxopia LLC.
|
3
2
|
#
|
4
|
-
#
|
5
|
-
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the "Software"), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
6
9
|
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
# * Redistributions in binary form must reproduce the above copyright
|
10
|
-
# notice, this list of conditions and the following disclaimer in the
|
11
|
-
# documentation and/or other materials provided with the distribution.
|
12
|
-
# * Neither the name of the Arxopia LLC nor the names of its contributors
|
13
|
-
# may be used to endorse or promote products derived from this software
|
14
|
-
# without specific prior written permission.
|
10
|
+
# The above copyright notice and this permission notice shall be included in
|
11
|
+
# all copies or substantial portions of the Software.
|
15
12
|
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
#
|
21
|
-
#
|
22
|
-
#
|
23
|
-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
24
|
-
#OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
25
|
-
#OF THE POSSIBILITY OF SUCH DAMAGE.
|
13
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
# THE SOFTWARE.
|
26
20
|
|
27
21
|
module Kekkan
|
28
22
|
module Parsers
|
@@ -1,28 +1,22 @@
|
|
1
|
-
# Copyright (c) 2012 Arxopia LLC.
|
2
|
-
# All rights reserved.
|
1
|
+
# Copyright (c) 2012-2016 Arxopia LLC.
|
3
2
|
#
|
4
|
-
#
|
5
|
-
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the "Software"), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
6
9
|
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
# * Redistributions in binary form must reproduce the above copyright
|
10
|
-
# notice, this list of conditions and the following disclaimer in the
|
11
|
-
# documentation and/or other materials provided with the distribution.
|
12
|
-
# * Neither the name of the Arxopia LLC nor the names of its contributors
|
13
|
-
# may be used to endorse or promote products derived from this software
|
14
|
-
# without specific prior written permission.
|
10
|
+
# The above copyright notice and this permission notice shall be included in
|
11
|
+
# all copies or substantial portions of the Software.
|
15
12
|
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
#
|
21
|
-
#
|
22
|
-
#
|
23
|
-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
24
|
-
#OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
25
|
-
#OF THE POSSIBILITY OF SUCH DAMAGE.
|
13
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
# THE SOFTWARE.
|
26
20
|
|
27
21
|
ActiveRecord::Migration.verbose = false
|
28
22
|
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Copyright (c) 2012-2016 Arxopia LLC.
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the "Software"), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in
|
11
|
+
# all copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
# THE SOFTWARE.
|
20
|
+
|
21
|
+
module Kekkan
|
22
|
+
APP_NAME = "kekkan"
|
23
|
+
VERSION = "0.0.4"
|
24
|
+
AUTHOR = "Jacob Hammack"
|
25
|
+
EMAIL = "jacob.hammack@arxopia.com"
|
26
|
+
SITE = "http://arxopia.github.io/kekkan"
|
27
|
+
CONFIG_FILE = "./kekkan.cfg"
|
28
|
+
end
|
metadata
CHANGED
@@ -1,50 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kekkan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jacob Hammack
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2016-07-02 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
19
|
+
version: '4.2'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 4.2.6
|
22
23
|
type: :runtime
|
23
24
|
prerelease: false
|
24
25
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '4.2'
|
30
|
+
- - ">="
|
28
31
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
32
|
+
version: 4.2.6
|
30
33
|
- !ruby/object:Gem::Dependency
|
31
34
|
name: nokogiri
|
32
35
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
36
|
requirements:
|
35
|
-
- -
|
37
|
+
- - "~>"
|
36
38
|
- !ruby/object:Gem::Version
|
37
|
-
version: 1.
|
39
|
+
version: '1.6'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 1.6.8
|
38
43
|
type: :runtime
|
39
44
|
prerelease: false
|
40
45
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
46
|
requirements:
|
43
|
-
- -
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '1.6'
|
50
|
+
- - ">="
|
44
51
|
- !ruby/object:Gem::Version
|
45
|
-
version: 1.
|
52
|
+
version: 1.6.8
|
46
53
|
description: kekkan is an SAX XML parser and database for NVD CVE and CPE XML files.
|
47
|
-
email:
|
54
|
+
email: jacob.hammack@arxopia.com
|
48
55
|
executables:
|
49
56
|
- kekkan
|
50
57
|
extensions: []
|
@@ -52,52 +59,54 @@ extra_rdoc_files:
|
|
52
59
|
- README.markdown
|
53
60
|
- LICENSE
|
54
61
|
files:
|
62
|
+
- Gemfile
|
55
63
|
- LICENSE
|
56
64
|
- NEWS.markdown
|
57
65
|
- README.markdown
|
58
|
-
- TODO.markdown
|
59
66
|
- Rakefile
|
67
|
+
- TODO.markdown
|
68
|
+
- bin/kekkan
|
69
|
+
- kekkan.gemspec
|
70
|
+
- lib/kekkan.rb
|
60
71
|
- lib/kekkan/base.rb
|
61
|
-
- lib/kekkan/parsers.rb
|
62
|
-
- lib/kekkan/cli.rb
|
63
72
|
- lib/kekkan/base/schema.rb
|
64
|
-
- lib/kekkan/cli
|
73
|
+
- lib/kekkan/cli.rb
|
65
74
|
- lib/kekkan/cli/application.rb
|
66
|
-
- lib/kekkan/
|
67
|
-
- lib/kekkan/models
|
75
|
+
- lib/kekkan/cli/banner.rb
|
76
|
+
- lib/kekkan/models.rb
|
77
|
+
- lib/kekkan/models/assessmentcheck.rb
|
78
|
+
- lib/kekkan/models/cvss.rb
|
68
79
|
- lib/kekkan/models/entry.rb
|
69
80
|
- lib/kekkan/models/reference.rb
|
70
|
-
- lib/kekkan/models/
|
81
|
+
- lib/kekkan/models/scanner.rb
|
71
82
|
- lib/kekkan/models/version.rb
|
72
|
-
- lib/kekkan/models/cvss.rb
|
73
83
|
- lib/kekkan/models/vulnerablesoftwarelist.rb
|
74
|
-
- lib/kekkan/
|
75
|
-
- lib/kekkan.rb
|
76
|
-
- kekkan.
|
77
|
-
|
78
|
-
homepage: http://www.arxopia.com/projects/kekkan
|
84
|
+
- lib/kekkan/parsers.rb
|
85
|
+
- lib/kekkan/parsers/cve_2_sax_listener.rb
|
86
|
+
- lib/kekkan/version.rb
|
87
|
+
homepage: http://arxopia.github.io/kekkan
|
79
88
|
licenses:
|
80
|
-
-
|
89
|
+
- MIT
|
90
|
+
metadata: {}
|
81
91
|
post_install_message:
|
82
92
|
rdoc_options: []
|
83
93
|
require_paths:
|
84
94
|
- lib
|
85
95
|
required_ruby_version: !ruby/object:Gem::Requirement
|
86
|
-
none: false
|
87
96
|
requirements:
|
88
|
-
- -
|
97
|
+
- - ">="
|
89
98
|
- !ruby/object:Gem::Version
|
90
99
|
version: '0'
|
91
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
|
-
none: false
|
93
101
|
requirements:
|
94
|
-
- -
|
102
|
+
- - ">="
|
95
103
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
104
|
+
version: '0'
|
97
105
|
requirements: []
|
98
106
|
rubyforge_project: kekkan
|
99
|
-
rubygems_version:
|
107
|
+
rubygems_version: 2.6.6
|
100
108
|
signing_key:
|
101
|
-
specification_version:
|
109
|
+
specification_version: 4
|
102
110
|
summary: kekkan
|
103
111
|
test_files: []
|
112
|
+
has_rdoc: yard
|