Skip to content

Commit 0f7f75b

Browse files
author
Brent Cook
committed
Land rapid7#4557, FireFart's fix for faulting folly
2 parents 2a52bfd + a5b56c7 commit 0f7f75b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/msf/base/simple/exploit.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ def self.exploit_simple(oexploit, opts, &block)
151151
if e.kind_of?(Msf::OptionValidateError)
152152
dlog("Call stack:\n#{e.backtrace.join("\n")}", 'core', LEV_3)
153153
else
154-
mod.print_error("Call stack:")
154+
exploit.print_error("Call stack:")
155155
e.backtrace.each do |line|
156156
break if line =~ /lib.msf.base.simple.exploit.rb/
157-
mod.print_error(" #{line}")
157+
exploit.print_error(" #{line}")
158158
end
159159
elog("Call stack:\n#{e.backtrace.join("\n")}", 'core', LEV_0)
160160
end

0 commit comments

Comments
 (0)