Adam Cammack
b98327472a
Correct realname calls in the cache to fullname
2019-08-30 15:38:45 -05:00
Adam Cammack
bcccfd86b8
Teach module cache about realname
...
Also uses the class refname where appropriate since an instances refname
reflects the alias currently in use and if a module is reloaded while
using an alias the old behavior would generate spurious cache entries
that would not be cleaned up or modified. Specifically, this could
register a self-referential alias that would cause a stack overflow when
trying to `use` such an alias.
Additionally, some other `fullname`s were changed to `realname`s for
clarity.
2019-08-26 13:26:48 -05:00
Adam Cammack
948918dacb
Use alias when reloading aliased module
...
Also speeds up module reloads by avoiding module instance creating
without a type.
Fixes #12026
2019-08-22 17:58:20 -05:00
Brent Cook
463c147977
fix method check in metadata updates
2019-07-25 23:23:20 -05:00
bwatters-r7
7a8090c3e7
Fix variable name
2019-07-25 19:45:10 -05:00
bwatters-r7
7c2d214af2
Clean up debugging, move options to one place and delete superflous file
...
change the uuid handing to prevent changes to it when it gets put in payloads
2019-07-25 19:45:05 -05:00
bwatters-r7
80dbef20f2
Follow acammack's guidance for excluding filedropped exploits
...
usage of pingback payloads
2019-07-25 19:43:14 -05:00
Adam Cammack
cf59022936
Add aliases to modules
...
This allows modules that can be addressed by name to register possible
aliases for themselves by defining an `Aliases` constant in the top
level of the module.
2019-06-03 13:40:27 -05:00
Adam Cammack
c0d365aa46
Unify modules and cache with fullname method
2019-06-03 13:19:29 -05:00
Adam Cammack
40c083b894
Force UTF-8 for more module fields
2019-04-24 09:30:38 -05:00
William Vu
8e9c207d26
Clarify module name is filename as per msftidy
2019-03-11 23:53:36 -05:00
William Vu
1d8538caee
Direct user to framework.log for load problems
...
This reduces long lines and cluttered output during startup.
2019-03-11 23:40:59 -05:00
William Vu
6c4729de7e
Prefer a soft error for invalid module names
2019-03-11 22:54:34 -05:00
Brent Cook
4a4717c3db
Land #10937 , remove server/client from module cache
2019-02-12 21:28:14 -06:00
Spencer McIntyre
0908d5a2d2
Rename default_options to describe_payload_options
2019-02-02 15:01:05 -05:00
Spencer McIntyre
6343280364
Clean up external evasion module options
2019-02-01 11:54:22 -05:00
Spencer McIntyre
162139ee1d
Keep advanced options in the same list
2019-01-31 13:41:18 -05:00
Jeffrey Martin
35ec947c17
remove is_server/is_client and app search term
2019-01-31 12:14:25 -06:00
Jeffrey Martin
a4d413348b
improve definition of server/client modules
...
update the cached data to define server vs client base on the
type of exploit module instead of the module stance.
2019-01-31 11:52:22 -06:00
Spencer McIntyre
acded21f0c
Support default options for external modules
2019-01-29 11:29:18 -05:00
Spencer McIntyre
548185747f
Add support for advanced options for ext evasions
2019-01-29 09:09:58 -05:00
Spencer McIntyre
accdd791f7
Fix a args generation issue for external evasions
2019-01-28 16:10:44 -05:00
Spencer McIntyre
28370b7f29
Add support for external evasion modules
2019-01-28 13:22:22 -05:00
Jeffrey Martin
4963647bf6
remove call to method not defined
2018-12-13 17:00:41 -06:00
Brent Cook
df76521100
Land #11066 , add rpc output locking, fix logging
2018-12-07 13:49:10 -06:00
Brent Cook
09ffce4ec5
fix mutex locking, push to rpcSend
2018-12-07 13:28:34 -06:00
Brent Cook
9e110eb9fc
Land #10940 , add default service mapping to imports
2018-12-06 21:04:05 -06:00
Christopher Lee
b0560c1ec8
Centralize logging sync, fix minor logging issues
2018-12-05 12:42:44 -06:00
Brent Cook
55a9a12670
Land #10964 , add initial golang modules for enumerating owa/o365
2018-12-04 10:33:37 -06:00
Christopher Lee
b11bcd92a4
Broken into 3 modules, addressed review comments
2018-12-03 10:25:21 -06:00
Christopher Lee
6225c04b99
Address review feedback, fix bugs
2018-11-30 11:36:39 -06:00
Adam Cammack
44da31edb8
Support Python 3.7 in external probe scanner code
2018-11-21 15:06:54 -06:00
Christopher Lee
38bea6c29c
Added msmailprobe to msf
2018-11-14 16:15:11 -06:00
Jeffrey Martin
d2a78cecd0
improvements to code commente and floe
2018-11-12 17:31:43 -06:00
Jacob Robles
1b44fd0ade
Remove conditional for path
2018-11-12 11:05:40 -06:00
Jacob Robles
a80ac67373
Prepend GO path
2018-11-12 11:03:19 -06:00
Jacob Robles
8dc974b51e
Prepend python path
2018-11-12 07:58:43 -06:00
Jeffrey Martin
5ba44ff12d
add default service mapping to imports
2018-11-08 18:14:22 -06:00
Christian Mehlmauer
7127792fcf
tidy up external go modules
2018-11-06 20:23:10 +01:00
Brent Cook
407a9f3de1
remove debug
2018-11-06 11:12:02 -06:00
Brent Cook
76531cb818
gofmt all the things
2018-11-06 11:12:02 -06:00
Brent Cook
97bee891ce
remove some ruby vestiges
2018-11-06 11:12:02 -06:00
Brent Cook
df43b372fa
initial golang module support
2018-11-06 11:12:02 -06:00
Brent Cook
cfbc0a9a0c
properly bubble up errors on external module load
2018-11-06 11:12:02 -06:00
Brent Cook
dea460c813
golang module loader support
2018-11-06 11:12:02 -06:00
William Vu
0b8926715e
Reactively check for invalid module names
2018-10-10 14:33:59 -05:00
William Vu
1737935dc0
Convert reverse_relative_name to a class method
...
It'll be easier to use this way if someone uses it externally.
2018-10-10 13:21:18 -05:00
Wei Chen
c7efd57144
Sync up with master
2018-10-06 08:27:01 -05:00
William Vu
46e7b8ac98
Namespace modules using full name instead of hex
2018-10-01 18:32:23 -05:00
William Vu
7842174d8b
Fix loading external modules without notes
2018-10-01 12:41:39 -05:00