lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_netapi32.rb in librex-0.0.65 vs lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_netapi32.rb in librex-0.0.66

- old
+ new

@@ -1,5 +1,6 @@ +# -*- coding: binary -*- module Rex module Post module Meterpreter module Extensions module Stdapi @@ -19,9 +20,20 @@ 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