Commit Graph

155 Commits

Author SHA1 Message Date
Alan Foster 5124219fb6
Generate machine readable msfvenom output when pipes are used 2021-05-26 11:13:49 +01:00
dwelch-r7 5f1916072c Handle modules failing to be created when checking compatibility 2021-03-10 14:36:38 +00:00
dwelch-r7 d6896dadc0 remove `msf` folder requires 2021-01-18 14:21:54 +00:00
dwelch-r7 7c063404eb Fix missing constants in msfvenom 2021-01-05 16:42:59 +00:00
dwelch-r7 98eaef20b3 Reduce msfvenom run time by only loading relevant modules
Work was already done, just need the args passed in
2020-08-27 15:25:33 +01:00
gwillcox-r7 df1a9c7fdb
Add ZSH autocomplete features per @smcintyre-r7's request 2020-06-12 10:44:50 -05:00
gwillcox-r7 87769db6fd
msfvenom x64 support finished, just need to get x86 working 2020-06-11 21:46:41 -05:00
gwillcox-r7 0f30e871f6
Add --service-name option to msfvenom 2020-06-11 21:45:58 -05:00
dwelch-r7 b05d01f39b silence warnings for all users 2020-05-05 12:34:44 +01:00
Alan Foster 8297a31863
Extract profiler 2020-03-12 19:44:50 +00:00
William Vu a5db685a83 Filter payloads by platform and arch for msfvenom 2020-03-04 19:26:11 -06:00
bwatters-r7 93f8d94154 Changes to venom to handle pingbacks and really delete extra files, this time. 2019-07-25 19:45:10 -05:00
bwatters-r7 f7f7e969ee Hold off on venom changes for a new PR 2019-07-25 19:42:51 -05:00
Aaron Soto 8c6f2d974b Enable database support in msfvenom to allow for saving UUIDs 2019-07-25 19:42:26 -05:00
William Vu 8ef76684ab Prefer Rex::Text.dehex over Rex::Text.hex_to_raw
The former allows character literals interleaved with escaped hex.
2019-07-19 18:06:59 -05:00
Brent Cook d988fe6e5c handle invalid payloads more clearly
Currently, if you have an error in a payload module (e.g. you have a syntax
error in a module), the error is not noticed early enough in the generation process by the parameter validator, leading to a mysterious message like so:

```
Error: undefined method `platform' for nil:NilClass
```

This change cleans up some of the error handling, checks to see if the payload
module can be instantiated, and gives a more useful error output for the
different cases. This also tweaks some of the literal string outputs to match
other exception strings from payload_generator.
2019-05-31 14:32:49 -05:00
7043mcgeep 53143d57af
Add cmd dispatch options -S and -P, msfvenom --sec-name 2019-02-13 14:53:56 -06:00
Patrick 1487ca8923 Fixed line alignment. New section name is made lowercase to comply with naming standard. 2019-02-13 13:35:26 -06:00
Patrick 484329f6a0 Issue #6637: Adds msfvenom option --sec-name to specify custom new section header name 2019-02-13 13:34:38 -06:00
Adam Cammack 317f71f7f4
Land #10802, Make `msfvenom -f` case-insensitive 2018-11-21 16:04:30 -06:00
Patrick 30bf716827
Use --pad-nops as a boolean to make -n <size> the total payload size. 2018-11-20 23:26:03 -06:00
Kevin Kirsche ad58930e9b Dump formats when invalid format is selected 2018-11-04 09:25:37 -05:00
Kevin Kirsche 9f77966ec9 Revert downcase throughout, instead use single downcase within option parsing 2018-11-04 08:57:45 -05:00
Patrick 3c0ee6ba89
Issue #6100: Remove dump_pad_nops calls in msfvenom 2018-10-26 16:12:32 -05:00
Patrick ffc193f49b
Issue #6100: Finalized changes to pass rake spec Msf::PayloadGenerator 2018-10-26 13:06:37 -05:00
Patrick 58d4bcb8b9
adds dump_pad_size to msfvenom 2018-10-16 15:48:05 -05:00
Patrick 1241041739
[Issue 6100] Add --pad-size option to msfvenom to prepend nopsled given total payload size 2018-10-15 14:46:16 -05:00
William Vu 8d6d747aa0 Pluralize arch as archs, not arches 2018-08-24 14:33:36 -05:00
William Vu 98aba35b29 Add msfvenom -l arches like -l platforms 2018-08-23 21:54:29 -05:00
William Vu f28c4fc01e Address final review comments 2018-06-01 18:33:07 -05:00
g0tmi1k 24d92b1a8f Updated code based on feedback 2018-05-24 07:34:19 +01:00
g0tmi1k b24219a751 Reorder msfvenom options and add more --list types 2018-05-15 14:33:41 +01:00
Jeffrey Martin 2487314821
Land #9869, Add support for shellcode encryption for msfvenom 2018-04-25 15:51:05 -05:00
Wei Chen 69995b7f80 Change --encryptor to --encrypt and fix a typo 2018-04-19 10:41:23 -05:00
Adam Cammack 9ff16d96b4
Land #9874, Add option for STDIN timeout 2018-04-13 14:55:47 -05:00
Green-m 73371e9f9c Add timeout option 2018-04-13 07:31:34 -04:00
Green-m cff91ee096 Add timeout option 2018-04-13 07:16:11 -04:00
Wei Chen 4e55724f3f Fix a typo and rspec for payload generator 2018-04-12 14:10:26 -05:00
Wei Chen 19e76329dc Add some checks in buffer.rb and fix option in msfvenom 2018-04-11 13:02:35 -05:00
Wei Chen 13edf66fa3 Fix options 2018-04-10 18:57:02 -05:00
Wei Chen b630d5c327 Add encryption support for shellcode 2018-04-10 11:14:14 -05:00
Jeffrey Martin 3dacec1982
Load all deps when needed in help cause we have to 2018-04-04 17:36:08 -05:00
William Vu a541e72b92 Update Rex require for consistency
The speedup is minimal at best.
2018-03-26 13:00:11 -05:00
Jeffrey Martin 64a478c41b
fix -b as only options when calling msfvenom 2018-03-26 11:19:57 -05:00
William Vu 9a7f4925a2 Add init_framework for Rex::Socket.source_address 2018-03-17 02:35:57 -05:00
William Vu 264c54fd51 Refactor init_framework to resolve Msf constants 2018-03-17 02:30:59 -05:00
William Vu 65cf007356 Add assumed require 2018-03-17 01:30:54 -05:00
William Vu 9d7ce73942 Remove unused errors 2018-03-17 01:28:31 -05:00
William Vu ba71c1f89f Remove extraneously rescued error
Option validation doesn't even happen there...
2018-03-17 01:24:54 -05:00
William Vu 13555cb09b Require dependencies conditionally in msfvenom
This avoids the long wait time while showing help for msfvenom.
2018-03-17 01:04:57 -05:00