Commit Graph

91 Commits (31505496341dbef693dfe5c1a0bed8b9ac76b2fc)

Author SHA1 Message Date
wchen-r7 36782af5c9 Resolve #4889, Improve msfvenom -h
Resolve #4889
2015-05-29 10:34:12 -05:00
HD Moore 448736989d Merge branch 'master' into feature/msfvenom-smallest 2015-05-18 18:41:44 -05:00
Brent Cook fb43ef4494 realign msfvenom help text 2015-05-18 16:39:52 -05:00
HD Moore 71eab7a236 Implements msfvenom --smallest, still some blockers 2015-05-18 15:24:59 -05:00
HD Moore a82168d7bb Fixes #5361 by adding --encoder-space to msfvenom 2015-05-18 14:27:52 -05:00
Dillon Korman be7ffc9a0d
Bring in #5027 for only a couple edits
Switching from " to ' is usually more trouble than it's worth, even if
it's more technically correct. The original PR had a great example of
that kind of error, where you accidentally screw up an interior
apostraphe.

[See #5027]
2015-03-30 12:08:52 -05:00
William Vu b87744c1a9 Add whitespace 2015-03-23 00:30:18 -05:00
HD Moore 3cb4fa293f Show advanced/evasion options in msfvenom --payload-options 2015-03-22 20:24:26 -05:00
Christian Mehlmauer face3a7f7a
add trailing newline 2015-02-24 17:53:33 +01:00
William Vu 6fdd2abc8d
Change "Options for" line to stderr 2015-01-29 13:38:29 -06:00
sinn3r b1b59dac7c Almost forgot this one again 2015-01-28 19:43:56 -06:00
sinn3r f6238f1ffb Auto-trim descriptions 2015-01-28 19:42:06 -06:00
sinn3r ae0214517a Fix #4662 - Change stderr to stdout so people can grep
Fix #4662
2015-01-28 18:23:36 -06:00
sinn3r fb35a4574f Well, should be -1 2014-12-19 16:36:05 -06:00
sinn3r cd444ed2db No point to save if there's no payload 2014-12-19 16:35:17 -06:00
sinn3r c2bc182db5 Fix #4430 - Add support for -o to save the payload to disk
Fix #4430
2014-12-19 16:14:43 -06:00
sinn3r c2bc79c53c Resolves #4275 - Configurable variable name as an option
Resolves #4275
2014-12-15 23:59:34 -06:00
sinn3r 0b51741779 Fix #4047 - undefined method `rank' due to an invalid encoder name
Fix #4047 caused by an invalid encoder name. Also added elog() to
avoid shutting everything up in msfvenom
2014-11-10 13:25:53 -06:00
sinn3r 7980a7052c Fix #4132 - msfvenom undefined method fullname for NilClass 2014-11-09 14:27:59 -06:00
Luke Imhoff f61afe2598
Merge branch 'master' into bug/MSP-11368/boot-profiling
MSP-11368
2014-09-22 10:00:07 -05:00
Joe Vennix d9a713b415
Decode the badchars string correctly. 2014-09-20 17:48:03 -05:00
Luke Imhoff b863978028
Remove fastlib
MSP-11368
MSP-11143

Remove fastlib as it slows down the code loading process.  From the
previous commit, the mean loading for
`METASPLOIT_FRAMEWORK_PROFILE=true msfconsole -q -x exit` was
27.9530±0.3485 seconds (N=10).  The mean after removal of fastlib
was 17.9820±0.6497 seconds (N=10).  This means an average 35.67%
reduction in boot time.
2014-09-18 15:24:21 -05:00
David Maloney 6d93f7a810
fix typo in msfvenom
typo caused list encoders to fail
FIXRM #8778
2014-03-31 14:55:59 -05:00
sinn3r 17f8cf900a Add another condition to check if the payload name is a reverse shell
Only reverse shells need LHOST
2014-02-24 15:37:01 -06:00
sho-luv 47ae4b470a added recommendations 2014-02-24 15:24:57 -06:00
sho-luv b598a5e4de added auto lhost to msfvenom 2014-02-21 21:51:07 -06:00
David Maloney 0c9b386402 add missing option serialiser
was missing the -o flag to output a payload's options
2014-02-13 10:19:26 -06:00
David Maloney ca48fb6590 fix encoding cycle if all encoders fail
we need to raise an exception if all encoders fail
2014-02-05 15:25:14 -06:00
Meatballs f112e78de9
Fixes .war file creation 2013-12-22 20:58:21 +00:00
corelanc0d3r 474a03475f sorted out the sorts without .sort 2013-12-02 11:57:52 +01:00
corelanc0d3r 66edfe968d Sorting output 2013-11-21 00:57:08 +01:00
Tab Assassin 2e8d19edcf Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
sinn3r 92d57ef37d Fix merge conflict
Conflicts:
	msfvenom
2013-08-13 00:00:16 -05:00
jgor 015ca6bace Allow python format, as indicated in --help-formats 2013-07-19 09:44:26 -05:00
William Vu abcf34a2e7 Fix typo 2013-07-11 11:56:24 -05:00
g0tmi1k 20c5e08988 msfvenom - Added advance options 2013-07-11 11:39:54 +01:00
James Lee 8e2df73f2c Add spec for case-insensitive options
See #2027
2013-07-05 16:06:00 -05:00
James Lee 6c6ad28da2 Merge datastore opts before listing 2013-07-05 16:00:19 -05:00
James Lee 7a4e9b993a Changed my mind, this goes here 2013-07-05 15:39:25 -05:00
James Lee 2841624fdd Refactor spec and add more docs 2013-07-05 15:18:17 -05:00
James Lee ed3764150f Don't continue if opts told us not to generate
Such as is the case with running with --options
2013-07-05 14:31:38 -05:00
James Lee 1962db5b8c Don't stack trace on failed option validation
See #2027
2013-07-05 14:19:03 -05:00
James Lee e330916744 Pull out common stuff in Util::EXE/MsfVenom tests 2013-07-03 12:25:15 -05:00
James Lee 95451862d6 More msfvenom refactoring
* Make @framework into a caching method instead

* Allow instantiating with streams for where payloads and comments
  should go. This allows us to capture std{out,err} when running specs

* Specs are still woefully under-representative

* Get rid of all the calls to exit
2013-07-02 02:02:11 -05:00
James Lee 4b2ae4ef6a Refactor msfvenom into a class
Also adds some minimal testing... which is super slow because it doesn't
cache the framework object across tests.

Conflicts:
	msfvenom

Hopefully picked up all the relevant fixes from #2027
2013-07-01 17:51:12 -05:00
James Lee 1466609c86 Add more supported formats to exe generation
- Already supported, just added calls to the the right methods in
  the .to_executable_fmt method:
  - Linux armle, mipsle, and mipsbe
  - Mac arm, ppc

- makes the two (!?) copies of block_api for windows match more closely
  with the source used elsewhere. This is still needs to be refactored
  to get rid of the duplication.

- Get rid of some of the logic in msfvenom duplicated from Util::EXE
2013-07-01 17:36:58 -05:00
g0tmi1k 7ab92993f7 msfvomon - arguments are not case sensitive
Kind of a dirty hack....
2013-06-26 16:35:22 +01:00
g0tmi1k 2b2ded3d83 Cleaned up msfvenom a bit 2013-06-26 16:22:47 +01:00
g0tmi1k c65fcfc09d Altered msfvenom options to match msfpayload...
Altered msfvenom options to match msfpayload summary
2013-06-26 15:15:02 +01:00
g0tmi1k 91b4d95c3f Fixed msfvenom when displaying options 2013-06-26 15:13:50 +01:00