cgranleese-r7
9b2b042e19
Land #18875 , Add conditional option validation depending on SESSION/RHOST connection
2024-03-04 17:36:52 +00:00
Dean Welch
244e20a3d5
Update expected error in tests
2024-02-23 12:47:48 +00:00
adfoster-r7
d76dd4a7fb
Improve visual indentation logic for tables
2024-02-22 14:43:29 +00:00
Dean Welch
175d584ff7
Consolidate option dump remove condition datastore condition on tests
2024-02-20 14:09:17 +00:00
h00die
ec8ee2814a
fix spelling in spec folder
2024-01-07 13:42:50 -05:00
adfoster-r7
02c892c3fc
Add hierarchical search table support
2023-11-30 16:32:29 +00:00
Zach Goldman
8331f4d2ad
Adds wiki guide for session searching
...
Also tweaks an error message
add readme to directory
2023-10-23 15:33:53 -05:00
dwelch-r7
7baabd08db
Land #18364 , Add support for filtering sessions
2023-10-19 16:40:42 +01:00
Zach Goldman
b4b73529d3
add -e flag for stale sessions
...
remove single flag
pivot to search flag
added support for search session type
adds search session id support
remove stale references
reshuffle code
fix time parsing, add command support
fix search list, reduce duplicated code
testing added
killall with search lists table of killed sessions
sessions are no longer represented by ids
addresses feedback on code structure and search behavior
some test reshuffling, switch raised errors to printed ones
add checkin validation, rest of cmd_sessions tests
add time parsing test
refactoring
test reformatting and adjusted error validation
make error handling more explicit, add test context
fixes
sub quotes, make constant
rubocopping
switch before and after to greater than and less than
mbetter incorporate constants
update example
2023-10-19 09:41:18 -05:00
manishkumarr1017
87582ee5c9
PR Review changes
2023-06-23 13:14:48 +05:30
manishkumarr1017
4aea945be3
fixing the failed specs by keeping the exact output necessary
2023-03-18 23:24:00 +05:30
manishkumarr1017
02608a4e12
adding extra specs for the new enhancement and optimizing the queries
2023-03-18 23:04:55 +05:30
manishkumarr1017
dc97b33f4a
Merge branch 'rapid7:master' into add_new_column_in_creds
2023-03-18 20:45:41 +05:30
Dean Welch
db343e629d
Fix remaining hardcoded timezones in tests
2023-03-13 13:16:12 -04:00
manishkumarr1017
60113f74b7
fixing spec files for creds command new enhancements
2023-03-01 23:27:18 +05:30
Dean Welch
c143124344
Add feature to set the status of ticket/ccache via klist
2023-01-25 13:28:43 +00:00
adfoster-r7
6f9ebe4068
Add klist command
2022-12-16 13:02:39 +00:00
adfoster-r7
3a281234df
Add feature flagged datastore rewrite, with support for option fallback lookups
2022-09-16 12:59:02 +01:00
Grant Willcox
778ee0ed06
Add in updated spec tests
2022-07-28 15:51:00 -05:00
entity0xfe
488d361721
Fix --tag for 'hosts' -t | --tag command
...
Enable parsing of the -t argument
2022-07-26 11:39:38 -05:00
Spencer McIntyre
c388499acf
Suggest a correct datastore option
2022-07-18 09:32:45 -04:00
sjanusz
786084bacb
Add custom color styler tests
2022-05-19 17:01:55 +01:00
adfoster-r7
76ede9ef8f
Add ruby 3.1 support
2022-03-24 21:59:02 +00:00
Spencer McIntyre
5c5340b6fd
Fix the hosts command's --search flag
2022-03-09 18:17:09 -05:00
adfoster-r7
79761c942c
Ignore iterating multiple rhosts if option not registered
2022-03-08 17:52:42 +00:00
sjanusz
158a0aa30c
Change custom parser to Rex, add custom opt, add tabcomplete
2022-01-19 13:01:33 +00:00
adfoster-r7
c0ba4bd619
Add kubernetes enum module
2021-10-21 11:01:25 +01:00
adfoster-r7
3b23951d62
Correctly handle inline payloads being set via datastore options, i.e. run payload=xyz
2021-09-02 13:00:05 +01:00
adfoster-r7
13a5d314de
Add test for payload option validation
2021-09-02 13:00:03 +01:00
Alan Foster
a11e303f85
Support spaces in rhost values
2021-09-02 13:00:03 +01:00
Alan Foster
07af90c5a7
Fix replicant edgecase
2021-09-02 13:00:02 +01:00
Alan Foster
112f43f798
Consolidate module argument parsing for ensuring consistency
2021-09-02 13:00:02 +01:00
dwelch-r7
ef0d68cb8e
Land #15572 , Correctly handle quoted console options and whitespace
2021-09-02 12:55:39 +01:00
Grant Willcox
2f0ecc4c28
Land #15623 , Creds command improvements
2021-09-01 17:06:57 -05:00
Spencer McIntyre
e779d1286f
Update the spec for a bad -t option
2021-08-30 16:11:01 -04:00
adfoster-r7
5837ceb03d
Escape paths and perform consistent autocompletion of quoted strings
2021-08-23 12:07:45 +01:00
adfoster-r7
ef6c743452
Correctly handle quoted console options and whitespace
2021-08-23 12:07:40 +01:00
dwelch-r7
8f51663545
Default simplify_module to not load_saved_config and update all references
2021-08-19 13:04:26 +01:00
sjanusz
8cb3731e46
Add support for negative session and job ids
2021-07-30 10:22:44 +01:00
Spencer McIntyre
291544dec2
Update the necessary unit tests
2021-07-19 16:00:07 -04:00
Alan Foster
e5241b412a
Add tests for aux and exploit cmd_check and cmd_run
2021-07-08 17:32:52 +01:00
cgranleese-r7
7e2485260f
Fixes meterpreter tab completion issue
2021-04-28 10:52:05 +01:00
Alan Foster
12c5dd6f44
Fix db connection support for rpc service
2021-04-02 05:30:34 +01:00
Alan Foster
d63ff8a559
Fix search command for single characters
2021-03-22 19:02:31 +00:00
Alan Foster
45e22d53d2
Re-add color to search command
2021-02-24 16:28:45 +00:00
Alan Foster
f3ce9082b6
Enable word wrapped rex tables by default
2021-02-19 13:23:31 +00:00
dwelch-r7
b816373b94
remove msf/ui requires
2021-01-18 14:21:54 +00:00
Adam Galway
04903daa4c
highlights search text & color codes module ranks
2020-03-23 17:42:17 +00:00
Adam Galway
607b7ae5ae
moves logic for bad paths to common.rb
2020-03-04 10:41:19 +00:00
Brent Cook
42c0a3b96a
deprecate the db_rebuild_cache command, add reload_search
...
For a while, Metasploit has not used the old database-backed module cache in favor of the lightweight JSON data store. This also means that the db_rebuild_cache command has been broken.
While the base module cache usually stays up to date, if you delete a module as a developer, there's currently no great way to make the search function forget about that module unless you rebuild the cache manually (a procedure mostly documented inside of an automated build job).
This moves the logic from that build job into the a new reload_search command, and deprecates the old one.
2019-06-29 03:36:39 -05:00