lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_wlanapi.rb in librex-0.0.63 vs lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_wlanapi.rb in librex-0.0.65
- old
+ new
@@ -9,22 +9,22 @@
class Def_wlanapi
def self.create_dll(dll_path = 'wlanapi')
dll = DLL.new(dll_path, ApiConstants.manager)
-
+
dll.add_function( 'WlanOpenHandle', 'DWORD',[
['DWORD', 'dwClientVersion', 'in'],
['LPVOID', 'pReserved', 'in'],
['PDWORD', 'pdwNegotiatedVersion', 'out'],
['PDWORD', 'phClientHandle', 'out']])
-
+
dll.add_function( 'WlanEnumInterfaces', 'DWORD',[
['DWORD', 'hClientHandle', 'in'],
['LPVOID', 'pReserved', 'in'],
['PDWORD', 'ppInterfaceList', 'out']])
-
+
dll.add_function( 'WlanGetProfileList', 'DWORD',[
['DWORD', 'hClientHandle', 'in'],
['PBLOB', 'pInterfaceGuid', 'in'],
['LPVOID', 'pReserved', 'in'],
['PDWORD', 'ppProfileList', 'out']])
@@ -35,51 +35,51 @@
['PBLOB', 'strProfileName', 'in'],
['LPVOID', 'pReserved', 'in'],
['PDWORD', 'pstrProfileXML', 'out'],
['PDWORD', 'pdwFlags', 'inout'],
['PDWORD', 'pdwGrantedAccess', 'out']])
-
+
dll.add_function( 'WlanFreeMemory', 'DWORD',[
['LPVOID', 'pMemory', 'in']])
-
+
dll.add_function( 'WlanCloseHandle', 'DWORD',[
['DWORD', 'hClientHandle', 'in'],
['LPVOID', 'pReserved', 'in']])
-
+
dll.add_function( 'WlanQueryInterface', 'DWORD',[
['DWORD', 'hClientHandle', 'in'],
['PBLOB', 'pInterfaceGuid', 'in'],
['DWORD', 'OpCode', 'in'],
['LPVOID', 'pReserved', 'in'],
['PDWORD', 'pdwDataSize', 'out'],
['PDWORD', 'ppData', 'out'],
['PDWORD', 'pWlanOpcodeValueType', 'out']])
-
+
dll.add_function( 'WlanScan', 'DWORD',[
['DWORD', 'hClientHandle', 'in'],
['PBLOB', 'pInterfaceGuid', 'in'],
['PBLOB', 'pDot11Ssid', 'in'],
['PBLOB', 'pIeData', 'in'],
['LPVOID', 'pReserved', 'in']])
-
+
dll.add_function( 'WlanGetNetworkBssList', 'DWORD',[
['DWORD', 'hClientHandle', 'in'],
['PBLOB', 'pInterfaceGuid', 'in'],
['PBLOB', 'pDot11Ssid', 'in'],
['DWORD', 'dot11BssType', 'in'],
['BOOL', 'bSecurityEnabled', 'in'],
['LPVOID', 'pReserved', 'in'],
['PDWORD', 'ppWlanBssList', 'out']])
-
+
dll.add_function( 'WlanDisconnect', 'DWORD',[
['DWORD', 'hClientHandle', 'in'],
['PBLOB', 'pInterfaceGuid', 'in'],
['LPVOID', 'pReserved', 'in']])
-
-
+
+
return dll
end
-
+
end
end; end; end; end; end; end; end