James Lee
bd86bfc6d5
Remove redundant __FUNCTION__ references in dprintf calls
...
From the Department of Redundancy Department.
2012-02-13 18:40:25 -07:00
James Lee
3e61fc1154
Adds a depclean target
...
Don't blow away libc with the "clean" target because I'm tired of
rebuilding everything.
2012-02-13 17:59:01 -07:00
James Lee
9e814bdf19
Whitespace cleanup
2012-02-13 15:21:01 -07:00
James Lee
60706033f4
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
13c231afbc
Really set the flag so we don't strip later
...
Oversight from last commit
2012-02-10 15:57:01 -07:00
James Lee
d44c7896b6
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
fc088fa379
Don't use the verboten 127.0.0.1
...
Alleviates some unnecessary headaches with the database
2012-02-10 15:57:01 -07:00
James Lee
b5dc50968b
Simplify creation of .h files from libs
...
Suffix rules are awesome.
2012-02-10 15:57:00 -07:00
James Lee
3d1c8ae383
Fix another errant use of dprintf
2012-02-08 16:45:12 -07:00
Joshua J. Drake
1a6cbd2bf0
Fix another dprintf from #6334 , oops
2012-02-06 11:42:12 -06:00
Joshua J. Drake
4b2d8f88e8
Fix dprintf statements in meterpreter C src #6334
2012-02-06 11:38:14 -06:00
Joshua J. Drake
d6616cd8a9
Fix up posix meterpreter rtld/Makefile rule
2012-02-06 11:28:59 -06:00
James Lee
e045accfc3
Refactor interface listing
...
[See #6328 ]
2012-02-02 00:14:38 -07:00
James Lee
026c24c184
Replace the root-only pcap iface listing technique
...
Leaks memory, will remedy momentarily
[See #6328 ]
2012-02-02 00:14:38 -07:00
James Lee
10bd708a69
Just rm libpcap add re-extract instead of cleaning
...
It's faster.
2012-02-02 00:14:38 -07:00
James Lee
c56d326368
Use the proper dirsep and allocate correctly
...
Thanks, mm__ for the bug report and the patch!
[Fixes #6322 ]
2012-01-31 17:31:15 -07:00
James Lee
ba50f84229
More i386 and -m32 fixes for compiling meterpreter
...
This should be the last change necessary to compile a 32-bit meterpreter
from a 64-bit build host.
See #6268
2012-01-31 10:12:42 -07:00
James Lee
e48da7b7db
Merge branch 'stat-struct-fixes'
...
Conflicts:
data/meterpreter/ext_server_stdapi.lso
2012-01-27 19:07:27 -07:00
James Lee
e0a312e38d
Get the return values in the right place
...
This should convert stat values to something portable enough to work on
POSIX and Windows.
Fixes #6294
2012-01-27 18:56:01 -07:00
James Lee
628f85cea3
Add -m32 and -march=i386 to the Jam build for bionic
...
This is hopefully the last thing that needs to be fixed up for i386
compatibility.
See #6268
2012-01-27 18:02:37 -07:00
James Lee
5bc1701a5a
Ensure make.sh returns success
2012-01-27 17:20:36 -07:00
James Lee
e7b15180d1
Add clean targets for openssl and libpcap
...
Also, a 'really-clean' target that does everything
2012-01-27 17:20:36 -07:00
James Lee
289dc81d60
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
1a187c00aa
Add a platform-independent stat struct
...
This should help with various issues on linux
2012-01-27 17:13:46 -07:00
James Lee
5be58513f9
Ensure make.sh returns success
2012-01-27 16:37:48 -07:00
James Lee
8108bf888e
Add clean targets for openssl and libpcap
...
Also, a 'really-clean' target that does everything
2012-01-27 16:33:27 -07:00
James Lee
abf031f224
Add -m32 to all the Makefiles
...
This is in an attempt to get it compilation working on 64-bit hosts.
2012-01-27 15:14:47 -07:00
James Lee
10237f7c12
Changes openssl/build.sh to create its own target
...
This should ensure we build everything for i386 and only link the lib
files we mean to. Also no longer builds any of the superfluous openssl
executables since all we need are the .so files.
See #6268
2012-01-25 17:54:13 -07:00
James Lee
e928efaa8c
Force gcc to compile for i386
...
Makes meterpreter for linux work on older CPUs.
Fixes #6268
2012-01-23 15:20:36 -07:00
Matt Buck
16f45fc894
Add empty directories from svn repo.
2011-11-09 18:41:40 -06:00
Matt Weeks
a82adb14f9
Allow boolean options of true and True as well as 0 and 1.
...
git-svn-id: file:///home/svn/framework3/trunk@13796 4d416f70-5f16-0410-b530-b9f4589650da
2011-09-26 19:16:02 +00:00
Matt Weeks
ab4026cfb5
And do the same for pivoted PXE attacks.
...
git-svn-id: file:///home/svn/framework3/trunk@13780 4d416f70-5f16-0410-b530-b9f4589650da
2011-09-23 16:16:47 +00:00
Matt Weeks
10bf0fbe84
Whoops. Reset would be reset, not stop.
...
git-svn-id: file:///home/svn/framework3/trunk@13752 4d416f70-5f16-0410-b530-b9f4589650da
2011-09-18 20:26:09 +00:00
Matt Weeks
6853221762
Fixes #5313 by adding logging support to pivoted PXE attacks, and displaying results as the module runs.
...
git-svn-id: file:///home/svn/framework3/trunk@13646 4d416f70-5f16-0410-b530-b9f4589650da
2011-08-27 15:46:49 +00:00
Matt Weeks
06c3dabe31
Fixes #5312 for pivoted PXE attacks.
...
git-svn-id: file:///home/svn/framework3/trunk@13634 4d416f70-5f16-0410-b530-b9f4589650da
2011-08-25 02:07:35 +00:00
Matt Weeks
53e43fa847
whoops. Use these, not the dhcpserv.cpp/h
...
git-svn-id: file:///home/svn/framework3/trunk@13633 4d416f70-5f16-0410-b530-b9f4589650da
2011-08-25 01:41:57 +00:00
HD Moore
521b95b0c2
This fixes garbled characters in lsass hashdump on some platforms
...
git-svn-id: file:///home/svn/framework3/trunk@13582 4d416f70-5f16-0410-b530-b9f4589650da
2011-08-19 05:09:49 +00:00
Matt Weeks
b2733c04db
More PXE dust for extra magic!
...
git-svn-id: file:///home/svn/framework3/trunk@13493 4d416f70-5f16-0410-b530-b9f4589650da
2011-08-05 17:10:27 +00:00
James Lee
0f95070f3f
add a request type for grabbing the host's directory separator, fixes #4892
...
git-svn-id: file:///home/svn/framework3/trunk@13346 4d416f70-5f16-0410-b530-b9f4589650da
2011-07-26 20:51:33 +00:00
James Lee
6b1dfd5908
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
James Lee
dd84169187
tell the linker to make DT_HASH sections instead of DT_GNU_HASH which msflinker can't handle
...
git-svn-id: file:///home/svn/framework3/trunk@13332 4d416f70-5f16-0410-b530-b9f4589650da
2011-07-24 23:50:55 +00:00
James Lee
5c5861cc9b
add a 'clean' target
...
git-svn-id: file:///home/svn/framework3/trunk@13328 4d416f70-5f16-0410-b530-b9f4589650da
2011-07-24 19:25:19 +00:00
HD Moore
75bef2b98a
Apply a diff to fix bad ifdef usage
...
git-svn-id: file:///home/svn/framework3/trunk@13324 4d416f70-5f16-0410-b530-b9f4589650da
2011-07-23 20:31:58 +00:00
HD Moore
47eb4cbd86
Add an ifdef around the wininet setup routine
...
git-svn-id: file:///home/svn/framework3/trunk@13323 4d416f70-5f16-0410-b530-b9f4589650da
2011-07-23 20:16:19 +00:00
James Lee
3c261c346f
add support for java/meterpreter/reverse_http. assuming i didn't miss any files, fixes #4946 , thanks mihi!
...
git-svn-id: file:///home/svn/framework3/trunk@13213 4d416f70-5f16-0410-b530-b9f4589650da
2011-07-18 23:15:06 +00:00
James Lee
cdeacc85f3
fix some incorrect arguments to memset, thanks sbz for noticing.
...
git-svn-id: file:///home/svn/framework3/trunk@13123 4d416f70-5f16-0410-b530-b9f4589650da
2011-07-07 23:14:44 +00:00
James Lee
f01d29e4a5
add support for absolute paths, fixes #4874
...
git-svn-id: file:///home/svn/framework3/trunk@13108 4d416f70-5f16-0410-b530-b9f4589650da
2011-07-06 21:35:51 +00:00
HD Moore
8816d2135f
Merge in changes from thelightcosine that add RegLoadKey/RegUnloadKey support
...
git-svn-id: file:///home/svn/framework3/trunk@13089 4d416f70-5f16-0410-b530-b9f4589650da
2011-07-02 04:03:23 +00:00
HD Moore
e9bb388593
Use size_t instead of int
...
git-svn-id: file:///home/svn/framework3/trunk@13063 4d416f70-5f16-0410-b530-b9f4589650da
2011-06-29 06:35:44 +00:00
HD Moore
35801febd7
Lets try this again, POSIX style
...
git-svn-id: file:///home/svn/framework3/trunk@13061 4d416f70-5f16-0410-b530-b9f4589650da
2011-06-29 06:30:24 +00:00