1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-02-22 03:19:04 +01:00

341 Commits

Author SHA1 Message Date
OJ
b9e58daa96 Remove unused project
* Accidentally added a project to the FS, this commit removes it.
2013-09-16 16:05:33 +10:00
OJ
73c3a2cfcd Support Rapid7 internal builds, fix sniffer ext
* r7_debug and r7_release configurations added.
* Make now detects if the appropriate libraries are on disk and will build
  whatever it can. If PSSDK is present in the appropriate location then it
  will attempt to build ext_server_sniffer.
* ext_server_sniffer is now buildable with VS 2012 with all the settings
  correct.
* ext_server_sniffer was failing to load once built. The cause of this was
  that the hMetSrv handle wasn't being set to a valid value prior to the
  command_register calls happening, it was being set too late. I'm not
  sure why this results in a crash, but moving this one call to a location
  prior to the command_register calls does resolve that problem.
2013-09-15 00:00:20 +10:00
OJ
101788efa0 VS 2012 doc improvements
* Removed the old README.md from the `workspace` folder.
* Adjusted the build documentation in the main README.md.
* Added details of how to make sure VS2012 has beeen updated so that
  things are able to be build.
2013-09-14 16:21:10 +10:00
OJ
03706b842f Reflective DLL Injection update, bugfix and tidy
* Pulled source from Stephen Fewer which contains a few updates including
  support for Windows RT.
* Added Stephen Fewer's fix which includes a correct pointer size for the
  reflective DLL loader function.
* Added ENABLE_STOPAGING to allow toggling of VirtualLock() call (defined
  by default).
* Added ENABLE_OUTPUTDEBUG to allow toggling of calls to pOutputDebug
  (undefined by default).
* Remove more warnings in some areas of the code.
2013-09-10 17:36:49 +10:00
OJ
7ce3766b11 Updated readme, fix make
* Tweak to the make.bat file.
* Updated README to indicate how to build with VS express.
2013-09-04 00:05:08 +10:00
OJ
fbb84f4718 Basic command line builds 2013-09-03 22:31:38 +10:00
OJ
35bef0be11 Post-build event changes
* Copy output to different locations for different builds
2013-09-03 17:22:18 +10:00
OJ
87031e0d00 Work towards a clean build
* Various code fixes to keep the compiler warnings down.
* Adjustments to project files.
2013-09-03 16:49:09 +10:00
OJ
8ae670cfaf Fix C++11 make_pair errors and U_CHAR problem
* make_pair() changed in C++11 so this change fixes the code so that the
  compiler doesn't complain any more.
* Compiler was also complaining about redefinition of U_CHAR. Undefining
  before redefining resolves the issue.
2013-09-02 12:07:50 +10:00
OJ
89d2326901 Fix winmm library inclusion issue
* ext_server_stdapi wasn't including winmm.lib, despite the pragma
  included in the source of audio.c. Adding the library as a link
  input resolves the problem.
2013-09-02 11:37:45 +10:00
OJ
30928305e9 Fix project platform settings
* Make all the debug builds use /MTd instead of /MT.
* Make all builds use v110_xp for the platform (allows XP support).
2013-09-02 10:28:21 +10:00
OJ
5c5e95eb73 Upgrade from VS2010 to VS 2012
* Perform the upgrade of the projects using the VS wizard.
* Exclude the ext_server_pivot project for now as it doesn't exist on
  disk.

Note: this changeset will not compile.
2013-09-02 09:49:50 +10:00
James Lee
6b6860e33f Make 64-bit project compile
Fixes VS's inability to find psapi.lib for 64-bit builds
2013-04-29 14:47:46 -05:00
Meatballs
f06807c4d5 Fix x64 2013-04-22 10:42:50 +01:00
Meatballs
da4c1fc650 Refactor to support custom commands 2013-04-22 10:06:35 +01:00
Meatballs
1899c7ca63 Add project to solution! 2013-04-21 14:59:11 +01:00
Meatballs
7ab128960b x64 release compilation 2013-04-21 14:52:34 +01:00
Meatballs
18a2760d38 Moved sekurlsa.cpp to top dir 2013-04-21 10:55:57 +01:00
Meatballs
997cbe64ce tidy and add notes 2013-04-21 00:28:39 +01:00
Meatballs
a6083f76fd Debug compile and doesnt crash! 2013-04-21 00:04:45 +01:00
Meatballs
817ebd0fc0 Fix debug compilation 2013-04-20 23:38:44 +01:00
Meatballs
37101896e9 Update licencing 2013-04-20 23:20:52 +01:00
Meatballs
09f2085e97 Working output to file 2013-04-20 01:26:57 +01:00
Meatballs
21e2b1fecf Tidy 2013-04-19 21:45:33 +01:00
Meatballs
979e22f774 Compiles with Release 2013-04-19 19:36:40 +01:00
James Lee
7cafff29f5 Fix compilation on Linux
Doesn't work, but at least it compiles
2013-04-17 18:08:14 -05:00
Meatballs
87dae3d449 Add file and project changes 2013-04-14 11:09:12 +01: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
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
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
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