1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-03-24 18:16:24 +01:00

291 Commits

Author SHA1 Message Date
Meatballs
19b1d95df8 Modify ssp output 2013-04-21 10:33:16 +01:00
Meatballs
997cbe64ce tidy and add notes 2013-04-21 00:28:39 +01:00
Meatballs
57f9217ccb More licence fixes 2013-04-21 00:21:10 +01:00
Meatballs
6c47be2163 Correct wcout 2013-04-21 00:08:38 +01:00
Meatballs
37101896e9 Update licencing 2013-04-20 23:20:52 +01:00
Meatballs
ff8dbb3226 Refactoring 2013-04-20 18:12:37 +01:00
Meatballs
f061ceba31 Add all methods 2013-04-20 17:28:00 +01:00
Meatballs
c36f4c1c89 Add msv 2013-04-20 16:32:31 +01:00
Meatballs
0fd0f2b878 Prevents crashing on reattempts 2013-04-20 15:06:18 +01:00
Meatballs
36b0aeeeaa Tidy output 2013-04-20 12:21:48 +01:00
Meatballs
d0822e5f19 Working comms 2013-04-20 11:14:37 +01:00
Meatballs
fd7b6eadbb Normalized output 2013-04-20 10:31:13 +01:00
Meatballs
09f2085e97 Working output to file 2013-04-20 01:26:57 +01:00
Meatballs
39872d239b Working comms 2013-04-19 22:18:44 +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
d80547c656 Whitespace at EOL 2013-04-04 23:37:20 -05:00
James Lee
7cc29ff475 Landing , 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 , 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
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
Meatballs
23503bd3fa Merge remote branch 'origin/master' into railgun_cdecl_fix_clean 2013-03-29 13:01:37 +00: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
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
James Lee
861f32f223 Add missing .lib files
This should make it possible for folks to compile for Windows again.
2013-02-21 10:18:25 -06:00
Meatballs
167d7cc70e Correct railgun.c 2013-02-11 20:47:35 +00:00
Meatballs
fb8567e378 New clean pull 2013-02-11 20:46:15 +00: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
be9d57454f Add placeholder directories for PSSDK 2012-11-28 15:10:35 -08:00
m m
b7a464292c I was pretty sure to have removed those fclose before 2012-09-12 13:11:24 -05:00
m m
c8b85f9587 fix netstat program name 2012-09-12 13:11:24 -05:00
m m
2860d0481e fix netstat program name 2012-09-12 13:11:24 -05:00
James Lee
e3915b99e4 Whitespace at EOL 2012-08-28 17:02:37 -05:00
James Lee
1e943bd72b Fix crash with long exe name in process list
Instead of invoking the Watson crashamajigger when the process
associated with a connection has a long executable name, truncate to the
length available in the buffer.

[See ]
2012-08-28 17:02:37 -05:00
m m
b30af5d632 fix typo 2012-08-28 17:02:37 -05:00
m m
5059a1f3cc netstat and arp commands in win32/posix meterpreter 2012-08-28 17:02:37 -05:00
James Lee
70452fb2c6 Store the value, not the comparison
Fixes client.sys.process.execute for posix, which previously (since
2010!) would always return nil, or a single byte. This makes sense
considering the value of bytesRead would always be either 0 or 1 because
it was being assigned the result of the comparison instead of the return
value of read().

[Fixes ]
2012-08-09 18:18:45 -06:00
James Lee
f2b0ec8a3c Return the PID as handle in posix
Fixes some TypeError exceptions when attempting most operations on
spawned processes, e.g.:

  p = client.sys.process.execute("/bin/sh", nil, "Channelized"=>true)
  p.close
  # raises TypeError: can't convert nil into Integer

[FIXRM ]
2012-08-08 15:23:00 -06:00
m m
3e40282718 Really limit packet count and data in linux sniffer
Squashed commit of the following:

commit 57795ff9c33a53167fca85845b96b82b5c92315f
Author: James Lee <egypt@metasploit.com>
Date:   Wed Aug 1 14:13:20 2012 -0600

    Add recompiled sniffer bin for linux

commit 0e11fdb06fcb9771a11eb631e6f10ec7a2d315f3
Author: m m <gaspmat@gmail.com>
Date:   Thu Jul 12 15:08:10 2012 +0200

    really limit packet count and data in linux sniffer

[Closes ]
2012-08-01 14:16:00 -06:00
James Lee
bb4a71413d Squashed commit of the following:
commit 1de16b41c8808df2919706eaa8cc89ae44d9b591
Author: m m <gaspmat@gmail.com>
Date:   Mon Jul 9 21:55:32 2012 +0200

    typo

commit a396b55018175f3eb2a83baecb1ec601cc99eef4
Author: m m <gaspmat@gmail.com>
Date:   Mon Jul 9 21:51:32 2012 +0200

    various posix meterpreter bugfixes

[Closes ]
[FIXRM ]
2012-07-19 15:56:47 -06:00