scanny 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/Gemfile +11 -0
- data/LICENSE +23 -0
- data/README.md +185 -0
- data/Rakefile +5 -0
- data/bin/scanny +61 -0
- data/lib/scanny.rb +12 -0
- data/lib/scanny/checks/access_control_check.rb +52 -0
- data/lib/scanny/checks/backticks_check.rb +18 -0
- data/lib/scanny/checks/before_filters_check.rb +35 -0
- data/lib/scanny/checks/check.rb +33 -0
- data/lib/scanny/checks/csrf_check.rb +19 -0
- data/lib/scanny/checks/denial_of_service_check.rb +42 -0
- data/lib/scanny/checks/file_open_check.rb +46 -0
- data/lib/scanny/checks/frameworks_check.rb +24 -0
- data/lib/scanny/checks/helpers.rb +28 -0
- data/lib/scanny/checks/http_basic_auth_check.rb +39 -0
- data/lib/scanny/checks/http_header/header_injection_check.rb +38 -0
- data/lib/scanny/checks/http_redirect_check.rb +37 -0
- data/lib/scanny/checks/http_request_check.rb +74 -0
- data/lib/scanny/checks/http_usage_check.rb +31 -0
- data/lib/scanny/checks/information_leak_check.rb +55 -0
- data/lib/scanny/checks/input_filtering_check.rb +39 -0
- data/lib/scanny/checks/insecure_config/set_rails_env_check.rb +24 -0
- data/lib/scanny/checks/insecure_config/set_secret_check.rb +25 -0
- data/lib/scanny/checks/insecure_config/set_session_key_check.rb +23 -0
- data/lib/scanny/checks/insecure_method/eval_method_check.rb +26 -0
- data/lib/scanny/checks/insecure_method/marshal_check.rb +33 -0
- data/lib/scanny/checks/insecure_method/system_method_check.rb +46 -0
- data/lib/scanny/checks/mass_assignment_check.rb +48 -0
- data/lib/scanny/checks/random_numbers_check.rb +54 -0
- data/lib/scanny/checks/redirect_with_params_check.rb +48 -0
- data/lib/scanny/checks/regexp_check.rb +23 -0
- data/lib/scanny/checks/reset_session_check.rb +24 -0
- data/lib/scanny/checks/session/access_to_session_check.rb +49 -0
- data/lib/scanny/checks/session/session_secure_check.rb +47 -0
- data/lib/scanny/checks/shell_expanding_methods_check.rb +54 -0
- data/lib/scanny/checks/skip_before_filters_check.rb +41 -0
- data/lib/scanny/checks/sql_injection/find_method_check.rb +81 -0
- data/lib/scanny/checks/sql_injection/find_method_with_dynamic_string_check.rb +43 -0
- data/lib/scanny/checks/sql_injection/find_method_with_params_check.rb +80 -0
- data/lib/scanny/checks/sql_injection/sanitize_sql_check.rb +25 -0
- data/lib/scanny/checks/sql_injection/sql_check.rb +14 -0
- data/lib/scanny/checks/sql_injection/string_interpolation_with_params_check.rb +39 -0
- data/lib/scanny/checks/ssl/verify_check.rb +53 -0
- data/lib/scanny/checks/ssl/verify_peer_check.rb +37 -0
- data/lib/scanny/checks/system_tools/gpg_usage_check.rb +51 -0
- data/lib/scanny/checks/system_tools/sudo_check.rb +24 -0
- data/lib/scanny/checks/system_tools/tar_check.rb +24 -0
- data/lib/scanny/checks/system_tools/tar_commands_check.rb +27 -0
- data/lib/scanny/checks/system_tools/unzip_check.rb +30 -0
- data/lib/scanny/checks/temp_file_open_check.rb +57 -0
- data/lib/scanny/checks/user_find_check.rb +40 -0
- data/lib/scanny/checks/validates_check.rb +32 -0
- data/lib/scanny/checks/verify_check.rb +44 -0
- data/lib/scanny/checks/xss/xss_flash_check.rb +70 -0
- data/lib/scanny/checks/xss/xss_logger_check.rb +78 -0
- data/lib/scanny/checks/xss/xss_mark_check.rb +48 -0
- data/lib/scanny/checks/xss/xss_send_check.rb +70 -0
- data/lib/scanny/cli.rb +47 -0
- data/lib/scanny/issue.rb +28 -0
- data/lib/scanny/rake_task.rb +56 -0
- data/lib/scanny/reporters.rb +3 -0
- data/lib/scanny/reporters/reporter.rb +22 -0
- data/lib/scanny/reporters/simple_reporter.rb +19 -0
- data/lib/scanny/reporters/xml_reporter.rb +64 -0
- data/lib/scanny/ruby_version_check.rb +15 -0
- data/lib/scanny/runner.rb +90 -0
- data/scanny.gemspec +22 -0
- data/spec/scanny/check_spec.rb +22 -0
- data/spec/scanny/checks/access_control_check_spec.rb +43 -0
- data/spec/scanny/checks/backticks_check_spec.rb +22 -0
- data/spec/scanny/checks/before_filters_check_spec.rb +45 -0
- data/spec/scanny/checks/csrf_check_spec.rb +16 -0
- data/spec/scanny/checks/denial_of_service_check_spec.rb +28 -0
- data/spec/scanny/checks/file_open_check_spec.rb +22 -0
- data/spec/scanny/checks/frameworks_check_spec.rb +16 -0
- data/spec/scanny/checks/http_basic_auth_check_spec.rb +20 -0
- data/spec/scanny/checks/http_header/header_injection_check_spec.rb +21 -0
- data/spec/scanny/checks/http_redirect_check_spec.rb +15 -0
- data/spec/scanny/checks/http_request_check_spec.rb +37 -0
- data/spec/scanny/checks/http_usage_check_spec.rb +20 -0
- data/spec/scanny/checks/information_leak_check_spec.rb +32 -0
- data/spec/scanny/checks/input_filtering_check_spec.rb +19 -0
- data/spec/scanny/checks/insecure_config/set_rails_env_check_spec.rb +17 -0
- data/spec/scanny/checks/insecure_config/set_secret_check_spec.rb +22 -0
- data/spec/scanny/checks/insecure_config/set_session_key_check_spec.rb +21 -0
- data/spec/scanny/checks/insecure_method/eval_method_check_spec.rb +22 -0
- data/spec/scanny/checks/insecure_method/marshal_check_spec.rb +26 -0
- data/spec/scanny/checks/insecure_method/system_method_check_spec.rb +33 -0
- data/spec/scanny/checks/mass_assignment_check_spec.rb +30 -0
- data/spec/scanny/checks/random_numbers_check_spec.rb +41 -0
- data/spec/scanny/checks/redirect_with_params_check_spec.rb +24 -0
- data/spec/scanny/checks/regexp_check_spec.rb +22 -0
- data/spec/scanny/checks/reset_session_check_spec.rb +15 -0
- data/spec/scanny/checks/session/access_to_session_check_spec.rb +29 -0
- data/spec/scanny/checks/session/session_secure_check_spec.rb +22 -0
- data/spec/scanny/checks/shell_expanding_methods_check_spec.rb +67 -0
- data/spec/scanny/checks/skip_before_filters_check_spec.rb +81 -0
- data/spec/scanny/checks/sql_injection/find_method_check_spec.rb +62 -0
- data/spec/scanny/checks/sql_injection/find_method_with_dynamic_string_check_spec.rb +27 -0
- data/spec/scanny/checks/sql_injection/find_method_with_params_check_spec.rb +93 -0
- data/spec/scanny/checks/sql_injection/sanitize_sql_check_spec.rb +16 -0
- data/spec/scanny/checks/sql_injection/string_interpolation_with_params_check_spec.rb +18 -0
- data/spec/scanny/checks/ssl/verify_check_spec.rb +25 -0
- data/spec/scanny/checks/ssl/verify_peer_check_spec.rb +17 -0
- data/spec/scanny/checks/system_tools/gpg_usage_check_spec.rb +43 -0
- data/spec/scanny/checks/system_tools/sudo_check_spec.rb +24 -0
- data/spec/scanny/checks/system_tools/tar_check_spec.rb +20 -0
- data/spec/scanny/checks/system_tools/tar_commands_check_spec.rb +41 -0
- data/spec/scanny/checks/system_tools/unizp_check_spec.rb +29 -0
- data/spec/scanny/checks/temp_file_open_check_spec.rb +22 -0
- data/spec/scanny/checks/user_find_check_spec.rb +22 -0
- data/spec/scanny/checks/validates_check_spec.rb +19 -0
- data/spec/scanny/checks/verify_check_spec.rb +27 -0
- data/spec/scanny/checks/xss/xss_flash_check_spec.rb +22 -0
- data/spec/scanny/checks/xss/xss_logger_check_spec.rb +24 -0
- data/spec/scanny/checks/xss/xss_mark_check_spec.rb +31 -0
- data/spec/scanny/checks/xss/xss_send_check_spec.rb +34 -0
- data/spec/scanny/cli_spec.rb +167 -0
- data/spec/scanny/issue_spec.rb +82 -0
- data/spec/scanny/rake_taks_spec.rb +82 -0
- data/spec/scanny/reporters/reporter_spec.rb +24 -0
- data/spec/scanny/reporters/simple_reporter_spec.rb +48 -0
- data/spec/scanny/reporters/xml_reporter_spec.rb +52 -0
- data/spec/scanny/ruby_version_check_spec.rb +24 -0
- data/spec/scanny/runner_spec.rb +128 -0
- data/spec/spec_helper.rb +10 -0
- data/spec/support/aruba.rb +4 -0
- data/spec/support/check_spec_helpers.rb +5 -0
- data/spec/support/checks/extend_test_check.rb +11 -0
- data/spec/support/checks/test_check.rb +15 -0
- data/spec/support/checks/test_strict_check.rb +17 -0
- data/spec/support/const_spec_helpers.rb +36 -0
- data/spec/support/matchers/check_matcher.rb +43 -0
- data/spec/support/matchers/xpath_matcher.rb +30 -0
- data/spec/support/mock_task.rb +43 -0
- metadata +242 -0
@@ -0,0 +1,43 @@
|
|
1
|
+
RSpec::Matchers.define :check do |input|
|
2
|
+
chain :without_issues do
|
3
|
+
@type = :no_issues
|
4
|
+
end
|
5
|
+
|
6
|
+
chain :with_n_issues do |count|
|
7
|
+
@type = :issue_count
|
8
|
+
@count = count
|
9
|
+
end
|
10
|
+
|
11
|
+
chain :with_issue do |issue|
|
12
|
+
@type = :issue
|
13
|
+
@issue = issue
|
14
|
+
end
|
15
|
+
|
16
|
+
chain :with_issues do |*issues|
|
17
|
+
@type = :issues
|
18
|
+
@issues = issues.flatten
|
19
|
+
end
|
20
|
+
|
21
|
+
match do |scanny|
|
22
|
+
check_data = scanny.check("scanned_file.rb", input)
|
23
|
+
|
24
|
+
case @type
|
25
|
+
when :no_issues
|
26
|
+
check_data[:issues].should be_empty
|
27
|
+
|
28
|
+
when :issue_count
|
29
|
+
check_data[:issues].size.should == @count
|
30
|
+
|
31
|
+
when :issue
|
32
|
+
check_data[:issues].size.should == 1
|
33
|
+
check_data[:issues][0].should == @issue
|
34
|
+
|
35
|
+
when :issues
|
36
|
+
check_data[:issues].size.should == @issues.size
|
37
|
+
check_data[:issues].should =~ @issues
|
38
|
+
|
39
|
+
else
|
40
|
+
raise "Unknown check type: #{type.inspect}."
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Code taken from http://blog.wolfman.com/articles/2008/1/2/xpath-matchers-for-rspec
|
2
|
+
|
3
|
+
require 'rexml/document'
|
4
|
+
require 'rexml/element'
|
5
|
+
|
6
|
+
RSpec::Matchers.define :have_xml do |xpath, text|
|
7
|
+
match do |body|
|
8
|
+
doc = REXML::Document.new body
|
9
|
+
nodes = REXML::XPath.match(doc, xpath)
|
10
|
+
nodes.empty?.should be_false
|
11
|
+
if text
|
12
|
+
nodes.each do |node|
|
13
|
+
node.text.should == text
|
14
|
+
end
|
15
|
+
end
|
16
|
+
true
|
17
|
+
end
|
18
|
+
|
19
|
+
failure_message_for_should do |body|
|
20
|
+
"expected to find xml tag #{xpath} in:\n#{body}"
|
21
|
+
end
|
22
|
+
|
23
|
+
failure_message_for_should_not do |response|
|
24
|
+
"expected not to find xml tag #{xpath} in:\n#{body}"
|
25
|
+
end
|
26
|
+
|
27
|
+
description do
|
28
|
+
"have xml tag #{xpath}"
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
module Scanny
|
2
|
+
class MockTask
|
3
|
+
class << self
|
4
|
+
attr_accessor :last_instance, :last_cmd
|
5
|
+
end
|
6
|
+
|
7
|
+
def self.tasks
|
8
|
+
@tasks ||= {}
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.reset_tasks
|
12
|
+
@tasks = {}
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.task(name)
|
16
|
+
tasks[name]
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.register_task(name, block)
|
20
|
+
tasks[name] = block
|
21
|
+
end
|
22
|
+
|
23
|
+
def initialize(name, &block)
|
24
|
+
MockTask.register_task(name, block)
|
25
|
+
MockTask.last_instance = block
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.create_task(name, &block)
|
29
|
+
new(name, &block)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
class RakeTask
|
34
|
+
def task(name, &block)
|
35
|
+
MockTask.create_task(name, &block)
|
36
|
+
end
|
37
|
+
|
38
|
+
def system(cmd)
|
39
|
+
MockTask.last_cmd = cmd
|
40
|
+
true
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
metadata
ADDED
@@ -0,0 +1,242 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: scanny
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 1322991910812937300
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Thomas Biege
|
14
|
+
- Flavio Castelli
|
15
|
+
- David Majda
|
16
|
+
- "Piotr Nie\xC5\x82acny"
|
17
|
+
autorequire:
|
18
|
+
bindir: bin
|
19
|
+
cert_chain: []
|
20
|
+
|
21
|
+
date: 2012-08-19 00:00:00 Z
|
22
|
+
dependencies:
|
23
|
+
- !ruby/object:Gem::Dependency
|
24
|
+
name: machete
|
25
|
+
prerelease: false
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - "="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
hash: 1694540110752149318
|
32
|
+
segments:
|
33
|
+
- 0
|
34
|
+
- 5
|
35
|
+
- 0
|
36
|
+
version: 0.5.0
|
37
|
+
type: :runtime
|
38
|
+
version_requirements: *id001
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
name: docopt
|
41
|
+
prerelease: false
|
42
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - "="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
hash: 2495673787400639531
|
48
|
+
segments:
|
49
|
+
- 0
|
50
|
+
- 0
|
51
|
+
- 4
|
52
|
+
version: 0.0.4
|
53
|
+
type: :runtime
|
54
|
+
version_requirements: *id002
|
55
|
+
description: Find all security issues affecting your code.
|
56
|
+
email:
|
57
|
+
- thomas@suse.de
|
58
|
+
- fcastelli@novell.com
|
59
|
+
- dmajda@suse.cz
|
60
|
+
- piotr.nielacny@gmail.com
|
61
|
+
executables:
|
62
|
+
- scanny
|
63
|
+
extensions: []
|
64
|
+
|
65
|
+
extra_rdoc_files: []
|
66
|
+
|
67
|
+
files:
|
68
|
+
- .gitignore
|
69
|
+
- Gemfile
|
70
|
+
- LICENSE
|
71
|
+
- README.md
|
72
|
+
- Rakefile
|
73
|
+
- bin/scanny
|
74
|
+
- lib/scanny.rb
|
75
|
+
- lib/scanny/checks/access_control_check.rb
|
76
|
+
- lib/scanny/checks/backticks_check.rb
|
77
|
+
- lib/scanny/checks/before_filters_check.rb
|
78
|
+
- lib/scanny/checks/check.rb
|
79
|
+
- lib/scanny/checks/csrf_check.rb
|
80
|
+
- lib/scanny/checks/denial_of_service_check.rb
|
81
|
+
- lib/scanny/checks/file_open_check.rb
|
82
|
+
- lib/scanny/checks/frameworks_check.rb
|
83
|
+
- lib/scanny/checks/helpers.rb
|
84
|
+
- lib/scanny/checks/http_basic_auth_check.rb
|
85
|
+
- lib/scanny/checks/http_header/header_injection_check.rb
|
86
|
+
- lib/scanny/checks/http_redirect_check.rb
|
87
|
+
- lib/scanny/checks/http_request_check.rb
|
88
|
+
- lib/scanny/checks/http_usage_check.rb
|
89
|
+
- lib/scanny/checks/information_leak_check.rb
|
90
|
+
- lib/scanny/checks/input_filtering_check.rb
|
91
|
+
- lib/scanny/checks/insecure_config/set_rails_env_check.rb
|
92
|
+
- lib/scanny/checks/insecure_config/set_secret_check.rb
|
93
|
+
- lib/scanny/checks/insecure_config/set_session_key_check.rb
|
94
|
+
- lib/scanny/checks/insecure_method/eval_method_check.rb
|
95
|
+
- lib/scanny/checks/insecure_method/marshal_check.rb
|
96
|
+
- lib/scanny/checks/insecure_method/system_method_check.rb
|
97
|
+
- lib/scanny/checks/mass_assignment_check.rb
|
98
|
+
- lib/scanny/checks/random_numbers_check.rb
|
99
|
+
- lib/scanny/checks/redirect_with_params_check.rb
|
100
|
+
- lib/scanny/checks/regexp_check.rb
|
101
|
+
- lib/scanny/checks/reset_session_check.rb
|
102
|
+
- lib/scanny/checks/session/access_to_session_check.rb
|
103
|
+
- lib/scanny/checks/session/session_secure_check.rb
|
104
|
+
- lib/scanny/checks/shell_expanding_methods_check.rb
|
105
|
+
- lib/scanny/checks/skip_before_filters_check.rb
|
106
|
+
- lib/scanny/checks/sql_injection/find_method_check.rb
|
107
|
+
- lib/scanny/checks/sql_injection/find_method_with_dynamic_string_check.rb
|
108
|
+
- lib/scanny/checks/sql_injection/find_method_with_params_check.rb
|
109
|
+
- lib/scanny/checks/sql_injection/sanitize_sql_check.rb
|
110
|
+
- lib/scanny/checks/sql_injection/sql_check.rb
|
111
|
+
- lib/scanny/checks/sql_injection/string_interpolation_with_params_check.rb
|
112
|
+
- lib/scanny/checks/ssl/verify_check.rb
|
113
|
+
- lib/scanny/checks/ssl/verify_peer_check.rb
|
114
|
+
- lib/scanny/checks/system_tools/gpg_usage_check.rb
|
115
|
+
- lib/scanny/checks/system_tools/sudo_check.rb
|
116
|
+
- lib/scanny/checks/system_tools/tar_check.rb
|
117
|
+
- lib/scanny/checks/system_tools/tar_commands_check.rb
|
118
|
+
- lib/scanny/checks/system_tools/unzip_check.rb
|
119
|
+
- lib/scanny/checks/temp_file_open_check.rb
|
120
|
+
- lib/scanny/checks/user_find_check.rb
|
121
|
+
- lib/scanny/checks/validates_check.rb
|
122
|
+
- lib/scanny/checks/verify_check.rb
|
123
|
+
- lib/scanny/checks/xss/xss_flash_check.rb
|
124
|
+
- lib/scanny/checks/xss/xss_logger_check.rb
|
125
|
+
- lib/scanny/checks/xss/xss_mark_check.rb
|
126
|
+
- lib/scanny/checks/xss/xss_send_check.rb
|
127
|
+
- lib/scanny/cli.rb
|
128
|
+
- lib/scanny/issue.rb
|
129
|
+
- lib/scanny/rake_task.rb
|
130
|
+
- lib/scanny/reporters.rb
|
131
|
+
- lib/scanny/reporters/reporter.rb
|
132
|
+
- lib/scanny/reporters/simple_reporter.rb
|
133
|
+
- lib/scanny/reporters/xml_reporter.rb
|
134
|
+
- lib/scanny/ruby_version_check.rb
|
135
|
+
- lib/scanny/runner.rb
|
136
|
+
- scanny.gemspec
|
137
|
+
- spec/scanny/check_spec.rb
|
138
|
+
- spec/scanny/checks/access_control_check_spec.rb
|
139
|
+
- spec/scanny/checks/backticks_check_spec.rb
|
140
|
+
- spec/scanny/checks/before_filters_check_spec.rb
|
141
|
+
- spec/scanny/checks/csrf_check_spec.rb
|
142
|
+
- spec/scanny/checks/denial_of_service_check_spec.rb
|
143
|
+
- spec/scanny/checks/file_open_check_spec.rb
|
144
|
+
- spec/scanny/checks/frameworks_check_spec.rb
|
145
|
+
- spec/scanny/checks/http_basic_auth_check_spec.rb
|
146
|
+
- spec/scanny/checks/http_header/header_injection_check_spec.rb
|
147
|
+
- spec/scanny/checks/http_redirect_check_spec.rb
|
148
|
+
- spec/scanny/checks/http_request_check_spec.rb
|
149
|
+
- spec/scanny/checks/http_usage_check_spec.rb
|
150
|
+
- spec/scanny/checks/information_leak_check_spec.rb
|
151
|
+
- spec/scanny/checks/input_filtering_check_spec.rb
|
152
|
+
- spec/scanny/checks/insecure_config/set_rails_env_check_spec.rb
|
153
|
+
- spec/scanny/checks/insecure_config/set_secret_check_spec.rb
|
154
|
+
- spec/scanny/checks/insecure_config/set_session_key_check_spec.rb
|
155
|
+
- spec/scanny/checks/insecure_method/eval_method_check_spec.rb
|
156
|
+
- spec/scanny/checks/insecure_method/marshal_check_spec.rb
|
157
|
+
- spec/scanny/checks/insecure_method/system_method_check_spec.rb
|
158
|
+
- spec/scanny/checks/mass_assignment_check_spec.rb
|
159
|
+
- spec/scanny/checks/random_numbers_check_spec.rb
|
160
|
+
- spec/scanny/checks/redirect_with_params_check_spec.rb
|
161
|
+
- spec/scanny/checks/regexp_check_spec.rb
|
162
|
+
- spec/scanny/checks/reset_session_check_spec.rb
|
163
|
+
- spec/scanny/checks/session/access_to_session_check_spec.rb
|
164
|
+
- spec/scanny/checks/session/session_secure_check_spec.rb
|
165
|
+
- spec/scanny/checks/shell_expanding_methods_check_spec.rb
|
166
|
+
- spec/scanny/checks/skip_before_filters_check_spec.rb
|
167
|
+
- spec/scanny/checks/sql_injection/find_method_check_spec.rb
|
168
|
+
- spec/scanny/checks/sql_injection/find_method_with_dynamic_string_check_spec.rb
|
169
|
+
- spec/scanny/checks/sql_injection/find_method_with_params_check_spec.rb
|
170
|
+
- spec/scanny/checks/sql_injection/sanitize_sql_check_spec.rb
|
171
|
+
- spec/scanny/checks/sql_injection/string_interpolation_with_params_check_spec.rb
|
172
|
+
- spec/scanny/checks/ssl/verify_check_spec.rb
|
173
|
+
- spec/scanny/checks/ssl/verify_peer_check_spec.rb
|
174
|
+
- spec/scanny/checks/system_tools/gpg_usage_check_spec.rb
|
175
|
+
- spec/scanny/checks/system_tools/sudo_check_spec.rb
|
176
|
+
- spec/scanny/checks/system_tools/tar_check_spec.rb
|
177
|
+
- spec/scanny/checks/system_tools/tar_commands_check_spec.rb
|
178
|
+
- spec/scanny/checks/system_tools/unizp_check_spec.rb
|
179
|
+
- spec/scanny/checks/temp_file_open_check_spec.rb
|
180
|
+
- spec/scanny/checks/user_find_check_spec.rb
|
181
|
+
- spec/scanny/checks/validates_check_spec.rb
|
182
|
+
- spec/scanny/checks/verify_check_spec.rb
|
183
|
+
- spec/scanny/checks/xss/xss_flash_check_spec.rb
|
184
|
+
- spec/scanny/checks/xss/xss_logger_check_spec.rb
|
185
|
+
- spec/scanny/checks/xss/xss_mark_check_spec.rb
|
186
|
+
- spec/scanny/checks/xss/xss_send_check_spec.rb
|
187
|
+
- spec/scanny/cli_spec.rb
|
188
|
+
- spec/scanny/issue_spec.rb
|
189
|
+
- spec/scanny/rake_taks_spec.rb
|
190
|
+
- spec/scanny/reporters/reporter_spec.rb
|
191
|
+
- spec/scanny/reporters/simple_reporter_spec.rb
|
192
|
+
- spec/scanny/reporters/xml_reporter_spec.rb
|
193
|
+
- spec/scanny/ruby_version_check_spec.rb
|
194
|
+
- spec/scanny/runner_spec.rb
|
195
|
+
- spec/spec_helper.rb
|
196
|
+
- spec/support/aruba.rb
|
197
|
+
- spec/support/check_spec_helpers.rb
|
198
|
+
- spec/support/checks/extend_test_check.rb
|
199
|
+
- spec/support/checks/test_check.rb
|
200
|
+
- spec/support/checks/test_strict_check.rb
|
201
|
+
- spec/support/const_spec_helpers.rb
|
202
|
+
- spec/support/matchers/check_matcher.rb
|
203
|
+
- spec/support/matchers/xpath_matcher.rb
|
204
|
+
- spec/support/mock_task.rb
|
205
|
+
homepage: https://github.com/openSUSE/scanny
|
206
|
+
licenses: []
|
207
|
+
|
208
|
+
post_install_message:
|
209
|
+
rdoc_options: []
|
210
|
+
|
211
|
+
require_paths:
|
212
|
+
- lib
|
213
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
214
|
+
none: false
|
215
|
+
requirements:
|
216
|
+
- - ">="
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
hash: 2002549777813010636
|
219
|
+
segments:
|
220
|
+
- 0
|
221
|
+
version: "0"
|
222
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
223
|
+
none: false
|
224
|
+
requirements:
|
225
|
+
- - ">="
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
hash: 2387630629434237851
|
228
|
+
segments:
|
229
|
+
- 1
|
230
|
+
- 3
|
231
|
+
- 6
|
232
|
+
version: 1.3.6
|
233
|
+
requirements: []
|
234
|
+
|
235
|
+
rubyforge_project: scanny
|
236
|
+
rubygems_version: 1.8.23
|
237
|
+
signing_key:
|
238
|
+
specification_version: 3
|
239
|
+
summary: Ruby security scanner
|
240
|
+
test_files: []
|
241
|
+
|
242
|
+
has_rdoc:
|