1
mirror of https://github.com/rapid7/metasploit-payloads synced 2024-12-21 05:35:54 +01:00
Commit Graph

3197 Commits

Author SHA1 Message Date
Grant Willcox
ca738c412c
Consolidate repeatedly defined constants, update priv list for SeDelegateSessionUserImpersonatePrivilege 2023-02-16 15:03:04 -06:00
Alex Romero
0223168822
add getprivs command to python windows meterpreter 2023-02-15 19:01:24 -05:00
Metasploit
89d1f71fbd Bump metasploit-payloads to 2.0.110 2023-01-30 09:33:57 -06:00
Spencer McIntyre
ddefc9578f
Land #604, add getdesktop cmd python meterpreter
add getdesktop command to windows python meterpreter
2023-01-30 10:23:10 -05:00
Spencer McIntyre
6880b0d8fa Remove an unnecessary blank line 2023-01-30 10:22:44 -05:00
Alex Romero
3fbabbca7d
fix minor changes from @smcintyre-r7 reviews 2023-01-29 13:33:54 -05:00
Alex Romero
90eacefad5
add getdesktop command to windows python meterpreter 2023-01-23 15:13:19 -05:00
Metasploit
251cec1882 Bump metasploit-payloads to 2.0.109 2023-01-19 17:58:45 -06:00
Grant Willcox
5ed840fdca
Land #599, Bind to the specified LocalHost 2023-01-19 17:55:02 -06:00
Grant Willcox
ca639d4756
Land #599, Bind to the specified LocalHost 2023-01-19 17:49:34 -06:00
Spencer McIntyre
a54ea83cb0 More error handling and documentation 2023-01-19 15:32:46 -05:00
Metasploit
2259af1992 Bump metasploit-payloads to 2.0.108 2023-01-13 14:11:27 -06:00
Grant Willcox
9c70f169b2
Land #602, Support dual IPv4 / IPv6 TCP servers in Python 2023-01-13 14:01:41 -06:00
Metasploit
d5e3da858e Bump metasploit-payloads to 2.0.107 2023-01-12 12:31:37 -06:00
Spencer McIntyre
d07b86f937
Land #600, add enumdesktops to python meterpreter
add enumdesktops command to windows python meterpreter
2023-01-12 13:22:12 -05:00
Alex Romero
8c99076e9a
apply @smcintyre-r7 patch on station 0 bug for python enumdesktops 2023-01-12 13:03:42 -05:00
Alex Romero
414f2208fc
apply @smcintyre-r7 review changes 2023-01-11 20:17:33 -05:00
Spencer McIntyre
68584e520d Support dual IPv4 / IPv6 TCP servers in Python 2023-01-10 16:13:13 -05:00
Spencer McIntyre
b83af142c0 Allow binding to specific addresses in Windows
Related to rapid7/metasploit-framework#17282
2023-01-10 15:51:36 -05:00
Metasploit
89b469f0c9 Bump metasploit-payloads to 2.0.106 2022-12-13 13:13:17 -06:00
Grant Willcox
acee11b308
Land #597, Fix Python EventLog commands 2022-12-13 13:03:33 -06:00
Metasploit
399e8021b2 Bump metasploit-payloads to 2.0.105 2022-12-13 13:00:12 -06:00
Grant Willcox
606b8a232e
Update README.md to include Python and PHP testing directions 2022-12-13 12:50:47 -06:00
Metasploit
6ec0b8a655 Bump metasploit-payloads to 2.0.104 2022-12-12 16:01:24 -06:00
Grant Willcox
d022d58ae6
Land #601, Pull in upstream COFFLoader changes 2022-12-12 15:50:59 -06:00
Spencer McIntyre
2e4cb890d3 Pull in upstream COFFLoader changes
Changes include fixes for running BOFs compiled from VS which contained
some relocations that were not being properly handled.

See:
  * https://github.com/trustedsec/COFFLoader/issues/7
  * https://github.com/trustedsec/COFFLoader/pull/8
  * https://github.com/trustedsec/COFFLoader/pull/9
