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

563 Commits

Author SHA1 Message Date
Meatballs
0395a6cb3e correct indent 2013-04-11 21:10:55 +01:00
Meatballs
94de029ee2 Initial attempt 2013-04-07 23:04:54 +01:00
James Lee
d80547c656 Whitespace at EOL 2013-04-04 23:37:20 -05:00
James Lee
7cc29ff475 Landing #6, mv command 2013-04-04 23:12:26 -05:00
James Lee
2c812603e5 Whitespace 2013-04-04 22:33:15 -05:00
James Lee
0a5c4350cd Landing PR1, 64-bit in-mem execution 2013-04-04 22:04:24 -05:00
James Lee
b3c70642cb Use the same macro approach as stdcall
Gets rid of a ton of warnings at the expense of some slightly uglier
code.
2013-04-04 21:31:17 -05:00
James Lee
f7530f711b Default to stdcall if no convention is given
This keeps old API usage intact.
2013-04-04 20:57:19 -05:00
James Lee
4131c3bb4e Landing #5, Meatballs' fixes for cdecl in railgun 2013-04-04 20:40:11 -05:00
James Lee
8076989adf Fix precomp weirdness with audio and bmp2jpeg again 2013-04-04 20:37:15 -05:00
James Lee
ade4bcedca Unbreak the Debug target
Some mass-overwrite insanity made all the individual projects under
Debug actually compile for Release.
2013-04-03 14:32:10 -05:00
James Lee
fcab1fbe55 Use libs from the Configuration instead of hardcoded Release 2013-04-03 14:04:09 -05:00
James Lee
bdf7ae3acd Make the Debug config work
Also changes the output filename for most projects to make x86 match
x64, e.g. ext_server_stdapi.x86.dll
2013-04-03 13:33:04 -05:00
James Lee
4bf4125728 Add precomp.h to audio and bmp2jpeg
Makes it match all the other stuff in stdapi
2013-04-03 13:32:07 -05:00
James Lee
eff9e9a558 omg crlf 2013-04-01 15:25:36 -05:00
James Lee
b3f9cd0d18 Merge branch 'master' into omfg-crlf
Conflicts:
	workspace/ext_server_incognito/ext_server_incognito.vcxproj
2013-04-01 15:24:03 -05:00
James Lee
e3b74bcfe7 omg crlf 2013-04-01 15:22:28 -05:00
James Lee
0e80fe7e24 Add platform toolset
I hope this doesn't break other versions of Visual Studio
2013-04-01 15:06:20 -05:00
James Lee
925051af89 Standardize on config/platform for output dir 2013-04-01 15:04:35 -05:00
HD Moore
b59289ded7 Fix the include paths for new pssdk directory location
Conflicts:
	workspace/ext_server_sniffer/ext_server_sniffer.vcxproj
2013-04-01 13:32:06 -05:00
James Lee
bc69af44a3 Merge branch 'build/vcxproj-cleanup' 2013-04-01 13:21:40 -05:00
James Lee
0dd1f598fc Fix CRLF to help smooth conflicts with build/vcxproj-cleanup 2013-04-01 13:14:32 -05:00
James Lee
e1e02a094c Fix CRLF to help smooth conflicts with master 2013-04-01 13:13:47 -05:00
James Lee
60d4830707 Merge branch 'master' into rapid7 2013-04-01 13:06:55 -05:00
James Lee
da3a8052ec Fix CRLF to help smooth conflicts with rapid7/master 2013-04-01 13:06:50 -05:00
James Lee
ec6fea6f25 Merge branch 'master' of github.com:jlee-r7/meterpreter 2013-04-01 13:00:32 -05:00
James Lee
f5e600e513 Merge branch 'master' of github.com:jlee-r7/meterpreter 2013-04-01 12:54:51 -05:00
James Lee
09037f1e8d Add Windows build instructions 2013-04-01 12:52:40 -05:00
HD Moore
4e67f658ea Fix the include paths for new pssdk directory location 2013-03-31 14:47:14 -05:00
James Lee
3b2880bf4e Statically link libc for all configs 2013-03-29 15:08:16 -05:00
Meatballs
23503bd3fa Merge remote branch 'origin/master' into railgun_cdecl_fix_clean 2013-03-29 13:01:37 +00:00
James Lee
238d992ef7 DRY up some vcxproj cruft
Changes the output directory for all the projects to be dependent on the
target platform (which is really the architecture, but that's a story
for another time).

Also makes all the vcxproj files use variables for the output directory so
changing it isn't so painful next time.
2013-03-27 18:02:05 -05:00
James Lee
bfb3df620e Merge branch 'build/vcxproj-cleanup' of github.com:jlee-r7/meterpreter into build/vcxproj-cleanup 2013-03-27 15:01:06 -05:00
James Lee
0587335279 Slashes to whacks 2013-03-27 15:00:16 -05:00
James Lee
2e38ae917f Fix a few slashes 2013-03-25 15:21:17 -05:00
James Lee
7e32976039 Make everything inherit RuntimeLibrary
Corresponds to the /MD or /MT flag
2013-03-25 12:45:06 -05:00
James Lee
f934e6b4d7 Make Debug look more like Release 2013-03-25 12:36:32 -05:00
James Lee
4f0fd9beac Add pssdk to the sniffer includes
pssdk source and libs must live in the same directory as the meterpreter
repo checkout.
2013-03-24 16:54:57 -05:00
RageLtMan
035531c35c This commit adds in-memory substitution for x64
Initial commit of in-mem-exe.c modifications for Windows x64.
Initial boolean wrapper checks to see if the image supplied is a
valid 64bit PE and calls a 64bit injection function. wow64 not yet
implemented.

64bit execution is a bit tricky since we can't get the entrypoint
of the existing thread from ThreadContext.Eax and we need to make
sure that our images are properly aligned. The 64 bit mapper is
based on MemExec64 source code by Steve10120 [at] icode.org.

TODO:
Write wow64 based injector. Write conditional to check that
source and destination images are the same architecture and call
the arch appropriate injection method.
Write "Heaven's Gate" based injector for running x86 process in
x64 space.
2013-03-20 18:45:08 -04:00
RageLtMan
412fe9879b fix whitespace 2013-03-20 18:39:20 -04:00
RageLtMan
9ac6d93580 add meterpreter side of stdapi.fs.file.mv 2013-03-20 18:29:47 -04:00
James Lee
ceb6812b15 Add missing hook.dll
Hopefully the last obstacle to compiling on Windows.
2013-03-20 14:19:21 -05:00
James Lee
f3718b6e0a Make VisualStudio happy with an output dir 2013-03-20 14:10:22 -05:00
James Lee
3f551d3430 Tell travis we need gcc-multilib 2013-03-20 10:33:59 -05:00
James Lee
cc9ca99fd6 Tell travis we need gcc-multilib 2013-03-20 10:11:04 -05:00
James Lee
e004437a02 More Makefile clean up
You can now type 'make && make install' if your framework checkout is in
the same directory as meterpreter.
2013-03-19 17:10:13 -05:00
James Lee
5991f42f0b Explain building on POSIX 2013-03-19 10:30:41 -05:00
James Lee
247e3d8006 Use a proper Makefile for libc 2013-03-14 13:18:44 -05:00
James Lee
e9e8733507 Whitespace at EOL 2013-03-06 18:13:37 -06:00
James Lee
a010cdc584 Remove tags 2013-03-06 18:12:24 -06:00