Sha256: 16e22c5a2ac5f84a052b64937bbf28d0300fdae22aa9f6b3917d188d70dbbacd

Contents?: true

Size: 548 Bytes

Versions: 1

Compression:

Stored size: 548 Bytes

Contents

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"]
			])

		return dll
	end

end

end; end; end; end; end; end; end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
librex-0.0.65 lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_netapi32.rb