class Rex::Post::Meterpreter::Extensions::Stdapi::Railgun::Def::Def_shell32
Public Class Methods
create_dll(dll_path = 'shell32')
click to toggle source
# File lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_shell32.rb, line 11 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