OJ
1c07b8650b
Remove unused sniffer config, add PssdkVersion setting
...
* Rather than having various places where the PSSDK path is set scattered
through the solution I created a property which contains the version.
This means we can update that version property in the project and it'll
take effect everywhere it's required.
* Removed debug and release configurations from ext_server_sniffer.
2013-09-18 18:09:32 +10:00
James Lee
e031cc37f1
Land #19 , add 'x86' to output filenames
...
Conflicts:
workspace/ext_server_mimikatz/ext_server_mimikatz.vcxproj
workspace/ext_server_sniffer/ext_server_sniffer.vcxproj
2013-09-16 23:56:52 -05:00
OJ
b442d17082
Change output file names
...
As per @jlee-r7's request I've changed the output of both 32 and 64 bit
components so that the platform is included in the file name.
I also added "make clean" to the make script.
2013-09-17 07:24:27 +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
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
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
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
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
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
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
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
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
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
7283131279
Initial source import from metasploit-framework
2012-11-19 16:46:07 -06:00
jlee-r7
964bae0c49
Initial commit
2012-11-19 14:40:03 -08:00
HD Moore
7faaa653ba
Update project
2012-06-24 14:03:57 -05:00
HD Moore
8a1193cef1
Add missing project files
2012-06-24 14:03:54 -05:00
James Lee
46c1073bea
Remove unnecessary -gstabs and fix a logic error
...
This drops the sniffer extension to a size of around 55k bytes.
2012-02-10 15:57:01 -07:00
James Lee
d493848e40
Add a 'debug' target for posix meterpreter build
...
This new target adds debugging symbols and doesn't strip binaries. New
bins are considerably bigger, but may be more helpful when diagnosing
problems or adding new features.
[Fixes #6343 ]
2012-02-10 15:57:01 -07:00
James Lee
3ded02ae3e
Add -m32 to all the Makefiles
...
This is in an attempt to get it compilation working on 64-bit hosts.
2012-01-27 17:20:36 -07:00
James Lee
ff05a305da
Force gcc to compile for i386
...
Makes meterpreter for linux work on older CPUs.
Fixes #6268
2012-01-23 15:20:36 -07:00
James Lee
808dd72cc5
meterpreter compiles on modern linux! see #2418
...
git-svn-id: file:///home/svn/framework3/trunk@13333 4d416f70-5f16-0410-b530-b9f4589650da
2011-07-25 07:59:51 +00:00
HD Moore
118d6b2bfb
Merge in some recent meterpreter work, still a ways off before this is ready to use.
...
git-svn-id: file:///home/svn/framework3/trunk@13044 4d416f70-5f16-0410-b530-b9f4589650da
2011-06-28 05:57:36 +00:00
HD Moore
b461ad297f
Fix up the sniffer build environment, add the pivot project to the solution (even though its not part of the OSS tree).
...
git-svn-id: file:///home/svn/framework3/trunk@12916 4d416f70-5f16-0410-b530-b9f4589650da
2011-06-11 22:42:59 +00:00
pks
155854e533
Implement a sniffer for posix meterpreter using libpcap.
...
This version of the sniffer supports packet filtering after the packet count variable, like so:
meterpreter > sniffer_interfaces
1 - 'eth0' ( type:0 mtu:1514 usable:false dhcp:false wifi:false )
2 - 'any' ( type:0 mtu:1514 usable:false dhcp:false wifi:false )
3 - 'lo' ( type:0 mtu:1514 usable:false dhcp:false wifi:false )
meterpreter > use sniffer
Loading extension sniffer...success.
meterpreter > sniffer_start 1 500000 icmp <-- picks up only icmp packets.
[*] Capture started on interface 1 (500000 packet buffer)
meterpreter > sniffer_stop 1
[*] Capture stopped on interface 1
git-svn-id: file:///home/svn/framework3/trunk@10424 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-21 11:43:30 +00:00
Stephen Fewer
96bf84163d
Commit the source code for the cross compilable reflective dll injection module. Some minor modifications to the stdapi extension were also required. All the projects (.vcproj) now have an x64 debug/release target as well as an x86 counterpart.
...
git-svn-id: file:///home/svn/framework3/trunk@7000 4d416f70-5f16-0410-b530-b9f4589650da
2009-09-04 01:53:58 +00:00
HD Moore
e47be2ef4f
Fixes #299 - corrects the win32 build environment and source to build properly again
...
git-svn-id: file:///home/svn/framework3/trunk@6987 4d416f70-5f16-0410-b530-b9f4589650da
2009-08-30 01:57:25 +00:00
HD Moore
81e434af80
Updated VC++ project files to fix the directory paths/includes for OpenSSL
...
git-svn-id: file:///home/svn/framework3/trunk@6774 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-13 03:14:20 +00:00
HD Moore
8bbbd84aeb
Fixes a memory corruption issue with the SSL file descriptor (was using a stack reference instead of the Remote->fd reference), adds the source code sans the Packet SDK for the sniffer module
...
git-svn-id: file:///home/svn/framework3/trunk@6763 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-11 17:32:50 +00:00