cif-client 1.0.3 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +1 -0
- data.tar.gz.sig +1 -4
- data/cif-client.gemspec +2 -2
- data/lib/cif/client.rb +5 -4
- data/lib/cif/client/version.rb +1 -1
- metadata +35 -54
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 33d88d9d1618e47335347f1c07369d3e919937cd
|
4
|
+
data.tar.gz: a019752359cc76c33aaf776a88b885037008334d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5dbde1276b4b250489b368a81f42b732b31929f304d00d38fbbceac83bc05fd9246ee01667357b138b373ec464add60eaee6d6a08ba1d86e8932c07220492f56
|
7
|
+
data.tar.gz: f29e3f3335787ae5983feb376b271bee67aa07078c3944aaadf0bd5e38cf2b95441c76e795cf37a9cd29151c43fa43f146ed06c85cf8d13ad2b10c17f3fddade
|
checksums.yaml.gz.sig
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
�����پRqo*��0��՝>�(F�� ���Oq�W�lN:�R��D������ȖSPm��v~z��'�/��*��<]o� ;rg�0�k�i����,���50��wJ�($H~L�~�5��ૹ����yQnZr��C[�����Y�61�g},���A!�!��8�"}���\������>a֢�C ƘE������^~�DoM�Dׅ���'�2�����u2ϒ�S�]5��co�Г/`�|'������
|
data.tar.gz.sig
CHANGED
@@ -1,4 +1 @@
|
|
1
|
-
|
2
|
-
�qo��Ȥ"j�b��>��]_܇�#��OS5�Bg�+��g�]I�p!�Yv���"y4L�ɟ�n8mSv�=�`����'vC���3y�i�!{1
|
3
|
-
�F�9*"�~�j��z�2r~�����{��:����z�3QT�~B���3y���/�z
|
4
|
-
@��s$���-�B����^QFf���
|
1
|
+
���5���^o���(���L?���&�bޚ�֓QAPdi!��E3����m.C_w�@��_i��@�Ix�k(��?P?f����k�ȹN�oc��Bښ�V��Wn�0>3�gN��Q�h���#��@���Da�ܚ+Rm���&�j�1Y&�7�c��2�1[�]�h~C�dD�(E&"ё5���X=s�`� N�XYnA#s�c�]�2�uorP�D����h�_ߤ�*�Cf�K���8��`�K(��;��
|
data/cif-client.gemspec
CHANGED
@@ -18,9 +18,9 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_runtime_dependency "configparser", "~> 0.1.
|
21
|
+
spec.add_runtime_dependency "configparser", "~> 0.1.2"
|
22
22
|
spec.add_runtime_dependency "json", "~> 1.4.3"
|
23
|
-
spec.add_runtime_dependency "snort-rule", "~> 0.
|
23
|
+
spec.add_runtime_dependency "snort-rule", "~> 0.1.1"
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.3"
|
25
25
|
spec.add_development_dependency "rake"
|
26
26
|
|
data/lib/cif/client.rb
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
# DESCRIPTION: queries collective-intelligence-framework sources
|
2
|
+
require 'cif/client/version'
|
2
3
|
require 'json'
|
3
4
|
require 'net/http'
|
4
5
|
require 'net/https'
|
5
|
-
require 'digest/sha1'
|
6
|
-
require 'zlib'
|
7
|
-
require 'base64'
|
6
|
+
#require 'digest/sha1'
|
7
|
+
#require 'zlib'
|
8
|
+
#require 'base64'
|
8
9
|
require 'openssl'
|
9
10
|
|
10
11
|
module CIF
|
@@ -36,7 +37,7 @@ module CIF
|
|
36
37
|
doc = response.body
|
37
38
|
data = JSON.parse(doc)
|
38
39
|
@response_code = data['status']
|
39
|
-
if data['data'] and data['data']
|
40
|
+
if data['data'] and data['data']['feed']
|
40
41
|
feed = data['data']['feed']
|
41
42
|
end
|
42
43
|
feed
|
data/lib/cif/client/version.rb
CHANGED
metadata
CHANGED
@@ -1,65 +1,54 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cif-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- chrislee35
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain:
|
12
|
-
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
eTFTYTRYcVRDMllDCm81MXM3SlArdGtDQ3RwVllTZHpKaFRsbGllUkFXQnBH
|
36
|
-
VjFkdGFvZVVLRTZ0WVBNQmtvc3hTUmNWR2N6ay9TYzMKN2VRQ3BleFl5OUps
|
37
|
-
VUJJOXUzQnFJWTlFK2wrTVNuOGloWFNQbXlLMERncmhhQ3Urdm9hU0ZWT1g2
|
38
|
-
WStCNXFibwpqTFhNUXUyWmdJU1l3WE5qTmJHVkhlaHV0ODJVN1U5b2lIb1dj
|
39
|
-
ck9HYXphUlVtR085VFhQK2FKTEgwZ3cyZGNLCkFmTWdsWFBpCi0tLS0tRU5E
|
40
|
-
IENFUlRJRklDQVRFLS0tLS0K
|
41
|
-
date: 2013-06-02 00:00:00.000000000 Z
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDYjCCAkqgAwIBAgIBADANBgkqhkiG9w0BAQUFADBXMREwDwYDVQQDDAhydWJ5
|
14
|
+
Z2VtczEYMBYGCgmSJomT8ixkARkWCGNocmlzbGVlMRMwEQYKCZImiZPyLGQBGRYD
|
15
|
+
ZGhzMRMwEQYKCZImiZPyLGQBGRYDb3JnMB4XDTEzMDUyMjEyNTk0N1oXDTE0MDUy
|
16
|
+
MjEyNTk0N1owVzERMA8GA1UEAwwIcnVieWdlbXMxGDAWBgoJkia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
|
33
|
+
date: 2014-04-18 00:00:00.000000000 Z
|
42
34
|
dependencies:
|
43
35
|
- !ruby/object:Gem::Dependency
|
44
36
|
name: configparser
|
45
37
|
requirement: !ruby/object:Gem::Requirement
|
46
|
-
none: false
|
47
38
|
requirements:
|
48
39
|
- - ~>
|
49
40
|
- !ruby/object:Gem::Version
|
50
|
-
version: 0.1.
|
41
|
+
version: 0.1.2
|
51
42
|
type: :runtime
|
52
43
|
prerelease: false
|
53
44
|
version_requirements: !ruby/object:Gem::Requirement
|
54
|
-
none: false
|
55
45
|
requirements:
|
56
46
|
- - ~>
|
57
47
|
- !ruby/object:Gem::Version
|
58
|
-
version: 0.1.
|
48
|
+
version: 0.1.2
|
59
49
|
- !ruby/object:Gem::Dependency
|
60
50
|
name: json
|
61
51
|
requirement: !ruby/object:Gem::Requirement
|
62
|
-
none: false
|
63
52
|
requirements:
|
64
53
|
- - ~>
|
65
54
|
- !ruby/object:Gem::Version
|
@@ -67,7 +56,6 @@ dependencies:
|
|
67
56
|
type: :runtime
|
68
57
|
prerelease: false
|
69
58
|
version_requirements: !ruby/object:Gem::Requirement
|
70
|
-
none: false
|
71
59
|
requirements:
|
72
60
|
- - ~>
|
73
61
|
- !ruby/object:Gem::Version
|
@@ -75,23 +63,20 @@ dependencies:
|
|
75
63
|
- !ruby/object:Gem::Dependency
|
76
64
|
name: snort-rule
|
77
65
|
requirement: !ruby/object:Gem::Requirement
|
78
|
-
none: false
|
79
66
|
requirements:
|
80
67
|
- - ~>
|
81
68
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
69
|
+
version: 0.1.1
|
83
70
|
type: :runtime
|
84
71
|
prerelease: false
|
85
72
|
version_requirements: !ruby/object:Gem::Requirement
|
86
|
-
none: false
|
87
73
|
requirements:
|
88
74
|
- - ~>
|
89
75
|
- !ruby/object:Gem::Version
|
90
|
-
version: 0.
|
76
|
+
version: 0.1.1
|
91
77
|
- !ruby/object:Gem::Dependency
|
92
78
|
name: bundler
|
93
79
|
requirement: !ruby/object:Gem::Requirement
|
94
|
-
none: false
|
95
80
|
requirements:
|
96
81
|
- - ~>
|
97
82
|
- !ruby/object:Gem::Version
|
@@ -99,7 +84,6 @@ dependencies:
|
|
99
84
|
type: :development
|
100
85
|
prerelease: false
|
101
86
|
version_requirements: !ruby/object:Gem::Requirement
|
102
|
-
none: false
|
103
87
|
requirements:
|
104
88
|
- - ~>
|
105
89
|
- !ruby/object:Gem::Version
|
@@ -107,17 +91,15 @@ dependencies:
|
|
107
91
|
- !ruby/object:Gem::Dependency
|
108
92
|
name: rake
|
109
93
|
requirement: !ruby/object:Gem::Requirement
|
110
|
-
none: false
|
111
94
|
requirements:
|
112
|
-
- -
|
95
|
+
- - '>='
|
113
96
|
- !ruby/object:Gem::Version
|
114
97
|
version: '0'
|
115
98
|
type: :development
|
116
99
|
prerelease: false
|
117
100
|
version_requirements: !ruby/object:Gem::Requirement
|
118
|
-
none: false
|
119
101
|
requirements:
|
120
|
-
- -
|
102
|
+
- - '>='
|
121
103
|
- !ruby/object:Gem::Version
|
122
104
|
version: '0'
|
123
105
|
description: CIF is a cyber threat intelligence management system. CIF allows you
|
@@ -146,27 +128,26 @@ files:
|
|
146
128
|
homepage: https://code.google.com/p/collective-intelligence-framework/
|
147
129
|
licenses:
|
148
130
|
- MIT
|
131
|
+
metadata: {}
|
149
132
|
post_install_message:
|
150
133
|
rdoc_options: []
|
151
134
|
require_paths:
|
152
135
|
- lib
|
153
136
|
required_ruby_version: !ruby/object:Gem::Requirement
|
154
|
-
none: false
|
155
137
|
requirements:
|
156
|
-
- -
|
138
|
+
- - '>='
|
157
139
|
- !ruby/object:Gem::Version
|
158
140
|
version: '0'
|
159
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
160
|
-
none: false
|
161
142
|
requirements:
|
162
|
-
- -
|
143
|
+
- - '>='
|
163
144
|
- !ruby/object:Gem::Version
|
164
145
|
version: '0'
|
165
146
|
requirements: []
|
166
147
|
rubyforge_project:
|
167
|
-
rubygems_version: 1.
|
148
|
+
rubygems_version: 2.1.11
|
168
149
|
signing_key:
|
169
|
-
specification_version:
|
150
|
+
specification_version: 4
|
170
151
|
summary: Ruby-based client and library for the Collective Intelligence Framework
|
171
152
|
test_files:
|
172
153
|
- test/helper.rb
|
metadata.gz.sig
CHANGED
Binary file
|