Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a help command within the interactive query prompt #18930

Merged

Conversation

dwelch-r7
Copy link
Contributor

Adds the ability to run a help command from within the interactive SQL prompt

before:

SQL >> help
SQL *>

After:

SQL >> help
Interactive SQL prompt

You are in an interactive SQL shell where SQL queries can be executed.
To exit, type 'exit', 'quit', 'end' or 'stop'.

Verification Steps

  • boot msfconsole
  • Get a SQL type session
  • drop into an interactive prompt query_interactive
  • run the help command

@sjanusz-r7
Copy link
Contributor

@msjenkins-r7 retest this please

@dwelch-r7 dwelch-r7 force-pushed the add-help-command-to-query-interactive branch from ce378f9 to 2a68e04 Compare March 7, 2024 11:03
@cgranleese-r7 cgranleese-r7 self-assigned this Mar 7, 2024
@cgranleese-r7
Copy link
Contributor

Tested against PostgreSQL 16.1 and works as expected 👍

Before

image

After

image

@cgranleese-r7 cgranleese-r7 merged commit 169ea31 into rapid7:master Mar 7, 2024
34 checks passed
@cgranleese-r7 cgranleese-r7 added the rn-enhancement release notes enhancement label Mar 7, 2024
@cgranleese-r7
Copy link
Contributor

cgranleese-r7 commented Mar 7, 2024

Release Notes

This PR adds the ability to run a help command from within the interactive SQL prompt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn-enhancement release notes enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants