metasploit-payloads 2.0.108 → 2.0.110
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/data/android/meterpreter.jar +0 -0
- data/data/android/metstage.jar +0 -0
- data/data/android/shell.jar +0 -0
- data/data/meterpreter/elevator.x64.debug.dll +0 -0
- data/data/meterpreter/elevator.x64.dll +0 -0
- data/data/meterpreter/elevator.x86.debug.dll +0 -0
- data/data/meterpreter/elevator.x86.dll +0 -0
- data/data/meterpreter/ext_server_bofloader.x64.debug.dll +0 -0
- data/data/meterpreter/ext_server_bofloader.x64.dll +0 -0
- data/data/meterpreter/ext_server_bofloader.x86.debug.dll +0 -0
- data/data/meterpreter/ext_server_bofloader.x86.dll +0 -0
- data/data/meterpreter/ext_server_espia.x64.debug.dll +0 -0
- data/data/meterpreter/ext_server_espia.x64.dll +0 -0
- data/data/meterpreter/ext_server_espia.x86.debug.dll +0 -0
- data/data/meterpreter/ext_server_espia.x86.dll +0 -0
- data/data/meterpreter/ext_server_extapi.x64.debug.dll +0 -0
- data/data/meterpreter/ext_server_extapi.x64.dll +0 -0
- data/data/meterpreter/ext_server_extapi.x86.debug.dll +0 -0
- data/data/meterpreter/ext_server_extapi.x86.dll +0 -0
- data/data/meterpreter/ext_server_incognito.x64.debug.dll +0 -0
- data/data/meterpreter/ext_server_incognito.x64.dll +0 -0
- data/data/meterpreter/ext_server_incognito.x86.debug.dll +0 -0
- data/data/meterpreter/ext_server_incognito.x86.dll +0 -0
- data/data/meterpreter/ext_server_kiwi.x64.debug.dll +0 -0
- data/data/meterpreter/ext_server_kiwi.x64.dll +0 -0
- data/data/meterpreter/ext_server_kiwi.x86.debug.dll +0 -0
- data/data/meterpreter/ext_server_kiwi.x86.dll +0 -0
- data/data/meterpreter/ext_server_lanattacks.x64.debug.dll +0 -0
- data/data/meterpreter/ext_server_lanattacks.x64.dll +0 -0
- data/data/meterpreter/ext_server_lanattacks.x86.debug.dll +0 -0
- data/data/meterpreter/ext_server_lanattacks.x86.dll +0 -0
- data/data/meterpreter/ext_server_peinjector.x64.debug.dll +0 -0
- data/data/meterpreter/ext_server_peinjector.x64.dll +0 -0
- data/data/meterpreter/ext_server_peinjector.x86.debug.dll +0 -0
- data/data/meterpreter/ext_server_peinjector.x86.dll +0 -0
- data/data/meterpreter/ext_server_powershell.x64.debug.dll +0 -0
- data/data/meterpreter/ext_server_powershell.x64.dll +0 -0
- data/data/meterpreter/ext_server_powershell.x86.debug.dll +0 -0
- data/data/meterpreter/ext_server_powershell.x86.dll +0 -0
- data/data/meterpreter/ext_server_priv.x64.debug.dll +0 -0
- data/data/meterpreter/ext_server_priv.x64.dll +0 -0
- data/data/meterpreter/ext_server_priv.x86.debug.dll +0 -0
- data/data/meterpreter/ext_server_priv.x86.dll +0 -0
- data/data/meterpreter/ext_server_python.x64.debug.dll +0 -0
- data/data/meterpreter/ext_server_python.x64.dll +0 -0
- data/data/meterpreter/ext_server_python.x86.debug.dll +0 -0
- data/data/meterpreter/ext_server_python.x86.dll +0 -0
- data/data/meterpreter/ext_server_sniffer.x64.dll +0 -0
- data/data/meterpreter/ext_server_sniffer.x86.dll +0 -0
- data/data/meterpreter/ext_server_stdapi.py +45 -2
- data/data/meterpreter/ext_server_stdapi.x64.debug.dll +0 -0
- data/data/meterpreter/ext_server_stdapi.x64.dll +0 -0
- data/data/meterpreter/ext_server_stdapi.x86.debug.dll +0 -0
- data/data/meterpreter/ext_server_stdapi.x86.dll +0 -0
- data/data/meterpreter/ext_server_unhook.x64.debug.dll +0 -0
- data/data/meterpreter/ext_server_unhook.x64.dll +0 -0
- data/data/meterpreter/ext_server_unhook.x86.debug.dll +0 -0
- data/data/meterpreter/ext_server_unhook.x86.dll +0 -0
- data/data/meterpreter/ext_server_winpmem.x64.debug.dll +0 -0
- data/data/meterpreter/ext_server_winpmem.x64.dll +0 -0
- data/data/meterpreter/ext_server_winpmem.x86.debug.dll +0 -0
- data/data/meterpreter/ext_server_winpmem.x86.dll +0 -0
- data/data/meterpreter/metsrv.x64.debug.dll +0 -0
- data/data/meterpreter/metsrv.x64.dll +0 -0
- data/data/meterpreter/metsrv.x86.debug.dll +0 -0
- data/data/meterpreter/metsrv.x86.dll +0 -0
- data/data/meterpreter/screenshot.x64.debug.dll +0 -0
- data/data/meterpreter/screenshot.x64.dll +0 -0
- data/data/meterpreter/screenshot.x86.debug.dll +0 -0
- data/data/meterpreter/screenshot.x86.dll +0 -0
- data/lib/metasploit-payloads/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64de577065bf9307467789a2223a1c49cf8676525a0b0c9abfe63c09db9fddac
|
4
|
+
data.tar.gz: 7617cc80525c7eafbb908a141d0f3cfa7bf0e2fe4e2fba2a45892b60788efd9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54eff4b6a2279c30fafceb7d80fe2583868349f9a560d7c08a9f6cbe804c7aacbc95f86c006d5e2927510693aac66d176df82811bef312eb5f2723a359bc585a
|
7
|
+
data.tar.gz: cb7f5f78770c1f99fc78335e2246e78c96f3e1ac29d9c054bc37ae5deeeb072618f5708e40f8324734b1b4c2d09eb9201f712e6685c6e3447e51cb5c04320f4b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
Binary file
|
data/data/android/metstage.jar
CHANGED
Binary file
|
data/data/android/shell.jar
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -2792,7 +2792,6 @@ def stdapi_ui_get_idle_time(request, response):
|
|
2792
2792
|
|
2793
2793
|
@register_function_if(has_windll)
|
2794
2794
|
def stdapi_ui_desktop_enum(request, response):
|
2795
|
-
|
2796
2795
|
response_parts = []
|
2797
2796
|
if ctypes.sizeof(ctypes.c_long) == ctypes.sizeof(ctypes.c_void_p):
|
2798
2797
|
LPARAM = ctypes.c_long
|
@@ -2830,7 +2829,7 @@ def stdapi_ui_desktop_enum(request, response):
|
|
2830
2829
|
ProcessIdToSessionId = ctypes.windll.kernel32.ProcessIdToSessionId
|
2831
2830
|
ProcessIdToSessionId.argtypes = [ctypes.c_ulong, ctypes.POINTER(ctypes.c_ulong)]
|
2832
2831
|
ProcessIdToSessionId.restype = ctypes.c_bool
|
2833
|
-
|
2832
|
+
|
2834
2833
|
if not ProcessIdToSessionId(ctypes.c_ulong(pid), ctypes.byref(dwSessionId)):
|
2835
2834
|
dwSessionId = ctypes.c_ulong(-1)
|
2836
2835
|
|
@@ -2876,6 +2875,50 @@ def stdapi_ui_desktop_enum(request, response):
|
|
2876
2875
|
|
2877
2876
|
return ERROR_SUCCESS, response
|
2878
2877
|
|
2878
|
+
@register_function_if(has_windll)
|
2879
|
+
def stdapi_ui_desktop_get(request, response):
|
2880
|
+
UOI_NAME = 2
|
2881
|
+
|
2882
|
+
GetCurrentProcessId = ctypes.windll.kernel32.GetCurrentProcessId
|
2883
|
+
GetCurrentProcessId.restype = ctypes.c_ulong
|
2884
|
+
|
2885
|
+
GetProcessWindowStation = ctypes.windll.user32.GetProcessWindowStation
|
2886
|
+
GetProcessWindowStation.restype = ctypes.c_void_p
|
2887
|
+
|
2888
|
+
GetUserObjectInformationA = ctypes.windll.user32.GetUserObjectInformationA
|
2889
|
+
GetUserObjectInformationA.argtypes = [ctypes.c_void_p, ctypes.c_int32, ctypes.c_void_p, ctypes.c_ulong, ctypes.POINTER(ctypes.c_ulong)]
|
2890
|
+
GetUserObjectInformationA.restype = ctypes.c_bool
|
2891
|
+
|
2892
|
+
GetCurrentThreadId = ctypes.windll.kernel32.GetCurrentThreadId
|
2893
|
+
GetCurrentThreadId.restype = ctypes.c_ulong
|
2894
|
+
|
2895
|
+
GetThreadDesktop = ctypes.windll.user32.GetThreadDesktop
|
2896
|
+
GetThreadDesktop.argtypes = [ctypes.c_ulong]
|
2897
|
+
GetThreadDesktop.restype = ctypes.c_void_p
|
2898
|
+
|
2899
|
+
ProcessIdToSessionId = ctypes.windll.kernel32.ProcessIdToSessionId
|
2900
|
+
ProcessIdToSessionId.argtypes = [ctypes.c_ulong, ctypes.POINTER(ctypes.c_ulong)]
|
2901
|
+
ProcessIdToSessionId.restype = ctypes.c_bool
|
2902
|
+
|
2903
|
+
dwSessionId = ctypes.c_ulong(0)
|
2904
|
+
if not ProcessIdToSessionId(GetCurrentProcessId(), ctypes.byref(dwSessionId)):
|
2905
|
+
return error_result_windows(), response
|
2906
|
+
|
2907
|
+
station_name = ctypes.create_string_buffer(bytes(), 256)
|
2908
|
+
success = GetUserObjectInformationA(GetProcessWindowStation(), UOI_NAME, ctypes.byref(station_name), 256, None)
|
2909
|
+
if not success:
|
2910
|
+
return error_result_windows(), response
|
2911
|
+
|
2912
|
+
desktop_name = ctypes.create_string_buffer(bytes(), 256)
|
2913
|
+
success = GetUserObjectInformationA(GetThreadDesktop(GetCurrentThreadId()), UOI_NAME, ctypes.byref(desktop_name), 256, None)
|
2914
|
+
if not success:
|
2915
|
+
return error_result_windows(), response
|
2916
|
+
|
2917
|
+
response += tlv_pack(TLV_TYPE_DESKTOP_SESSION, dwSessionId.value)
|
2918
|
+
response += tlv_pack(TLV_TYPE_DESKTOP_STATION, station_name.value.decode())
|
2919
|
+
response += tlv_pack(TLV_TYPE_DESKTOP_NAME, desktop_name.value.decode())
|
2920
|
+
return ERROR_SUCCESS, response
|
2921
|
+
|
2879
2922
|
@register_function_if(has_termios and has_fcntl)
|
2880
2923
|
def stdapi_sys_process_set_term_size(request, response):
|
2881
2924
|
channel_id = packet_get_tlv(request, TLV_TYPE_CHANNEL_ID)['value']
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metasploit-payloads
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.110
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OJ Reeves
|
@@ -96,7 +96,7 @@ cert_chain:
|
|
96
96
|
EknWpNgVhohbot1lfVAMmIhdtOVaRVcQQixWPwprDj/ydB8ryDMDosIMcw+fkoXU
|
97
97
|
9GJsSaSRRYQ9UUkVL27b64okU8D48m8=
|
98
98
|
-----END CERTIFICATE-----
|
99
|
-
date: 2023-
|
99
|
+
date: 2023-02-16 00:00:00.000000000 Z
|
100
100
|
dependencies:
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
name: rake
|
metadata.gz.sig
CHANGED
Binary file
|