1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-01-08 14:36:22 +01:00
Commit Graph

715 Commits

Author SHA1 Message Date
OJ
23d9f6061c Land #89 - fix strncpy usage on linux fs_expand_path 2014-07-08 08:17:52 +10:00
jvazquez-r7
32564013bc Fix strncpy usage on linux fs_expand_path 2014-07-07 16:04:59 -05:00
Meatballs
a19ce5e6dc Land #76, x86 -> x64 thread creation
Also fixes a number of PTR truncation issues...
2014-06-06 20:44:12 +01:00
OJ
24a8ddfca5 Land #85 -- Update README.md link 2014-06-06 20:00:12 +10:00
Brandon Turner
25edc905c0 Land #86 from todb-r7:update-openssl-deps 2014-06-05 17:36:43 -05:00
Tod Beardsley
b0a0202956 Add new libs and docs for the same. 2014-06-05 14:50:52 -05:00
Tod Beardsley
8d46311f8a Update openssl/include headers for 0.9.8za 2014-06-05 12:22:32 -05:00
Tod Beardsley
baea22f96c Bump to 0.9.8za (CVE-2014-0224 and friends)
Meterpreter's build scripts dynamically pull in OpenSSL from the
canonical remote site, https://openssl.org.

This ensures that we pull in 0.9.8za, which is patched against the
various OpenSSL vulns described at

https://www.openssl.org/news/secadv_20140605.txt

The SHA1sum should be:

adca1eb1a103a5536b24e1ed7e45051e2939731  openssl-0.9.8za.tar.gz

The MD5sum should be:

2f989915f8fea49aa1bc37aa58500cce  openssl-0.9.8za.tar.gz
2014-06-05 11:57:31 -05:00
Tod Beardsley
647a1d9c5c Link the commit number in README.md 2014-06-05 10:37:16 -05:00
OJ
6b0637e45c Updated various types from UINT to QWORD
The goal is to avoid pointer truncation where possible so this commit
changes parameter types to qword where it makes the most sense. This
includes all handles (event, process, thread, registry), addresses
and generic parameters.
2014-06-04 20:53:44 +10:00
OJ
4043a6ff2b Update memory alloc to use QWORD types
DWORD was being used, resulting in x64 being unhappy thanks to
pointer truncation. This fixes the problem.
2014-06-01 21:26:09 +10:00
OJ
cabf3af8df Merge branch 'upstream/master' into fix_thread_create 2014-06-01 21:04:01 +10:00
Meatballs
0bc00a4b72 Land #81, Fix WMI Queries for x64 2014-06-01 11:04:14 +01:00
OJ
d53e650fce Land #84 -- Fix old libloader for Win7/8. 2014-05-31 07:59:32 +10:00
jvazquez-r7
0859279e06 Update size_map 2014-05-29 16:20:55 -05:00
jvazquez-r7
5834497a3d Fix win libloader to work under Win7 and Win8 2014-05-29 11:24:35 -05:00
James Lee
0e8e2f14c1 Land #79, new kiwi extension 2014-04-29 17:45:01 -05:00
OJ
d7c455edee Remove a function that is no longer used 2014-04-21 19:25:17 +10:00
OJ
421dbf89dd Added support for wifi profile cred extraction 2014-04-02 17:18:02 +10:00
OJ
8bf94a4a40 Missed small case when merging r109 (the important one!) 2014-04-02 12:44:36 +10:00
OJ
7828cb9ba2 Merged r111 from Mimikatz source 2014-04-02 12:40:39 +10:00
OJ
6ef340c46d Merged r110 from Mimikatz source 2014-04-02 12:39:44 +10:00
OJ
51d831ac20 Merge r109 from the Mimikatz source 2014-04-02 12:32:59 +10:00
OJ
7c8d38efd2 Merge r108 from Mimikatz source 2014-04-02 08:26:11 +10:00
OJ
0a8e022f41 Added a stack of debug output 2014-03-28 16:12:29 +10:00
OJ
5988a9dbad Moved the last of the bits over to group packets for kiwi 2014-03-28 14:24:27 +10:00
OJ
02312e1972 Debugging output, crash fix
In some cases this extension would crash. This was due to the code using the
incorrect "length" variable when dumping LSA data. This commit includes addition
of some debug output, removal of other debug output, and changing of the
kiwi-specific debug definition.

