We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b8ec59 commit 76bfaa6Copy full SHA for 76bfaa6
lib/msf/core/db_manager/exploit_attempt.rb
@@ -119,7 +119,7 @@ def do_report_failure_or_success(opts)
119
username = opts[:username]
120
mname = opts[:module]
121
122
- if ! vuln.nil?
+ if vuln.nil?
123
ref_names = mrefs.map { |ref|
124
if ref.respond_to?(:ctx_id) and ref.respond_to?(:ctx_val)
125
"#{ref.ctx_id}-#{ref.ctx_val}"
spec/support/shared/examples/msf/db_manager/exploit_attempt.rb
@@ -44,6 +44,7 @@
44
45
context 'without a vuln' do
46
let(:vuln) { nil }
47
+
48
specify do
49
expect {
50
report_exploit_success
0 commit comments