1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-03-18 15:14:10 +01:00

2536 Commits

Author SHA1 Message Date
Brent Cook
bf8950ebe9 remove unneeded checks before free, one being an impossible scenario 2020-04-07 17:15:03 -05:00
OJ
8b4d65de47
Fix stageless config block memory protection
I found an edge case where stageless payloads did not work when they
were embedded in .NET applications. The reason for this is because the
configuration block is stored alongside the code in stageless payloads
and hence is loaded into memory as part of the section when it's mapped.
This section, in native world, remains RWX, and hence we don't have a
problem reading from and writing to it. We write to it for various
reasons, such as when the session guid changes.

In .NET land, this section is mapped as RX instead of RWX. This means
that when we try to write to it, the program segfaults due to an access
violation.

This code modifies the loading of the configuration so that instead of
maintaining a pointer to the original configuration, it instead creates
a copy of it on the heap. I preferred this fix over marking the memory
as RWX, which obviously stands out a bit more.
2020-03-17 13:15:31 +10:00
Metasploit
162e769464 Bump metasploit-payloads to 1.3.80 2019-11-06 19:20:24 -06:00
h00die
291d7104e1
land android payload start without context v1.3.79 2019-11-06 17:28:35 -05:00
Metasploit
6ff2e2eea6 Bump metasploit-payloads to 1.3.79 2019-10-03 17:00:31 -05:00
bwatters
bf6fd52c25
Land , Add keyboard and mouse input for the java meterpreter
Merge branch 'land-350' into upstream-master
v1.3.78
2019-10-03 16:51:00 -05:00
Metasploit
e8461c1a83 Bump metasploit-payloads to 1.3.78 2019-09-03 17:43:03 -05:00
bwatters
f6808dde30
Land , add windows keyevent api
Merge branch 'land-352' into upstream-master
v1.3.77
2019-09-03 16:39:51 -05:00
Metasploit
fe355a4121 Bump to 1.3.77 2019-08-27 20:22:27 -07:00
Tim W
444419c122
Land , fix ls on relative paths v1.3.76 2019-08-28 11:09:57 +08:00
Clément Notin
2f39a17604
Java meterpreter: Allow to list ("ls") relative paths 2019-08-27 21:03:43 +02:00
Tim W
f34962f69d start without context 2019-08-24 13:42:53 +08:00
Metasploit
10e527ef01 Bump to 1.3.76 2019-08-05 10:22:49 -07:00
sinn3r
80e85d4fca
Land , Update OS names to be more generic in kernel versions 10.0.x
Update OS names to be more generic in kernel versions 10.0.x
v1.3.75
2019-08-05 12:12:05 -05:00
Tim W
6253af16c8 use MapVirtualKey 2019-07-31 13:16:28 +08:00
bwatters
db171fb83a
Those should be usigned ints, not unsigned longs. 2019-07-23 10:21:21 -05:00
bwatters
509c1936a3
Update OS names to be more generic in kernel versions 10.0.x 2019-07-23 08:17:06 -05:00
Tim W
e686724e18 add java keyevents 2019-06-23 13:40:07 +08:00
Tim W
d95d827c8e add windows mouse doubleclick 2019-06-20 15:26:07 +08:00
Tim W
ab53c872fa fix windows move and click 2019-06-19 12:42:11 +08:00
Tim W
a29110ca5c add windows keyevent api 2019-06-17 12:36:55 +08:00
Tim W
0f004b26d7 remove reflection 2019-06-16 14:18:40 +08:00
Metasploit
550bd65c5e Bump to 1.3.75 2019-06-12 15:02:00 -07:00
OJ
e66ffd44bd
Land - PHP meterpreter TLV crypt renegotiate v1.3.74 2019-06-13 07:37:56 +10:00
Adam Cammack
390c52f755
Let PHP Meterpreter renegotiate CryptTLV 2019-06-12 15:51:42 -05:00
Tim W
0e3f1cec66 add broken stdapi_ui_send_keys 2019-06-11 19:31:07 +08:00
Tim W
8afcc9a640 use reflection 2019-06-11 19:10:04 +08:00
Tim W
b86548b8d6 java mouse 2019-06-10 15:26:05 +08:00
Metasploit
551eb74599 Bump to 1.3.74 2019-06-02 13:16:26 -07:00
Brent Cook
d4d5aad9a8
Land , remove unavailable 'has_key' method for python 3 compat v1.3.73 2019-06-02 14:58:06 -05:00
Metasploit
d1cc548ee1 Bump to 1.3.73 2019-06-02 12:30:07 -07:00
Brent Cook
b874178a34
Land , implement expand_path on java/android v1.3.72 2019-06-02 14:09:42 -05:00
Brent Cook
eba016f9f6
Land , delete references to NDK 2019-06-02 14:08:08 -05:00
Tim W
08633f4cc4 fix python 3 stdapi_sys_process_close 2019-06-03 02:44:40 +08:00
Tim W
e78b3f01ab remove (unused) references to the NDK from README and Makefile 2019-06-02 22:42:01 +08:00
Metasploit
26e2b157b3 Bump to 1.3.72 2019-06-01 18:15:24 -07:00
Brent Cook
dfb79b11cd
Land , update ReflectiveDLLInjection subproject v1.3.71 2019-06-01 19:53:13 -05:00
Tim W
ebac0d33a9 actually fix expand_path 2019-06-01 06:39:36 +08:00
Tim W
ae7d26c258 fix fs.file.expand_path on java 2019-06-01 05:44:49 +08:00
Metasploit
62c72dd9ed Bump to 1.3.71 2019-05-31 08:01:58 -07:00
Brent Cook
74f15fc1a4
Land , fix java/android cmd_exec and shell_command_token v1.3.70 2019-05-31 09:39:10 -05:00
Metasploit
f74382591b Bump to 1.3.70 2019-05-31 07:24:42 -07:00
Brent Cook
2e5f528aaa
Land , fix crash in keyboard_send v1.3.69 2019-05-31 08:59:26 -05:00
Tim W
48171ecc48 fix crash in keyboard_send on windows 2019-05-31 06:55:02 +08:00
Metasploit
d114135cb9 Bump to 1.3.69 2019-05-30 13:15:38 -07:00
Brent Cook
ccdd418ab9
Land , add keyboard and mouse control v1.3.68 2019-05-30 14:52:27 -05:00
Tim W
d2e9834ed0 update ReflectiveDLLInjection subproject 2019-05-16 14:04:23 +08:00
Tim W
16213667b7 add mouse api for windows 2019-05-13 02:32:27 +08:00
Tim W
35d908b6bf add send_keys api for windows 2019-05-13 02:31:44 +08:00
Metasploit
73fe5f3b1c Bump to 1.3.68 2019-04-25 12:53:35 -07:00