2022-12-12 08:51:28 -05:00
Alex Romero
56506cc902
add enumdesktops command to windows python meterpreter 2022-12-08 16:49:51 -05:00
Metasploit
eb94e82457 Bump metasploit-payloads to 2.0.103 2022-12-08 15:06:16 -06:00
Spencer McIntyre
77464da05e
Land #598, arp command for windows pymeterpreter
add arp command to windows python meterpreter
2022-12-08 15:55:42 -05:00
Alex Romero
5b9356d6d2
add arp command to windows python meterpreter
Update python/meterpreter/ext_server_stdapi.py - apply review suggestion

return associated error code

Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com>

Update python/meterpreter/ext_server_stdapi.py - apply review suggestion

propagate return value

Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com>

Update python/meterpreter/ext_server_stdapi.py - apply review suggestion

commit changes:
- move error codes global to make them reusable
- call iphlpapi.dll directly from windll
- bug fix ipnet_table casting memory allocation

Update python/meterpreter/ext_server_stdapi.py

Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com>

Update python/meterpreter/ext_server_stdapi.py

Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com>

remove TABLE_IPNETTABLE function
2022-12-07 14:49:14 -05:00
Metasploit
ffa8097832 Bump metasploit-payloads to 2.0.102 2022-11-15 08:55:40 -06:00
Spencer McIntyre
79341d9dfb
Land #595, Mimikatz update 2022-11-15 09:45:46 -05:00
Spencer McIntyre
2682913af2 Fix buffer handling in Python 2.x
When slicing a ctypes array, the result is a list. A list is not a
ctypes array which is causing ctarray_to_bytes to fail.
2022-11-14 09:34:23 -05:00
Spencer McIntyre
431b6bcdf3 Fix Python eventlog issues 2022-11-11 18:07:24 -05:00
Metasploit
c534275fca Bump metasploit-payloads to 2.0.101 2022-11-10 16:19:29 -06:00
Grant Willcox
3d8b02f17b
Land #592, Fix #584: Close memory and handle leaks 2022-11-10 16:10:23 -06:00
Grant Willcox
f5bae3b63c
Cleanup handles if memory allocation fails before exiting get_token_list 2022-11-10 15:56:05 -06:00
Spencer McIntyre
80e8b721ef Close the handle when it wasn't copied
Close the hObject handle when it wasn't copied into token_list.
2022-11-10 16:08:16 -05:00
Spencer McIntyre
d0ab25e521 Close memory and handle leaks 2022-11-10 13:31:28 -05:00
bwatters-r7
c466356cb9
Update mimikatz pinned submodule 2022-11-09 08:16:13 -06:00
Metasploit
c2bc9b2b4a Bump metasploit-payloads to 2.0.100 2022-11-07 15:53:57 -06:00
adfoster-r7
78ba9ee8d3
Land #596, Remove references to wintypes 2022-11-07 21:45:23 +00:00
Spencer McIntyre
f877a4f8cb Remove references to wintypes
References to wintypes were breaking the Python Meterpreter on platforms
where the wintypes module was not present (anything other than Windows).
2022-11-07 16:30:57 -05:00
Metasploit
3eb6072275 Bump metasploit-payloads to 2.0.99 2022-11-03 16:16:43 -05:00
Spencer McIntyre
bc1bb0a908
Land #593, add shutdown command for python
add shutdown command for python (windows only)
2022-11-03 17:07:42 -04:00
Alex Romero
cdddfbcc7e Update python/meterpreter/ext_server_stdapi.py
Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com>

Update python/meterpreter/ext_server_stdapi.py

Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com>

Update python/meterpreter/ext_server_stdapi.py

Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com>

Update python/meterpreter/ext_server_stdapi.py

Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com>

Update python/meterpreter/ext_server_stdapi.py

Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com>

Update python/meterpreter/ext_server_stdapi.py

remove mistaken 't' in reviews
2022-11-03 16:39:06 -04:00
bwatters-r7
0331174548
Fixes to support compiling new updates to mimikatz 2022-11-03 10:50:18 -05:00
Alex Romero
d238661726 add shutdown command for python (windows only) 2022-10-31 17:16:36 -04:00
Metasploit
ee92a300ba Bump metasploit-payloads to 2.0.98 2022-09-29 10:27:28 -05:00
bwatters-r7
a5473e71df
land #588, Add TrustedSec's COFFLoader as Meterpreter Extension
Merge branch 'land-588' into upstream-master
2022-09-29 10:16:12 -05:00