fix error

bug/bundler_fix
Christian Mehlmauer 2015-01-08 19:48:29 +01:00
parent 2a52bfd26d
commit a5b56c7d09
No known key found for this signature in database
GPG Key ID: BCFF4FA966BC32C7
1 changed files with 2 additions and 2 deletions

View File

@ -151,10 +151,10 @@ module Exploit
if e.kind_of?(Msf::OptionValidateError)
dlog("Call stack:\n#{e.backtrace.join("\n")}", 'core', LEV_3)
else
mod.print_error("Call stack:")
exploit.print_error("Call stack:")
e.backtrace.each do |line|
break if line =~ /lib.msf.base.simple.exploit.rb/
mod.print_error(" #{line}")
exploit.print_error(" #{line}")
end
elog("Call stack:\n#{e.backtrace.join("\n")}", 'core', LEV_0)
end