Fix Uninitialized Constant RequestError

[SeeRM #8765] NameError uninitialized constant
bug/bundler_fix
sinn3r 2014-02-12 00:23:23 -06:00
parent 18816f3d5e
commit 0f620f5aba
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class Metasploit3 < Msf::Post
return return
end end
rescue ::Exception => e rescue ::Exception => e
if e.kind_of?(RuntimeError) or e.kind_of?(RequestError) if e.kind_of?(RuntimeError) or e.kind_of?(::Rex::Post::Meterpreter::RequestError)
# Can't bind or in a network w/ limited accounts # Can't bind or in a network w/ limited accounts
print_error(e.message) print_error(e.message)
return return