Pearce Barry
4cc12f1890
Land #12740 , Remove method call side-effects
2019-12-17 18:17:34 -06:00
Jeffrey Martin
0aaa4265be
do not remove workspace needed for other reports
2019-12-17 14:11:59 -06:00
Jeffrey Martin
e5ce6dc8de
do not delete workspace reference
2019-12-17 14:11:58 -06:00
Jeffrey Martin
aaddc9d8a5
don't rely on side-effects in db util function
2019-12-17 14:11:58 -06:00
Jeffrey Martin
31ed5d553f
ensure ref name exists
2019-12-17 11:00:00 -06:00
Jeffrey Martin
b786a44c2e
support Mdm::Module::Ref object when linking vulns
2019-12-16 17:16:01 -06:00
Jeffrey Martin
ba06624e57
consistent usage of :workspace key
2019-11-22 11:16:22 -06:00
Brent Cook
3e951b3f4b
Land #12457 , consolidate workspace actions
2019-11-19 17:10:36 -06:00
Jeffrey Martin
7505e1bf71
Consolidate logic for actions taken on a workspace
...
* When renaming a workspace allow validation to handle all cases the same
* Do not display backtrace on console for rename failure, this is still logged to framework.log
2019-10-15 16:12:11 -05:00
Jeffrey Martin
b494bf5d65
cred imports need a workspace object passed to lib
...
Metasploit::Credential importers expect an Mdm::Workspace object.
2019-10-15 14:51:53 -05:00
Adam Cammack
bd6a0c872f
Remove workspace reqs from remote db payloads
...
The requirements had already been removed from local payloads in
865f214a85
2019-07-26 17:55:57 -05: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
8af6cad862
fix copy/pasta error on payload data read
2019-07-25 19:45:10 -05:00
Aaron Soto
67d3bf5e01
WIP: REST API for async-callbacks, added UUID search
2019-07-25 19:42:25 -05:00
Aaron Soto
353e8e6be9
WIP: Remove PUT and DELETE endpoints
2019-07-25 19:42:25 -05:00
Aaron Soto
a1b51361b0
Bring pingback-payload changes into public framework
2019-07-25 19:42:25 -05:00
Matthew Kienow
4e11dcfee1
Fix import issue caused by missing wspace key
...
Modify import module to follow pattern used in other Msf::DBManager
import modules. Test module updated for method name changes.
2019-07-01 15:58:36 -04:00
Brent Cook
fa09b239e8
Land #11941 , add support for module aliases
2019-06-11 12:57:01 -05:00
Brent Cook
5aed1f7dfe
Land #11914 , Fix external file import via web service
2019-06-07 06:03:42 -05:00
William Vu
53ea7e577f
Add sanitized new XML format
2019-06-07 00:07:50 -05:00
William Vu
10dccfcedb
Remove warning
...
<context> provides service info now:
<context>TCP:443 ([redacted]), SHA256[=][redacted], Serial[=][redacted]</context>
2019-06-06 23:45:07 -05:00
William Vu
40eeae541b
Fix style
2019-06-06 23:38:41 -05:00
Jeffrey Martin
f646a973a7
Update retina imports to better handle parsing
2019-06-06 19:13:06 -05:00
Jacob Robles
8687a21f2d
Fix workspace calls
2019-06-04 08:33:58 -05:00
Adam Cammack
c0d365aa46
Unify modules and cache with fullname method
2019-06-03 13:19:29 -05:00
Jacob Robles
d466ac990d
Use process_opts_workspace
2019-06-03 09:25:31 -05:00
Jacob Robles
e9d0dc7518
Workspace arg used in call to func
2019-05-31 13:17:59 -05:00
Jacob Robles
37b0809e05
Remove workspace call
...
The #workspace call wasn't running as expected when using
the data service. It was ending up in infinite recursion.
2019-05-31 13:08:27 -05:00
asoto-r7
865f214a85
Remove workspace dependency for creating and locating payloads
2019-05-22 13:32:00 -05:00
James Barnett
0c1d63c0ce
Update comments as regex is no longer supported
2019-04-17 13:00:42 -05:00
James Barnett
681a4c43c6
Make user and pass options on cred lookup literal
...
Fixes #11555
2019-04-17 12:37:59 -05:00
Sonny Gonzalez
cf7096f8ba
Target path normalization fixed
2019-04-15 16:35:15 -05:00
Sonny Gonzalez
04dcd8a1f9
A more robust path resolution
...
and better readable is_child_of? method
2019-04-12 11:01:14 -05:00
Sonny Gonzalez
6bf824d200
Zip import directory traversal mitigation
2019-04-11 19:08:37 -05:00
Matthew Kienow
dc3be3378d
Process workspace for use in the create operation
2019-03-25 19:41:51 -04:00
Matt Robinson
771cd60a5e
Add missing get_payload() method
2019-03-22 21:25:23 -04:00
Matthew Kienow
a749b86730
Add missing ActiveRecord connection block
2019-03-06 13:07:35 -05:00
Aaron Soto
822f5357a2
Land #10675 , DB manager for payloads: Resolve conflicts, add 'create!' to trigger database write
2019-03-04 14:58:03 -06:00
Jeffrey Martin
5cf97fd09b
remove nolonger used variable
2019-01-31 13:05:02 -06:00
Jeffrey Martin
35ec947c17
remove is_server/is_client and app search term
2019-01-31 12:14:25 -06:00
James Barnett
b98133cded
Dont assign unique file name when theres no file on disk
2019-01-25 16:36:17 -06:00
James Barnett
27a0cbfcab
Rename file on disk when updating path attribute
2019-01-25 13:34:14 -06:00
James Barnett
4b87d54430
Add comment explaining why we prevent loot.data update
2019-01-16 15:29:27 -06:00
James Barnett
fd6527bac8
Prepend loot filenames with unique string
...
This should help prevent accidentally overwriting files with the same name
2019-01-16 15:20:41 -06:00
James Barnett
d6462fed63
Dont allow users to update loot.data
2019-01-16 10:01:22 -06:00
James Barnett
65f127a66f
Land #11222 , Display error when update operation has invalid fields
2019-01-10 11:33:22 -06:00
Erin Bleiweiss
0435d7e1d6
Return the updated objects
2019-01-10 11:04:42 -06:00
Erin Bleiweiss
5055e421f5
Add ! to cred update
2019-01-10 10:56:28 -06:00
Erin Bleiweiss
0ad89528ea
Update pattern for creds
2019-01-10 10:55:36 -06:00
Brent Cook
f125526e09
Land #11207 , implement db_import for web service
2019-01-10 10:28:29 -06:00