pwn 0.4.512 → 0.4.515
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +17 -11
- data/Gemfile +10 -9
- data/README.md +2 -2
- data/bin/pwn_android_war_dialer +2 -1
- data/bin/pwn_fuzz_net_app_proto +4 -1
- data/bin/pwn_phone +124 -0
- data/bin/pwn_sast +7 -2
- data/lib/pwn/plugins/baresip.rb +632 -0
- data/lib/pwn/plugins/serial.rb +1 -1
- data/lib/pwn/plugins/sock.rb +32 -0
- data/lib/pwn/plugins/thread_pool.rb +19 -5
- data/lib/pwn/plugins.rb +1 -0
- data/lib/pwn/reports/phone.rb +294 -0
- data/lib/pwn/reports/sast.rb +4 -4
- data/lib/pwn/reports.rb +1 -0
- data/lib/pwn/sast/amqp_connect_as_guest.rb +7 -5
- data/lib/pwn/sast/apache_file_system_util_api.rb +7 -5
- data/lib/pwn/sast/aws.rb +7 -5
- data/lib/pwn/sast/banned_function_calls_c.rb +7 -5
- data/lib/pwn/sast/base64.rb +7 -5
- data/lib/pwn/sast/beef_hook.rb +7 -5
- data/lib/pwn/sast/cmd_execution_java.rb +7 -5
- data/lib/pwn/sast/cmd_execution_python.rb +7 -5
- data/lib/pwn/sast/cmd_execution_ruby.rb +7 -5
- data/lib/pwn/sast/cmd_execution_scala.rb +7 -5
- data/lib/pwn/sast/csrf.rb +7 -5
- data/lib/pwn/sast/deserial_java.rb +7 -5
- data/lib/pwn/sast/emoticon.rb +7 -5
- data/lib/pwn/sast/eval.rb +7 -5
- data/lib/pwn/sast/factory.rb +7 -5
- data/lib/pwn/sast/http_authorization_header.rb +7 -5
- data/lib/pwn/sast/inner_html.rb +7 -5
- data/lib/pwn/sast/keystore.rb +7 -5
- data/lib/pwn/sast/location_hash.rb +7 -5
- data/lib/pwn/sast/log4j.rb +7 -5
- data/lib/pwn/sast/logger.rb +7 -5
- data/lib/pwn/sast/outer_html.rb +7 -5
- data/lib/pwn/sast/password.rb +7 -5
- data/lib/pwn/sast/pom_version.rb +12 -8
- data/lib/pwn/sast/port.rb +7 -5
- data/lib/pwn/sast/private_key.rb +7 -5
- data/lib/pwn/sast/redirect.rb +7 -5
- data/lib/pwn/sast/redos.rb +7 -5
- data/lib/pwn/sast/shell.rb +7 -5
- data/lib/pwn/sast/signature.rb +7 -5
- data/lib/pwn/sast/sql.rb +7 -5
- data/lib/pwn/sast/ssl.rb +7 -5
- data/lib/pwn/sast/sudo.rb +7 -5
- data/lib/pwn/sast/task_tag.rb +7 -5
- data/lib/pwn/sast/throw_errors.rb +7 -5
- data/lib/pwn/sast/token.rb +7 -5
- data/lib/pwn/sast/version.rb +7 -5
- data/lib/pwn/sast/window_location_hash.rb +7 -5
- data/lib/pwn/version.rb +1 -1
- data/spec/lib/pwn/reports/phone_spec.rb +15 -0
- data/spec/lib/pwn/sast/amqp_connect_as_guest_spec.rb +3 -3
- data/spec/lib/pwn/sast/apache_file_system_util_api_spec.rb +3 -3
- data/spec/lib/pwn/sast/aws_spec.rb +3 -3
- data/spec/lib/pwn/sast/banned_function_calls_c_spec.rb +3 -3
- data/spec/lib/pwn/sast/base64_spec.rb +3 -3
- data/spec/lib/pwn/sast/beef_hook_spec.rb +3 -3
- data/spec/lib/pwn/sast/cmd_execution_java_spec.rb +3 -3
- data/spec/lib/pwn/sast/cmd_execution_python_spec.rb +3 -3
- data/spec/lib/pwn/sast/cmd_execution_ruby_spec.rb +3 -3
- data/spec/lib/pwn/sast/cmd_execution_scala_spec.rb +3 -3
- data/spec/lib/pwn/sast/csrf_spec.rb +3 -3
- data/spec/lib/pwn/sast/deserial_java_spec.rb +3 -3
- data/spec/lib/pwn/sast/emoticon_spec.rb +3 -3
- data/spec/lib/pwn/sast/eval_spec.rb +3 -3
- data/spec/lib/pwn/sast/factory_spec.rb +3 -3
- data/spec/lib/pwn/sast/http_authorization_header_spec.rb +3 -3
- data/spec/lib/pwn/sast/inner_html_spec.rb +3 -3
- data/spec/lib/pwn/sast/keystore_spec.rb +3 -3
- data/spec/lib/pwn/sast/location_hash_spec.rb +3 -3
- data/spec/lib/pwn/sast/log4j_spec.rb +3 -3
- data/spec/lib/pwn/sast/logger_spec.rb +3 -3
- data/spec/lib/pwn/sast/password_spec.rb +3 -3
- data/spec/lib/pwn/sast/pom_version_spec.rb +3 -3
- data/spec/lib/pwn/sast/port_spec.rb +3 -3
- data/spec/lib/pwn/sast/private_key_spec.rb +3 -3
- data/spec/lib/pwn/sast/redirect_spec.rb +3 -3
- data/spec/lib/pwn/sast/redos_spec.rb +3 -3
- data/spec/lib/pwn/sast/shell_spec.rb +3 -3
- data/spec/lib/pwn/sast/signature_spec.rb +3 -3
- data/spec/lib/pwn/sast/sql_spec.rb +3 -3
- data/spec/lib/pwn/sast/ssl_spec.rb +3 -3
- data/spec/lib/pwn/sast/sudo_spec.rb +3 -3
- data/spec/lib/pwn/sast/task_tag_spec.rb +3 -3
- data/spec/lib/pwn/sast/throw_errors_spec.rb +3 -3
- data/spec/lib/pwn/sast/token_spec.rb +3 -3
- data/spec/lib/pwn/sast/version_spec.rb +3 -3
- data/spec/lib/pwn/sast/window_location_hash_spec.rb +3 -3
- metadata +40 -21
data/lib/pwn/sast/redos.rb
CHANGED
@@ -54,7 +54,7 @@ module PWN
|
|
54
54
|
|
55
55
|
hash_line = {
|
56
56
|
timestamp: Time.now.strftime('%Y-%m-%d %H:%M:%S.%9N %z').to_s,
|
57
|
-
|
57
|
+
security_references: security_references,
|
58
58
|
filename: { git_repo_root_uri: git_repo_root_uri, entry: entry },
|
59
59
|
line_no_and_contents: '',
|
60
60
|
raw_content: str,
|
@@ -84,9 +84,11 @@ module PWN
|
|
84
84
|
else
|
85
85
|
author = 'N/A'
|
86
86
|
end
|
87
|
-
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
88
|
-
|
89
|
-
|
87
|
+
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
88
|
+
line_no: line_no,
|
89
|
+
contents: contents,
|
90
|
+
author: author
|
91
|
+
)
|
90
92
|
|
91
93
|
current_count += 2
|
92
94
|
end
|
@@ -111,7 +113,7 @@ module PWN
|
|
111
113
|
# to PWN Exploit & Static Code Anti-Pattern Matching Modules to
|
112
114
|
# Determine the level of Testing Coverage w/ PWN.
|
113
115
|
|
114
|
-
public_class_method def self.
|
116
|
+
public_class_method def self.security_references
|
115
117
|
{
|
116
118
|
sast_module: self,
|
117
119
|
section: 'PROTECTION OF INFORMATION AT REST',
|
data/lib/pwn/sast/shell.rb
CHANGED
@@ -55,7 +55,7 @@ module PWN
|
|
55
55
|
|
56
56
|
hash_line = {
|
57
57
|
timestamp: Time.now.strftime('%Y-%m-%d %H:%M:%S.%9N %z').to_s,
|
58
|
-
|
58
|
+
security_references: security_references,
|
59
59
|
filename: { git_repo_root_uri: git_repo_root_uri, entry: entry },
|
60
60
|
line_no_and_contents: '',
|
61
61
|
raw_content: str,
|
@@ -85,9 +85,11 @@ module PWN
|
|
85
85
|
else
|
86
86
|
author = 'N/A'
|
87
87
|
end
|
88
|
-
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
89
|
-
|
90
|
-
|
88
|
+
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
89
|
+
line_no: line_no,
|
90
|
+
contents: contents,
|
91
|
+
author: author
|
92
|
+
)
|
91
93
|
|
92
94
|
current_count += 2
|
93
95
|
end
|
@@ -112,7 +114,7 @@ module PWN
|
|
112
114
|
# to PWN Exploit & Static Code Anti-Pattern Matching Modules to
|
113
115
|
# Determine the level of Testing Coverage w/ PWN.
|
114
116
|
|
115
|
-
public_class_method def self.
|
117
|
+
public_class_method def self.security_references
|
116
118
|
{
|
117
119
|
sast_module: self,
|
118
120
|
section: 'DEVELOPER SECURITY AND PRIVACY ARCHITECTURE AND DESIGN',
|
data/lib/pwn/sast/signature.rb
CHANGED
@@ -47,7 +47,7 @@ module PWN
|
|
47
47
|
|
48
48
|
hash_line = {
|
49
49
|
timestamp: Time.now.strftime('%Y-%m-%d %H:%M:%S.%9N %z').to_s,
|
50
|
-
|
50
|
+
security_references: security_references,
|
51
51
|
filename: { git_repo_root_uri: git_repo_root_uri, entry: entry },
|
52
52
|
line_no_and_contents: '',
|
53
53
|
raw_content: str,
|
@@ -77,9 +77,11 @@ module PWN
|
|
77
77
|
else
|
78
78
|
author = 'N/A'
|
79
79
|
end
|
80
|
-
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
81
|
-
|
82
|
-
|
80
|
+
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
81
|
+
line_no: line_no,
|
82
|
+
contents: contents,
|
83
|
+
author: author
|
84
|
+
)
|
83
85
|
|
84
86
|
current_count += 2
|
85
87
|
end
|
@@ -104,7 +106,7 @@ module PWN
|
|
104
106
|
# to PWN Exploit & Static Code Anti-Pattern Matching Modules to
|
105
107
|
# Determine the level of Testing Coverage w/ PWN.
|
106
108
|
|
107
|
-
public_class_method def self.
|
109
|
+
public_class_method def self.security_references
|
108
110
|
{
|
109
111
|
sast_module: self,
|
110
112
|
section: 'CRYPTOGRAPHIC MODULE AUTHENTICATION',
|
data/lib/pwn/sast/sql.rb
CHANGED
@@ -51,7 +51,7 @@ module PWN
|
|
51
51
|
|
52
52
|
hash_line = {
|
53
53
|
timestamp: Time.now.strftime('%Y-%m-%d %H:%M:%S.%9N %z').to_s,
|
54
|
-
|
54
|
+
security_references: security_references,
|
55
55
|
filename: { git_repo_root_uri: git_repo_root_uri, entry: entry },
|
56
56
|
line_no_and_contents: '',
|
57
57
|
raw_content: str,
|
@@ -81,9 +81,11 @@ module PWN
|
|
81
81
|
else
|
82
82
|
author = 'N/A'
|
83
83
|
end
|
84
|
-
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
85
|
-
|
86
|
-
|
84
|
+
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
85
|
+
line_no: line_no,
|
86
|
+
contents: contents,
|
87
|
+
author: author
|
88
|
+
)
|
87
89
|
|
88
90
|
current_count += 2
|
89
91
|
end
|
@@ -108,7 +110,7 @@ module PWN
|
|
108
110
|
# to PWN Exploit & Static Code Anti-Pattern Matching Modules to
|
109
111
|
# Determine the level of Testing Coverage w/ PWN.
|
110
112
|
|
111
|
-
public_class_method def self.
|
113
|
+
public_class_method def self.security_references
|
112
114
|
{
|
113
115
|
sast_module: self,
|
114
116
|
section: 'INFORMATION INPUT VALIDATION',
|
data/lib/pwn/sast/ssl.rb
CHANGED
@@ -44,7 +44,7 @@ module PWN
|
|
44
44
|
|
45
45
|
hash_line = {
|
46
46
|
timestamp: Time.now.strftime('%Y-%m-%d %H:%M:%S.%9N %z').to_s,
|
47
|
-
|
47
|
+
security_references: security_references,
|
48
48
|
filename: { git_repo_root_uri: git_repo_root_uri, entry: entry },
|
49
49
|
line_no_and_contents: '',
|
50
50
|
raw_content: str,
|
@@ -74,9 +74,11 @@ module PWN
|
|
74
74
|
else
|
75
75
|
author = 'N/A'
|
76
76
|
end
|
77
|
-
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
78
|
-
|
79
|
-
|
77
|
+
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
78
|
+
line_no: line_no,
|
79
|
+
contents: contents,
|
80
|
+
author: author
|
81
|
+
)
|
80
82
|
|
81
83
|
current_count += 2
|
82
84
|
end
|
@@ -101,7 +103,7 @@ module PWN
|
|
101
103
|
# to PWN Exploit & Static Code Anti-Pattern Matching Modules to
|
102
104
|
# Determine the level of Testing Coverage w/ PWN.
|
103
105
|
|
104
|
-
public_class_method def self.
|
106
|
+
public_class_method def self.security_references
|
105
107
|
{
|
106
108
|
sast_module: self,
|
107
109
|
section: 'PUBLIC KEY INFRASTRUCTURE CERTIFICATES',
|
data/lib/pwn/sast/sudo.rb
CHANGED
@@ -47,7 +47,7 @@ module PWN
|
|
47
47
|
|
48
48
|
hash_line = {
|
49
49
|
timestamp: Time.now.strftime('%Y-%m-%d %H:%M:%S.%9N %z').to_s,
|
50
|
-
|
50
|
+
security_references: security_references,
|
51
51
|
filename: { git_repo_root_uri: git_repo_root_uri, entry: entry },
|
52
52
|
line_no_and_contents: '',
|
53
53
|
raw_content: str,
|
@@ -77,9 +77,11 @@ module PWN
|
|
77
77
|
else
|
78
78
|
author = 'N/A'
|
79
79
|
end
|
80
|
-
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
81
|
-
|
82
|
-
|
80
|
+
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
81
|
+
line_no: line_no,
|
82
|
+
contents: contents,
|
83
|
+
author: author
|
84
|
+
)
|
83
85
|
|
84
86
|
current_count += 2
|
85
87
|
end
|
@@ -104,7 +106,7 @@ module PWN
|
|
104
106
|
# to PWN Exploit & Static Code Anti-Pattern Matching Modules to
|
105
107
|
# Determine the level of Testing Coverage w/ PWN.
|
106
108
|
|
107
|
-
public_class_method def self.
|
109
|
+
public_class_method def self.security_references
|
108
110
|
{
|
109
111
|
sast_module: self,
|
110
112
|
section: 'LEAST PRIVILEGE',
|
data/lib/pwn/sast/task_tag.rb
CHANGED
@@ -61,7 +61,7 @@ module PWN
|
|
61
61
|
|
62
62
|
hash_line = {
|
63
63
|
timestamp: Time.now.strftime('%Y-%m-%d %H:%M:%S.%9N %z').to_s,
|
64
|
-
|
64
|
+
security_references: security_references,
|
65
65
|
filename: { git_repo_root_uri: git_repo_root_uri, entry: entry },
|
66
66
|
line_no_and_contents: '',
|
67
67
|
raw_content: str,
|
@@ -91,9 +91,11 @@ module PWN
|
|
91
91
|
else
|
92
92
|
author = 'N/A'
|
93
93
|
end
|
94
|
-
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
95
|
-
|
96
|
-
|
94
|
+
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
95
|
+
line_no: line_no,
|
96
|
+
contents: contents,
|
97
|
+
author: author
|
98
|
+
)
|
97
99
|
|
98
100
|
current_count += 2
|
99
101
|
end
|
@@ -118,7 +120,7 @@ module PWN
|
|
118
120
|
# to PWN Exploit & Static Code Anti-Pattern Matching Modules to
|
119
121
|
# Determine the level of Testing Coverage w/ PWN.
|
120
122
|
|
121
|
-
public_class_method def self.
|
123
|
+
public_class_method def self.security_references
|
122
124
|
{
|
123
125
|
sast_module: self,
|
124
126
|
section: 'LEAST PRIVILEGE',
|
@@ -46,7 +46,7 @@ module PWN
|
|
46
46
|
|
47
47
|
hash_line = {
|
48
48
|
timestamp: Time.now.strftime('%Y-%m-%d %H:%M:%S.%9N %z').to_s,
|
49
|
-
|
49
|
+
security_references: security_references,
|
50
50
|
filename: { git_repo_root_uri: git_repo_root_uri, entry: entry },
|
51
51
|
line_no_and_contents: '',
|
52
52
|
raw_content: str,
|
@@ -76,9 +76,11 @@ module PWN
|
|
76
76
|
else
|
77
77
|
author = 'N/A'
|
78
78
|
end
|
79
|
-
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
80
|
-
|
81
|
-
|
79
|
+
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
80
|
+
line_no: line_no,
|
81
|
+
contents: contents,
|
82
|
+
author: author
|
83
|
+
)
|
82
84
|
|
83
85
|
current_count += 2
|
84
86
|
end
|
@@ -103,7 +105,7 @@ module PWN
|
|
103
105
|
# to PWN Exploit & Static Code Anti-Pattern Matching Modules to
|
104
106
|
# Determine the level of Testing Coverage w/ PWN.
|
105
107
|
|
106
|
-
public_class_method def self.
|
108
|
+
public_class_method def self.security_references
|
107
109
|
{
|
108
110
|
sast_module: self,
|
109
111
|
section: 'ERROR HANDLING',
|
data/lib/pwn/sast/token.rb
CHANGED
@@ -44,7 +44,7 @@ module PWN
|
|
44
44
|
|
45
45
|
hash_line = {
|
46
46
|
timestamp: Time.now.strftime('%Y-%m-%d %H:%M:%S.%9N %z').to_s,
|
47
|
-
|
47
|
+
security_references: security_references,
|
48
48
|
filename: { git_repo_root_uri: git_repo_root_uri, entry: entry },
|
49
49
|
line_no_and_contents: '',
|
50
50
|
raw_content: str,
|
@@ -74,9 +74,11 @@ module PWN
|
|
74
74
|
else
|
75
75
|
author = 'N/A'
|
76
76
|
end
|
77
|
-
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
78
|
-
|
79
|
-
|
77
|
+
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
78
|
+
line_no: line_no,
|
79
|
+
contents: contents,
|
80
|
+
author: author
|
81
|
+
)
|
80
82
|
|
81
83
|
current_count += 2
|
82
84
|
end
|
@@ -101,7 +103,7 @@ module PWN
|
|
101
103
|
# to PWN Exploit & Static Code Anti-Pattern Matching Modules to
|
102
104
|
# Determine the level of Testing Coverage w/ PWN.
|
103
105
|
|
104
|
-
public_class_method def self.
|
106
|
+
public_class_method def self.security_references
|
105
107
|
{
|
106
108
|
sast_module: self,
|
107
109
|
section: 'CRYPTOGRAPHIC MODULE AUTHENTICATION',
|
data/lib/pwn/sast/version.rb
CHANGED
@@ -44,7 +44,7 @@ module PWN
|
|
44
44
|
|
45
45
|
hash_line = {
|
46
46
|
timestamp: Time.now.strftime('%Y-%m-%d %H:%M:%S.%9N %z').to_s,
|
47
|
-
|
47
|
+
security_references: security_references,
|
48
48
|
filename: { git_repo_root_uri: git_repo_root_uri, entry: entry },
|
49
49
|
line_no_and_contents: '',
|
50
50
|
raw_content: str,
|
@@ -74,9 +74,11 @@ module PWN
|
|
74
74
|
else
|
75
75
|
author = 'N/A'
|
76
76
|
end
|
77
|
-
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
78
|
-
|
79
|
-
|
77
|
+
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
78
|
+
line_no: line_no,
|
79
|
+
contents: contents,
|
80
|
+
author: author
|
81
|
+
)
|
80
82
|
|
81
83
|
current_count += 2
|
82
84
|
end
|
@@ -101,7 +103,7 @@ module PWN
|
|
101
103
|
# to PWN Exploit & Static Code Anti-Pattern Matching Modules to
|
102
104
|
# Determine the level of Testing Coverage w/ PWN.
|
103
105
|
|
104
|
-
public_class_method def self.
|
106
|
+
public_class_method def self.security_references
|
105
107
|
{
|
106
108
|
sast_module: self,
|
107
109
|
section: 'VULNERABILITY SCANNING',
|
@@ -46,7 +46,7 @@ module PWN
|
|
46
46
|
|
47
47
|
hash_line = {
|
48
48
|
timestamp: Time.now.strftime('%Y-%m-%d %H:%M:%S.%9N %z').to_s,
|
49
|
-
|
49
|
+
security_references: security_references,
|
50
50
|
filename: { git_repo_root_uri: git_repo_root_uri, entry: entry },
|
51
51
|
line_no_and_contents: '',
|
52
52
|
raw_content: str,
|
@@ -76,9 +76,11 @@ module PWN
|
|
76
76
|
else
|
77
77
|
author = 'N/A'
|
78
78
|
end
|
79
|
-
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
80
|
-
|
81
|
-
|
79
|
+
hash_line[:line_no_and_contents] = line_no_and_contents_arr.push(
|
80
|
+
line_no: line_no,
|
81
|
+
contents: contents,
|
82
|
+
author: author
|
83
|
+
)
|
82
84
|
|
83
85
|
current_count += 2
|
84
86
|
end
|
@@ -103,7 +105,7 @@ module PWN
|
|
103
105
|
# to PWN Exploit & Static Code Anti-Pattern Matching Modules to
|
104
106
|
# Determine the level of Testing Coverage w/ PWN.
|
105
107
|
|
106
|
-
public_class_method def self.
|
108
|
+
public_class_method def self.security_references
|
107
109
|
{
|
108
110
|
sast_module: self,
|
109
111
|
section: 'MALICIOUS CODE PROTECTION',
|
data/lib/pwn/version.rb
CHANGED
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe PWN::Reports::Phone do
|
6
|
+
it 'should display information for authors' do
|
7
|
+
authors_response = PWN::Reports::Phone
|
8
|
+
expect(authors_response).to respond_to :authors
|
9
|
+
end
|
10
|
+
|
11
|
+
it 'should display information for existing help method' do
|
12
|
+
help_response = PWN::Reports::Phone
|
13
|
+
expect(help_response).to respond_to :help
|
14
|
+
end
|
15
|
+
end
|
@@ -8,9 +8,9 @@ describe PWN::SAST::AMQPConnectAsGuest do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_references' do
|
12
|
+
security_references_response = PWN::SAST::AMQPConnectAsGuest
|
13
|
+
expect(security_references_response).to respond_to :security_references
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::ApacheFileSystemUtilAPI do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_references' do
|
12
|
+
security_references_response = PWN::SAST::ApacheFileSystemUtilAPI
|
13
|
+
expect(security_references_response).to respond_to :security_references
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::AWS do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_references' do
|
12
|
+
security_references_response = PWN::SAST::AWS
|
13
|
+
expect(security_references_response).to respond_to :security_references
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::BannedFunctionCallsC do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_references' do
|
12
|
+
security_references_response = PWN::SAST::BannedFunctionCallsC
|
13
|
+
expect(security_references_response).to respond_to :security_references
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Base64 do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_references' do
|
12
|
+
security_references_response = PWN::SAST::Base64
|
13
|
+
expect(security_references_response).to respond_to :security_references
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::BeefHook do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_references' do
|
12
|
+
security_references_response = PWN::SAST::BeefHook
|
13
|
+
expect(security_references_response).to respond_to :security_references
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::CmdExecutionJava do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_references' do
|
12
|
+
security_references_response = PWN::SAST::CmdExecutionJava
|
13
|
+
expect(security_references_response).to respond_to :security_references
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::CmdExecutionPython do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_references' do
|
12
|
+
security_references_response = PWN::SAST::CmdExecutionPython
|
13
|
+
expect(security_references_response).to respond_to :security_references
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::CmdExecutionRuby do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_references' do
|
12
|
+
security_references_response = PWN::SAST::CmdExecutionRuby
|
13
|
+
expect(security_references_response).to respond_to :security_references
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::CmdExecutionScala do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_references' do
|
12
|
+
security_references_response = PWN::SAST::CmdExecutionScala
|
13
|
+
expect(security_references_response).to respond_to :security_references
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::CSRF do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_references' do
|
12
|
+
security_references_response = PWN::SAST::CSRF
|
13
|
+
expect(security_references_response).to respond_to :security_references
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::DeserialJava do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_references' do
|
12
|
+
security_references_response = PWN::SAST::DeserialJava
|
13
|
+
expect(security_references_response).to respond_to :security_references
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Emoticon do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_references' do
|
12
|
+
security_references_response = PWN::SAST::Emoticon
|
13
|
+
expect(security_references_response).to respond_to :security_references
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Eval do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_references' do
|
12
|
+
security_references_response = PWN::SAST::Eval
|
13
|
+
expect(security_references_response).to respond_to :security_references
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::Factory do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_references' do
|
12
|
+
security_references_response = PWN::SAST::Factory
|
13
|
+
expect(security_references_response).to respond_to :security_references
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::HTTPAuthorizationHeader do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_references' do
|
12
|
+
security_references_response = PWN::SAST::HTTPAuthorizationHeader
|
13
|
+
expect(security_references_response).to respond_to :security_references
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|
@@ -8,9 +8,9 @@ describe PWN::SAST::InnerHTML do
|
|
8
8
|
expect(scan_response).to respond_to :scan
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'should display information for
|
12
|
-
|
13
|
-
expect(
|
11
|
+
it 'should display information for security_references' do
|
12
|
+
security_references_response = PWN::SAST::InnerHTML
|
13
|
+
expect(security_references_response).to respond_to :security_references
|
14
14
|
end
|
15
15
|
|
16
16
|
it 'should display information for authors' do
|