1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-08-16 10:50:20 +02:00
Commit Graph

30 Commits

Author SHA1 Message Date
OJ
effe6b9827 Lots of changes + stdapi support 2020-06-25 10:30:49 +10:00
OJ
c7f7bc2fc0 Remove method strings from TLV packets
We now use ints, and hopefully this means we don't have as much obvious
stuff in the binaries!

```
$ # Before:
$ strings metsrv.x86.dll | grep core_ | wc -l
46
$ # After:
$ strings metsrv.x86.dll | grep core_ | wc -l
0
```
Big win, and it's even bigger for the likes of stdapi.

Had to fix a bunch of other stuff along the way, including a subtle
issue with the Powershell Meterp bindings.
2020-04-28 23:41:06 +10:00
OJ
4ffe127f04 Begin removing the delay-load dependency
The 'common' library has been removed. The only project that actually
used it was metsrv, so the code that metsrv required from common is now
directly compiled in as part of that project.

The common folder now contains files that are importanta cross all of
the projects, with a primary focus on the new "API" style function. What
this means is that MetSrv has an API that it exposes through a function
pointer that is passed to the extension when it's initialised. This
pointer references a structure with all the API functions wired in. This
means that:

* Extensions don't need to know anything about metsrv at compile time.
* The delay loading code can be removed, which was one of the last
  instances of "metsrv.dll" as a string.
* Metsrv.dll no longer exports any functions.

More to come.
2020-04-22 13:06:40 +10:00
6253af16c8 use MapVirtualKey 2019-07-31 13:16:28 +08:00
a29110ca5c add windows keyevent api 2019-06-17 12:36:55 +08:00
48171ecc48 fix crash in keyboard_send on windows 2019-05-31 06:55:02 +08:00
35d908b6bf add send_keys api for windows 2019-05-13 02:31:44 +08:00
6fc00bc812 cleanup memleak 2017-07-14 01:24:54 -05:00
d25ff91ca2 axe errant DebugBreak() 2017-07-06 20:21:22 -05:00
c144bac8d9 gracefully handle threading and correctly destroy msg only window 2017-07-06 19:57:07 -05:00
519194dc6c log pid on new active window 2017-07-05 20:34:37 -05:00
cad32aaa33 kill whitespace 2017-06-23 14:08:08 -05:00
419533ce48 kill whitespace 2017-06-23 13:56:07 -05:00
f437e6aef7 use conventional option/TLV scheme instead of dumb stuff 2017-06-23 13:51:08 -05:00
37bc1689b2 fix a compiler warning 2017-04-15 05:51:12 -05:00
8bd164bbbb some minor cleanup 2017-04-12 21:19:45 -05:00
88f240c26c specify globals in variable names because its 2017 bro 2017-04-10 14:28:22 -05:00
017a4e107e final cleanup and type check 2017-04-10 14:08:46 -05:00
3653169513 save wip 2017-04-05 00:18:02 -05:00
145285c549 add focused windows enumeration and date/time stamping 2017-04-01 22:21:54 -05:00
5d917565c0 add known working keylog code 2017-03-31 13:19:53 -05:00
9272af7863 save initial unicode keyscan updates 2017-03-20 21:47:47 -05:00
7283131279 Initial source import from metasploit-framework 2012-11-19 16:46:07 -06:00
964bae0c49 Initial commit 2012-11-19 14:40:03 -08:00
6f25e39b27 Commit all the code for the new 'screenshot' command in the stdapi extension. Screenshot will now work on NT4 - 7 on both x86 and x64 and on newer versions of Windows we can break out of session isolation (e.g. session 0 isolation for services) to screenshot the active desktop (or logon screen) without the need to migrate meterpreter. The majority of the migration code-injection stuff has been refactored out into base_inject.c so it can be shared with the new ps_inject() functionality to inject dlls. The 'ps' command now reports what session each process belongs to (if this is too verbose we can remove it or add a -v verbose switch to the ps command). The 'execute' command can now take a -s switch in order to create a process in a users session under the users privs (assuming you have the privs to do this).
git-svn-id: file:///home/svn/framework3/trunk@8787 4d416f70-5f16-0410-b530-b9f4589650da
2010-03-11 17:09:55 +00:00
185ccc3d31 Fixes and . This should fix the BSoD issue with the sniffer module (other than the mac filter change, this matches the vendor's example) and confirmed that the keyscan_dump fix works
git-svn-id: file:///home/svn/framework3/trunk@7066 4d416f70-5f16-0410-b530-b9f4589650da
2009-09-26 16:26:05 +00:00
d6f629ad19 Source code and VS project changes for cleaner build and new keyboard logging code
git-svn-id: file:///home/svn/framework3/trunk@6374 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-23 05:26:11 +00:00
fa51ea5d15 Swapping in the latest patched copy of Meterpreter. See
git-svn-id: file:///home/svn/framework3/trunk@6357 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-22 18:56:28 +00:00
a3fa8e90cb Swapping out old Meterpreter code for Stephen Fewer's latest patched copy
git-svn-id: file:///home/svn/framework3/trunk@6356 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-22 18:55:36 +00:00
736528e546 import of meterp shit
git-svn-id: file:///home/svn/incoming/trunk@2516 4d416f70-5f16-0410-b530-b9f4589650da
2005-05-24 19:08:32 +00:00