Commit Graph

47 Commits

Author SHA1 Message Date
adfoster-r7 a60e048e78 Fix msfrpc hanging when updating saved command history 2023-09-15 12:42:40 +01:00
adfoster-r7 449af8daa7 Fix broken msfconsole histories when switching between shell sessions 2023-07-27 16:12:57 +01:00
adfoster-r7 2d87447db7 Fix time command bug when running complex commands 2023-06-14 18:01:47 +01:00
wvu 00451e3aec Improve help for "edit" and "log" commands
Talking about `LocalEditor` and `LocalPager`.
2023-05-25 23:22:54 -05:00
adfoster-r7 dd576dd860 Update debug command to correctly output datastore values 2023-03-21 14:02:30 +00:00
adfoster-r7 6f6559dc2c Update the reload_lib command to continue reloading the remaining files if a single file fails to load 2023-03-16 11:41:00 +00:00
cgranleese-r7 ef28a963bf Adds error handling for users who do not have git available on their machine 2022-11-11 13:33:39 +00:00
cgranleese-r7 073e91ff93 Improves the reload_lib -a commands ability to track modified files 2022-11-04 14:28:58 +00:00
adfoster-r7 b286e85479 Add profiler options to the time command 2022-08-31 20:31:21 +01:00
dwelch-r7 e1ccd178ff Land #16141, Add service manager commands to msfconsle 2022-03-04 13:47:46 +00:00
adfoster-r7 f29ff681f7 Rename to _servicemanager and hide behind a feature flag 2022-03-04 12:45:15 +00:00
adfoster-r7 5ee44bcdb7 Ignore reload lib spec helper file 2022-02-25 12:38:03 +00:00
adfoster-r7 5647e1a94f Add service manager commands to msfconsle 2022-02-02 22:26:41 +00:00
sjanusz 063c3936a9 Add support for long arguments to Rex Parser 2021-12-14 17:45:56 +00:00
Spencer McIntyre f2b69a559b Add and use a #with_context method 2021-05-27 20:08:09 +05:30
pingport80 eed82f5d17 add 'name' key to history contexts 2021-05-27 20:02:48 +05:30
pingport80 26f4d66897 add history_manager support for meterpreter 2021-05-27 20:02:38 +05:30
pingport80 ae74c44436 add history manager and fix pry history issue using that 2021-05-27 20:02:28 +05:30
Alan Foster 9bb8eaaded Add time command 2021-03-23 16:45:29 +00:00
Alan Foster 5970984563 Ignore tests when reloading files 2020-08-12 17:10:08 +01:00
William Vu 2b7a77a0f4 Add tab completion to analyze command 2019-05-23 14:36:54 -05:00
William Vu 938139d23c Add vi and more for hysterical raisins 2018-10-05 14:21:44 -05:00
William Vu 25147c49e8 Bump fallback pager in log command to tail -n 50
24 is never enough. Unless you're Jack Bauer.

(The 24 comes from the VT100. :)
2018-10-05 14:05:54 -05:00
William Vu 0686c76cd5 Restore help on empty args for reload_lib 2018-09-27 23:21:43 -05:00
William Vu 11538bcd4f Remove pathspec due to vague errors
"error: Could not access '*.rb'" is printed when not a repo. We fall
back on reload_file's checks, once again. :(
2018-09-27 22:12:56 -05:00
William Vu ab56ac6655 Refactor and clean up reload_lib -a and others 2018-09-27 22:11:22 -05:00
Erin Bleiweiss 3ca95933a1 Update help text. 2018-09-27 13:13:25 -05:00
Erin Bleiweiss 64c86ef4de Add support for working outside install directory 2018-09-27 13:05:23 -05:00
Erin Bleiweiss 7ba73ef658 Check for valid files in git command 2018-09-27 12:01:04 -05:00
Erin Bleiweiss c5c1706636 Acutally, get rid of git? check 2018-09-27 11:14:01 -05:00
Erin Bleiweiss 7f9b9be78b Allow git? to return true 2018-09-27 11:12:10 -05:00
Erin Bleiweiss 0e2361d675 Use friendly error messages and also Open3.capture2e 2018-09-26 18:49:07 -05:00
Erin Bleiweiss 79c26bce08 Add a more comprehensive git check 2018-09-26 18:32:52 -05:00
Erin Bleiweiss 173f570812 Check for presence of git directory 2018-09-26 18:29:49 -05:00
Erin Bleiweiss 71cb3e8e94 Use OptionParser 2018-09-26 18:08:46 -05:00
Erin Bleiweiss f8984c4f9b Rename function, change args from to 2018-09-26 17:55:43 -05:00
Erin Bleiweiss 0b48d2371d Add error handling for non-git situations 2018-09-26 17:32:40 -05:00
Erin Bleiweiss b3053020d1 Update help docs 2018-09-26 17:23:46 -05:00
Erin Bleiweiss eeee289e2f Add command to reload all files changed as per git diff 2018-09-26 17:16:46 -05:00
William Vu fb032745a1 Print nicely about what object you're in 2018-09-21 16:03:48 -05:00
William Vu 7c000c6692 Add pry -h 2018-09-21 16:03:37 -05:00
William Vu e955e8dc15 Clean up code
And hope I didn't break anything.
2018-08-24 18:05:52 -05:00
Green-m 6d84d3bfec Add tabs auto completion for irb. 2018-08-23 23:29:12 -04:00
William Vu 89a3a265d2 Move the built-in irb command while we're at it 2018-08-07 21:32:30 -05:00
William Vu 68a7761f68 Move built-in pry command to developer dispatcher
We also fall back on prying Framework if a module isn't active.

This fixes the following bad behavior:

msf5 > pry
[*] exec: pry

And then your input gets stolen.
2018-08-07 21:17:22 -05:00
William Vu 39e381049a Remove unnecessary include 2018-07-17 15:36:23 -05:00
William Vu 59278aef99 Add command dispatcher for developer commands 2018-07-17 15:07:50 -05:00