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

Add search command CSV output option #9954

Merged
merged 3 commits into from
Apr 30, 2018

Conversation

mkienow-r7
Copy link
Contributor

@mkienow-r7 mkienow-r7 commented Apr 30, 2018

Adds an option to output the results of the search command to a CSV file. In addition, this removes code related to the deprecated and removed search command arguments -r and -t, and the long argument --search that won't be processed by the Rex::Parser::Arguments.parse method.

Verification

  • Start msfconsole
  • Search for modules with a CVE ID that contains 2018: search cve:2018
  • Search for modules with a CVE ID that contains 2018 and write the output to a CSV file: search -o <file> cve:2018
  • Verify the search command results that were output to the console contain the same entries output to the specified file

@busterb
Copy link
Member

busterb commented Apr 30, 2018

LGTM, thanks @mkienow-r7

@busterb busterb merged commit cb8131a into rapid7:master Apr 30, 2018
@tdoan-r7
Copy link
Contributor

Release Notes

The search command now has an option to output the results to a CSV file.

@tdoan-r7 tdoan-r7 added the rn-enhancement release notes enhancement label May 17, 2018
@mkienow-r7 mkienow-r7 deleted the add-search-cmd-csv-output-option branch May 25, 2018 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy enhancement rn-enhancement release notes enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants