1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-03-06 09:13:02 +01:00

139 Commits

Author SHA1 Message Date
adfoster-r7
80d73d4d34
Merge pull request #701 from smashery/new_cmd_exec
New process launch API
2024-10-11 00:23:00 +01:00
jvoisin
ee20cc4dee Add support for arp in php meterpreter
Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com>
2024-10-10 22:27:22 +02:00
Ashley Donaldson
64bd2f16a2 Only bypass for new style, for backwards compatibility 2024-10-03 21:56:31 +10:00
Ashley Donaldson
af7f639bbc Skip shell in old versions of PHP 2024-09-30 20:47:10 +10:00
Ashley Donaldson
5c2486c003 Treat old-style path separately to new (unescaped) path 2024-09-25 16:28:37 +10:00
Ashley Donaldson
92e9de46ae Don't use subshell with array arguments 2024-09-25 16:28:37 +10:00
Ashley Donaldson
6631a198e7 PHP implementation of new_cmd 2024-09-25 16:28:37 +10:00
Navya
ec9c2b25e6 added a custom pack for php meterpreter to support larger stat buf files 2023-06-27 10:02:09 -07:00
sjanusz
ed25e6fefa
Fix argument order for array join 2022-05-05 10:34:34 +01:00
Spencer McIntyre
329f70d7ca
Land #562, Fix AF_INET constants in PHP Meterpreter 2022-05-04 16:33:36 -04:00
sjanusz
96bf2d1568
Add logging prerequisites to PHP Meterpreter 2022-04-12 16:42:28 +01:00
Tim W
97b13d56ec Fix AF_INET constants in PHP Meterpreter 2022-04-06 06:28:32 +01:00
adfoster-r7
3b2ffd5138
Land #558, PHP Meterpreter v8.x Support - ensure already closed channels are not reclosed 2022-04-05 16:49:24 +01:00
sjanusz
67cc780e6f
Fix PHP Meterpreter crashing when trying to close a resource 2022-03-30 17:19:06 +01:00
Spencer McIntyre
96b3fd2100 Update PHPs stdapi_fs_delete_dir to be recusive 2022-01-05 16:15:13 -05:00
Spencer McIntyre
20416b0c06 Return an empty stat buf when stat fails 2021-12-08 10:54:08 -05:00
Tim W
b56124555e
Land #513, fix php stdapi loading on php 5.3.29 2021-12-07 08:12:22 +00:00
Tim W
25e012bcd9 resolve_host should return NULL on failure 2021-12-07 08:10:52 +00:00
adfoster-r7
4db3392680
Fix Meterpreter for php 5.3 2021-12-06 23:23:29 +00:00
Tim W
cb078144cd
Land #494, add date filtering to fs_search 2021-09-27 17:20:08 +01:00
Tim W
8c99f50b1e canonicalize php search results on Windows 2021-09-24 19:34:12 +01:00
Tim W
9473d00274 fix php recursive search 2021-09-22 22:44:23 +01:00
Tim W
3760e1d41e fix php 1970-01-01 search date 2021-09-22 22:44:18 +01:00
Spencer McIntyre
14e3ffde17 Only return the username for getuid 2021-09-22 14:00:16 -04:00
Tim W
0d2f0f380d whitespace fixup 2021-09-22 15:48:12 +01:00
test
e43f437a2c Clarified variable names 2021-09-20 15:38:13 +01:00
test
8d5a1c5c8a Java/Android and bug fix for Python/PHP 2021-09-20 15:38:13 +01:00
test
af46841e62 Updated PHP and Python payloads 2021-09-20 15:38:13 +01:00
Tim W
41d51af8c9
Land #482, add stdapi_net_resolve_hosts to php meterpreter 2021-04-12 12:23:44 +01:00
Justin Steven
7938a9cf5f
Stop using deprecated PHP array indexing syntax
https://wiki.php.net/rfc/deprecate_curly_braces_array_access
2021-04-09 22:59:18 +10:00
Spencer McIntyre
1d2f143a22 Add stdapi_net_resolve_host(s) support to the PHP meterpreter 2021-03-31 17:02:20 -04:00
William Vu
8e3933bed7 Revert "Undo commit for #441"
This reverts commit 8361d5367a7400d166da3c8b772077aa9a0a793e, reversing
changes made to db3d5f0896ac74b3918387be24de1e994451820d.
2020-10-11 20:49:06 -05:00
William Vu
8c5ab95cd2 Revert "Land #441 - Fix missing TLV migration from string to int"
This reverts commit eb1d51b94e0fa8102734ee3999c53448f9f6f42c, reversing
changes made to b6ce0dff183995ba402c1fe3ebbf74f7a7d8f492.
2020-10-11 20:08:15 -05:00
Justin Steven
68e3e0cb4e
Fix missing TLV migration from strings -> ints
Fixes #440
2020-10-11 13:57:13 +10:00
Justin Steven
5387ff7629
Fix typo 2020-08-17 17:17:33 +10:00
Justin Steven
46b8c5fda1
Fix #428 PHP 5.1.6 unexpected '[' 2020-08-17 16:31:00 +10:00
OJ
5fc2117325
Adjust the tlv raw function and remove some unnecessary headers 2020-06-09 10:57:43 +10:00
OJ
53dc79f384
Update PHP to use DER instead of PEM for RSA 2020-06-09 10:57:43 +10:00
OJ
fc0079e98a
Update enumeration commands to support the id range 2020-05-01 15:55:43 +10:00
OJ
d3f3a513de
Update command id maps for php, java and python 2020-05-01 15:42:45 +10:00
OJ
c9284388d9
Update PHP meterpreter to support UINT command IDs 2020-04-29 15:42:25 +10:00
Adam Cammack
390c52f755
Let PHP Meterpreter renegotiate CryptTLV 2019-06-12 15:51:42 -05:00
Tim W
0492872cd9 fix #330, fix php ls 2019-03-13 19:20:19 +08:00
Brent Cook
7e2181700a update stat struct sizes 2019-02-06 17:51:21 -06:00
Jeffrey Martin
2a4a764969
Land #234, Implement TLS transport for PHP meterpreter 2018-10-22 15:23:40 -05:00
William Vu
ceb05b8dc4 Add PHP Meterpreter chmod 2018-09-21 00:38:01 -05:00
Pearce Barry
6c9bf01346
Minor tweak to ensure last requested length is accurate. 2018-03-01 17:26:52 -06:00
Brent Cook
913e254fea fix reliability for PHP packet dispatch
A bug in the read function would cause a too-large read when there are multiple
packets or other things in the control channel. This would cause the subsequent
packet to fail to parse, leading to the current message getting discarded.
2018-02-27 06:51:44 -06:00
Brent Cook
96fb621adc
add missing semicolon 2018-01-26 17:26:45 -06:00
Brent Cook
27fe856cb4 whitespace 2018-01-16 10:26:00 -06:00