47039ff3fa
1) Figure out how to handle unicode geteip (unicode encoded, alphanum probably) 2) Add keys to the unicode payloads to force a corresponding keyu on the exploit side to enable git-svn-id: file:///home/svn/framework3/trunk@3863 4d416f70-5f16-0410-b530-b9f4589650da
27 lines
482 B
Ruby
27 lines
482 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 ])
|
|
], Msf::Encoder::Alphanum)
|
|
end
|
|
|
|
end
|
|
|
|
end
|