Tim W
dc4d69d695
fix request_fs_ls on an inaccessible file
2021-03-30 19:35:16 +01:00
Zeev R
8825987525
Tiny bug fix.
...
The nMaxInstances argument refers only to subsequent calls to CreateNamedPipe and not to calls that just open the pipe.
There is no reason to enable anybody else but us to create a pipe with the same name.
2021-02-24 18:55:04 +02:00
Spencer McIntyre
777fadd00b
Cleanup base.c based on PR feedback
2021-01-27 09:07:00 -05:00
Spencer McIntyre
9aece96e94
Cleanup registered commands using the pseudo extension's deinit callback
2021-01-15 13:59:39 -05:00
Spencer McIntyre
ebdcd95615
Handle core commands like they're provided by the pseudo core extension
2021-01-15 13:59:32 -05:00
Spencer McIntyre
c911749430
Fix a guard condition to check the correct thing
2020-12-18 16:08:14 -05:00
Spencer McIntyre
f9e62ba042
Add a Debug configuration to include debug logs
2020-12-18 16:07:04 -05:00
Tim W
be443779ff
fix free() process.execute wchars
2020-11-30 18:48:26 +00:00
Kali-Team
7933f06484
[stdapi] support_unicode_characters_for_execute
2020-11-24 17:41:07 +08:00
vixfwis
9f0b9008bb
Fix endless loop bug
...
Main thread will be stuck in loop if recv returns SOCKET_ERROR (-1) due
to int to DWORD casting
2020-10-09 20:24:37 +03:00
Spencer McIntyre
1aac00a6ce
Disconnect the named pipe and break after the impersonation callback
2020-10-06 15:21:25 -04:00
Spencer McIntyre
9ebb095a0a
Land #437 , Fix Metasploit 6 pivoting issue
2020-10-06 09:05:15 -04:00
Alan Foster
985ccbd3af
Fix Metasploit 6 pivoting issue
2020-10-01 22:58:21 +01:00
Spencer McIntyre
e96d8e5fc8
Fix a bad comment
2020-08-20 14:42:17 -04:00
Spencer McIntyre
25a0b76797
Filter out Windows < 6.3 for the namedpipe_rpcss technique
2020-08-20 14:05:48 -04:00
Spencer McIntyre
ee69b4f274
Revert "Add a fourth parameter to the thread API"
...
This reverts commit 0afe17d160e8846dd7d52814947c6e7461f5f45e.
2020-08-19 11:54:45 -04:00
Spencer McIntyre
cf4614c941
Working on Windows 10 from native x64 and WOW64
2020-08-19 11:54:45 -04:00
Spencer McIntyre
ce7dd3f699
Clean up the namedpipe_rpcss code
2020-08-19 11:54:21 -04:00
Spencer McIntyre
7967fd569d
x64 version is working
2020-08-18 15:41:42 -04:00
Spencer McIntyre
ee72ac26b9
Add support for a callback after named pipe impersonation
2020-08-14 18:12:02 -04:00
Spencer McIntyre
0afe17d160
Add a fourth parameter to the thread API
2020-08-14 17:47:59 -04:00
OJ
da7fb0e27f
Makefile tweak, RDI changeset update
2020-07-06 20:03:18 +10:00
OJ
68e27f00fa
Force mimikatz and RDI submodules to point to master
2020-07-03 08:47:41 +10:00
OJ
1fc117743f
Fix kiwi build
2020-06-25 23:29:36 +10:00
OJ
325048a5e6
Fix build, remove metsrv warning
2020-06-25 10:41:29 +10:00
OJ
7fab0b200a
Building, but not working yet
...
Got an issue where certain functions aren't being resolved and hence are
null when being invoked. Need to debug the loading of the DLL to see why
this is the case.
2020-06-25 10:32:32 +10:00
OJ
37fb807a95
Get extapi compiling under mingw
2020-06-25 10:31:53 +10:00
OJ
3d4d4706e2
Remove unused local
2020-06-25 10:31:48 +10:00
OJ
b55b186e79
Final pass of working stuff for the day
2020-06-25 10:31:45 +10:00
OJ
205405effe
Final winpmem changes.. I think
2020-06-25 10:31:05 +10:00
OJ
936fa267b4
More of the cross compilation dance!
2020-06-25 10:31:03 +10:00
OJ
e7162dda2c
Few more cross comp changes for pmem
2020-06-25 10:31:00 +10:00
OJ
cb0c1d476c
Fix some winpmem stuff for cross building
2020-06-25 10:30:57 +10:00
OJ
fdb785dcee
Few more build fix ups and removal of warnings
2020-06-25 10:30:53 +10:00
OJ
effe6b9827
Lots of changes + stdapi support
2020-06-25 10:30:49 +10:00
OJ
dee84d6ca9
Fix small compiler warning
2020-06-25 10:29:59 +10:00
OJ
d820fb6458
Get x86 working for metsrv
2020-06-25 10:29:54 +10:00
OJ
aa3b58628f
Get rid of the clang noise
2020-06-25 10:29:51 +10:00
OJ
060feece01
Kinda almost sorta working for metsrv
2020-06-25 10:29:48 +10:00
OJ
e6441ad2fa
Remove DLL exports from Meterpreter
...
Add support for loading RDI-related stuff using ordinals instead of
function names. Remove exports from the extensions/etc. This is another
step in the direction to make the DLLs less obvious.
Extensions no longer have their own name in the library metadata.
They're all "extension.dll". Metsrv is now "server.dll" and the two
non-extensions are "plugin.dll". I was going for something a little less
obvious.
This required changes to the RDI functionality.
2020-06-25 10:28:36 +10:00
OJ
d9629c46d9
Point to new changes in RDI submodule
2020-06-23 08:19:53 +10:00
OJ
aec49a7863
Final tidy up
2020-06-22 08:25:51 +10:00
OJ
c9ca614313
Remove DLL exports from Meterpreter
...
Add support for loading RDI-related stuff using ordinals instead of
function names. Remove exports from the extensions/etc. This is another
step in the direction to make the DLLs less obvious.
Extensions no longer have their own name in the library metadata.
They're all "extension.dll". Metsrv is now "server.dll" and the two
non-extensions are "plugin.dll". I was going for something a little less
obvious.
This required changes to the RDI functionality.
2020-06-22 08:25:30 +10:00
Spencer McIntyre
c8312f9c73
Land #397 , Change from PEM to DER for crypt TLV negotiation
2020-06-18 13:54:31 -04:00
OJ
45624d2389
Fix config generation for migration
2020-06-18 09:15:50 +10:00
OJ
c5f8f893ac
Remove the mimikatz extension
...
Also turn off PDB generation for the sniffer extension.
2020-06-11 08:34:17 +10:00
OJ
6419fa9e40
Fix buffer meta type values, typos and function calls
2020-06-09 10:57:44 +10:00
OJ
30f232a7fd
Adjust TLV types and fix up code to deal with new raw api
2020-06-09 10:57:44 +10:00
OJ
5fc2117325
Adjust the tlv raw function and remove some unnecessary headers
2020-06-09 10:57:43 +10:00
OJ
5c959187ea
Support pub key in DER instead of PEM
...
Easy change on the Windows side, we just needed to remove the code that
converts PEM to DER and off we go.
2020-06-09 10:54:28 +10:00