Sha256: beca86bcd9c9d6ef84bc4e4a52c965b0d86724055ea25160bb379a88483f39e4
Contents?: true
Size: 618 Bytes
Versions: 15
Compression:
Stored size: 618 Bytes
Contents
# -*- coding: binary -*- module Rex module Post module Meterpreter module Extensions module Stdapi module Railgun module Def class Def_shell32 def self.create_dll(dll_path = 'shell32') dll = DLL.new(dll_path, ApiConstants.manager) dll.add_function('IsUserAnAdmin', 'BOOL', [ ]) dll.add_function('ShellExecuteA', 'DWORD',[ ["DWORD","hwnd","in"], ["PCHAR","lpOperation","in"], ["PCHAR","lpFile","in"], ["PCHAR","lpParameters","in"], ["PCHAR","lpDirectory","in"], ["DWORD","nShowCmd","in"] ]) return dll end end end; end; end; end; end; end; end
Version data entries
15 entries across 15 versions & 3 rubygems