Merge branch 'msfvenom_nomethoderror' of https://github.com/silviupopescu/metasploit-framework into silviupopescu-msfvenom_nomethoderror

unstable
sinn3r 2012-05-03 20:29:06 -05:00
commit 1cdc376f2b
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class Metasploit3 < Msf::Encoder::Alphanum
# Configure SEH getpc code on Windows
#
def init_platform(platform)
if(platform.supports?(::Msf::Module::PlatformList.win32))
if(::Msf::Module::PlatformList.from_a(platform).supports?(::Msf::Module::PlatformList.win32))
datastore['AllowWin32SEH'] = true
end
end