1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-06-01 19:54:14 +02:00

3 Commits

Author SHA1 Message Date
cod
a5c18499a7 C4311: Compiler Warning treated as errors in msvc 2024-09-14 19:21:11 +02:00
cod
26c3809d6f removed GetThreadId and replaced with optional CLIENTID argument 2024-08-27 17:35:21 +02: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