Another packet function was added to aid in construction of this fix, and the
group packet function was added to one of the calls.
2014-03-28 13:40:02 +10:00
OJ
e40f1a0eaf Fix missing field on x64, use packet groups
Despite rigorous testing, the x64 version seemed to be dropping a column
from the result set. This would appear to be due to the differences in
the way the x86 version of the API handles the ubound parameter of the
enumeration.

x86 ubounds are inclusive, where as x64 are exclusive. Hence in the case
of x86 we need to subtract one from the field set, but not in x64.
2014-03-21 17:22:46 +10:00
OJ
637e839de2 Merge branch 'upstream/master' into ext_server_kiwi 2014-03-20 09:17:18 +10:00
Tod Beardsley
369e83318e Land #80, lots of @OJ PRs
This lands:

rapid7/meterpreter#69
rapid7/meterpreter#70
rapid7/meterpreter#75
rapid7/meterpreter#77
rapid7/meterpreter#78

All have been tested sufficiently, and once this lands, the binaries as
well as the library and module updates represented by
rapid7/metasploit-framework#3122 will also land.
2014-03-19 15:33:25 -05:00
Tod Beardsley
55aec0fbf0 Update README.md to mention flex
Or else you get the problem I saw in validating rapid7/meterpreter#78
2014-03-19 11:34:42 -05:00
Tod Beardsley
3d818f9be4 Land #78, fix to the make script path 2014-03-19 08:40:30 -05:00
Tod Beardsley
fae26b4b3d Land #77, Service control support
This also wants rapid7/metasploit-framework#3085
2014-03-19 08:39:45 -05:00
Tod Beardsley
ef6411271b Land #75, adds Group Packets to Meterpreter 2014-03-19 08:39:24 -05:00
Tod Beardsley
bea18dd6f0 Land #70, Expand ADSI types 2014-03-19 08:39:04 -05:00
Tod Beardsley
38bf1d360c Land #69, WMI support
This also wants rapid7/metasploit-framework#2889
2014-03-19 08:38:39 -05:00
OJ
1a2023ee53 Force-add libs that were missing 2014-03-19 19:32:51 +10:00
OJ
32c7126793 Fixes, documentation and tidying of kiwi code 2014-03-19 17:48:44 +10:00
OJ
83d4d2b0b7 Fix leaking memory 2014-03-19 15:01:02 +10:00
OJ
1791ab8a3a Add kerberos ticket dump support
Also fix up a few other niggles.
2014-03-19 14:26:55 +10:00
OJ
b59676d28e Add SAM key output to the LSA secret dump 2014-03-18 09:50:48 +10:00
OJ
43d362fb1e Enable LSA secret dumping 2014-03-14 19:51:35 +10:00
OJ
e3628d0662 Change make script to work from correct folder
The existing make file would use `pwd` to figure out the current
folder instead of using the base directory of the script. This
causes issues when running commands from different locations (such
as in the case of from the meterpreter_binds folder).

This commit fixes this problem.
2014-03-12 17:25:22 +10:00
OJ
a54e37f301 Remove unused defintion 2014-03-12 06:58:47 +10:00
OJ
f7468732ec Fix incorrect comment for the WMI query function 2014-03-12 06:58:19 +10:00
OJ
49877fda24 Fix comment type and reverse ternary condition 2014-03-12 06:53:05 +10:00
OJ
f1fbf2064f Enable service control and status in queries.
This commit adds service status to the query functionality for a single
service so that it doesn't have to be found in the full list of services.

It also adds the ability for the caller to control services using the
typical start/stop/pause/resume/restart style functions. To use these
functions the caller has to have appropriate rights.
2014-03-11 14:49:19 +10:00
OJ
a4beeba7bc Rejig service initialisation
Gathering of function pointers is now done during initialisation. This
means that it doesn't have to be done each time a function is called
and allows for reuse across other functions.
2014-03-11 09:37:36 +10:00
OJ
063d370e86 Change thread creation to support x86->x64
The create thread functionality would work in all cases except where
the thread was being created in an x64 process from an x86 process.

This commit adds support for this by reusing the wow64 injection code
in this case.
2014-03-10 11:37:43 +10:00
OJ
d8f86c1806 Merge branch 'upstream/master' into wmi_query_support
Conflicts:
	make.bat
	workspace/ext_server_extapi/ext_server_extapi.vcxproj
2014-03-07 08:11:35 +10:00