Files
metasploit-gs/lib/msf/core/encoder/alphanum.rb
T
HD Moore 06372f3c40 See #430. This adds the AllowWin32SEH option to the upper/mixed alphanumeric encoders, providing 100% alphanumeric payloads for Windows platforms
git-svn-id: file:///home/svn/framework3/trunk@7405 4d416f70-5f16-0410-b530-b9f4589650da
2009-11-08 00:45:51 +00:00

29 lines
596 B
Ruby

require 'msf/core'
module Msf
###
#
# This class provides common options for certain alphanumeric encoders.
#
###
class Encoder::Alphanum < Msf::Encoder
def initialize(info)
super(info)
off = 0
register_options(
[
OptString.new('BufferRegister', [ false, "The register that pointers to the encoded payload" ]),
OptInt.new('BufferOffset', [ false, "The offset to the buffer from the start of the register", off ]),
OptBool.new('AllowWin32SEH', [ true, "Use SEH to determine the address of the stub (Windows only)", false ])
], Msf::Encoder::Alphanum)
end
end
end