Use the not-so-explicit platform

git-svn-id: file:///home/svn/framework3/trunk@7843 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-12-13 19:46:44 +00:00
parent 89da53d570
commit e2cc45e4d4
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,7 @@ class Exploit < Msf::Module
def encode_shellcode_stub(code, badchars=payload_badchars)
platform = self.platform
if(self.payload_instance)
self.payload_instance.explicit_platform
self.payload_instance.platform
end
compatible_encoders.each do |name, mod|
begin