1
mirror of https://github.com/rapid7/metasploit-payloads synced 2024-11-20 14:39:22 +01:00
Commit Graph

3359 Commits

Author SHA1 Message Date
Alex Romero
39bd2b2581
Merge branch 'rapid7:master' into python-process 2023-02-17 20:57:01 +03:30
Metasploit
2fb2604b05 Bump metasploit-payloads to 2.0.113 2023-02-17 11:04:54 -06:00
Spencer McIntyre
ea70c919f1
Land #606, minor fixes for Python 2.5
minor fixes to make python meterpreter comptaible with Python 2.5
2023-02-17 11:55:42 -05:00
Alex Romero
d93a38a604
remove single qoutes from bytes() in order to Python 3.10 compatibility 2023-02-17 10:47:13 -05:00
Alex Romero
e601e34a1b
store and return HANDLE of created process for future uses 2023-02-17 09:25:53 -05:00
Metasploit
19840fa13d Bump metasploit-payloads to 2.0.112 2023-02-16 16:13:09 -06:00
Grant Willcox
20b92980d2
Land #607, add getprivs command to python windows meterpreter 2023-02-16 16:03:32 -06:00
Grant Willcox
78347dd379
Remove extra permissions that is deprecated 2023-02-16 15:36:44 -06:00
Grant Willcox
ca738c412c
Consolidate repeatedly defined constants, update priv list for SeDelegateSessionUserImpersonatePrivilege 2023-02-16 15:03:04 -06:00
Metasploit
261aaaace4 Bump metasploit-payloads to 2.0.111 2023-02-16 12:31:49 -06:00
Grant Willcox
890366cfd1
Land #605, Fix the output of getdesktop 2023-02-16 12:21:28 -06:00
Alex Romero
0223168822
add getprivs command to python windows meterpreter 2023-02-15 19:01:24 -05:00
Alex Romero
728c9cb397
minor fixes to make python meterpreter comptaible with Python 2.5 2023-02-15 16:33:45 -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
Spencer McIntyre
b45fcc185a Fix the output of getdesktop 2023-01-27 17:38:39 -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