Sha256: 31f7a3c5e8459a45f2fb383888e18960217d5f57b78b70a8c974c249e76ec2e3
Contents?: true
Size: 915 Bytes
Versions: 2
Compression:
Stored size: 915 Bytes
Contents
# -*- coding: binary -*- module Rex module Post module Meterpreter module Extensions module Stdapi module Railgun module Def class Def_netapi32 def self.create_dll(dll_path = 'netapi32') dll = DLL.new(dll_path, ApiConstants.manager) dll.add_function('NetUserDel', 'DWORD',[ ["PWCHAR","servername","in"], ["PWCHAR","username","in"], ]) dll.add_function('NetGetJoinInformation', 'DWORD',[ ["PBLOB","lpServer","in"], ["PDWORD","lpNameBugger","out"], ["PDWORD","BufferType","out"] ]) dll.add_function('NetServerEnum', 'DWORD',[ ["PWCHAR","servername","in"], ["DWORD","level","in"], ["PDWORD","bufptr","out"], ["DWORD","prefmaxlen","in"], ["PDWORD","entriesread","out"], ["PDWORD","totalentries","out"], ["DWORD","servertype","in"], ["PWCHAR","domain","in"], ["DWORD","resume_handle","inout"] ]) return dll end end end; end; end; end; end; end; end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
librex-0.0.68 | lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_netapi32.rb |
librex-0.0.66 | lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_netapi32.rb |