Commit Graph

14371 Commits

Author SHA1 Message Date
Brent Cook 37f1e44a12 Land #10009, Add initial check support to external modules 2018-05-18 09:31:31 -05:00
Wei Chen e5c763f6bf Add support for stdio.h, stdlib.h, and String.h 2018-05-17 14:40:49 -05:00
William Vu 9ad31bf70f Land #10037, warning for Mettle stage encoding 2018-05-17 11:01:01 -05:00
William Vu 1d6fae5db6 Drop "currently," since we're including stageless 2018-05-17 10:30:43 -05:00
William Vu 0cd085fb8b Try a better way with MettleConfig
This will obviously affect stageless payloads, but that's okay, since
there's no stage! Thanks to @mkienow-r7 for the nudge. <3
2018-05-17 10:14:52 -05:00
Aaron Soto 0b6c307c34 Land #10002, Add password reporting API to external modules 2018-05-17 09:04:05 -05:00
Brent Cook da07113194 Land #10007, add C interface for building Windows shell code (metasm-backed) 2018-05-16 22:58:32 -05:00
bwatters-r7 7e34f27004 Land #9246, Support RHOSTS for exploit modules 2018-05-16 14:40:25 -05:00
William Vu 30dcb78eb5 Land #10042, reload_lib improvements 2018-05-16 12:53:39 -05:00
William Vu 365289b19e Add janky regex check if we're reloading a module 2018-05-16 12:03:54 -05:00
William Vu 5addc54b4b Refactor reload_lib and add multiple file support 2018-05-16 11:23:16 -05:00
William Vu 54908021aa Update CommandDispatcher for target names, too 2018-05-16 10:39:22 -05:00
William Vu 2e002b24a0 Update Msf::Simple::Exploit for targeting by name
And accidentally add error checking.
2018-05-16 10:35:17 -05:00
Brent Cook b79b53c438 Land #9962, tab-complete target options 2018-05-15 16:41:55 -05:00
Adam Cammack ac03a0723a Factor external check shim into common template 2018-05-14 11:32:22 -05:00
Adam Cammack 1d168a84e5 Add 'unknown' fallback check status
`check` is not a fan of `fail_with`, so fallback when the external
module exits unsuccessfully.
2018-05-14 11:00:40 -05:00
Adam Cammack e0fb1365e6 Add soft_check capability to external modules
A `soft_check` is something designed to evaluate the vulnerability of a
remote system without exploiting it (ex. banner checks, non-intrusive
fingerprinting).
2018-05-11 12:42:31 -05:00
Wei Chen b1e767298f Update doc 2018-05-11 10:30:15 -05:00
Wei Chen ad0ba4f402 Update to update compile_c_to_file argument 2018-05-11 10:29:24 -05:00
Wei Chen 6cd59faa69 Namespace update 2018-05-11 10:27:54 -05:00
Wei Chen 76865732c8 Namespace update 2018-05-11 10:26:59 -05:00
Wei Chen 82c8138de0 Update naming and license 2018-05-11 10:08:16 -05:00
Wei Chen d3f50f421d Update regex 2018-05-10 22:39:49 -05:00
Adam Cammack 780b956dd1 Return results of external module runs
This will allow us to grab check results or more interesting things in
the future, if we decide that modules can have return values for more
types of things. Or this may go away and checks will use the reporting
interface like everything else.
2018-05-10 18:29:14 -05:00
Adam Cammack 147471fb79 Add constant for reverse check code lookup 2018-05-10 18:24:57 -05:00
Wei Chen caf07116db Add compiler support capable of including headers.
This is basically a wrapper for metasm, but supports built-in
headers so that as an user, I don't have manually do this
every time I compile something with metasm.
2018-05-10 00:33:01 -05:00
Adam Cammack 271a2344db Refactor external module API to be more reliable
Also:
  Grabs exit status
  Less boilerplate required for modules
2018-05-09 13:30:13 -05:00
Brent Cook 4cf834d670 restore a few more mixin aliases for now 2018-05-08 17:10:01 -05:00
Brent Cook 25177ef9dc add local CONST definition 2018-05-08 17:08:05 -05:00
Aaron Soto 40f1bb223d Revert deleted code from #9986. See issue #9993 2018-05-08 16:40:49 -05:00
Adam Cammack a72ab10777 Add initial Python library for login scanners 2018-05-07 17:42:41 -05:00
Matthew Kienow 70be536b36 Land #9939, add remote data service rspec support 2018-05-07 18:07:02 -04:00
Adam Cammack ee9da87f1e Add shim for external login scanner modules 2018-05-07 15:05:44 -05:00
Adam Cammack ee1059312f Allow access to userpass_interval in AuthBrute 2018-05-07 14:41:48 -05:00
Brent Cook 02849bcfd0 Land #9986, initial ruby_smb simple client integration 2018-05-07 14:02:22 -05:00
Brent Cook d3652c62d6 Land #9948, optimize, then delete unused code (the ultimate optimization) 2018-05-07 10:19:15 -05:00
Brent Cook d3e6e93d6a the fastest code is that which does not exist 2018-05-07 10:13:38 -05:00
Adam Cammack 524661617c Allow DataStore to nest Arrays arbitrarily deep 2018-05-07 09:51:40 -05:00
Brent Cook 3e7e1e59df style updates, expand constants 2018-05-07 00:24:38 -05:00
Brent Cook 8463d94891 remove mostly unused shortcuts 2018-05-07 00:24:38 -05:00
Brent Cook a9094d6b97 style updates 2018-05-07 00:24:38 -05:00
Jacob Robles 534d05ff44 simpleclient versions option 2018-05-07 00:24:38 -05:00
Jacob Robles ff202a5f5b Simpleclient/SMB2 support 2018-05-07 00:24:38 -05:00
Jacob Robles d54992674f Response code, Write fix 2018-05-07 00:24:38 -05:00
dmohanty-r7 f2cf4fd1dc remove case for open smb file packet field 2018-05-07 00:24:38 -05:00
dmohanty-r7 960c733f16 Remove references to TreeId and FileID 2018-05-06 11:35:54 -05:00
dmohanty-r7 5f7b050173 Get psexec and enumshares to stable state 2018-05-06 11:27:11 -05:00
dmohanty-r7 e25a718861 Simplify 2018-05-06 11:27:11 -05:00
dmohanty-r7 e9b78095be Psexec works 2018-05-06 11:27:11 -05:00
dmohanty-r7 a9019585fe Replace simpleclient's client with ruby_smb client 2018-05-06 11:27:11 -05:00