From 0f620f5aba9bca34f3e12c9172bbd3f36facbfcd Mon Sep 17 00:00:00 2001 From: sinn3r Date: Wed, 12 Feb 2014 00:23:23 -0600 Subject: [PATCH] Fix Uninitialized Constant RequestError [SeeRM #8765] NameError uninitialized constant --- modules/post/windows/gather/enum_ad_user_comments.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/post/windows/gather/enum_ad_user_comments.rb b/modules/post/windows/gather/enum_ad_user_comments.rb index d6a66b30cb..e1e9da0eeb 100644 --- a/modules/post/windows/gather/enum_ad_user_comments.rb +++ b/modules/post/windows/gather/enum_ad_user_comments.rb @@ -47,7 +47,7 @@ class Metasploit3 < Msf::Post return end 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 print_error(e.message) return