recon-ng icon indicating copy to clipboard operation
recon-ng copied to clipboard

module search gives help when it shouldn't

Open digininja opened this issue 6 years ago • 5 comments

When the search is used correctly, it gives the reply to say nothing is found, but then still dumps out the usage information:

[recon-ng][default] > modules search email
[*] Searching installed modules for 'email'...
[!] No modules found.
Searches installed modules

Usage: modules search [<regex>]

digininja avatar Nov 05 '19 12:11 digininja

I believe I have it set up where any time the user doesn't get search results, it reminds the user how the search interface works just in case they forgot to use regex.

lanmaster53 avatar Nov 06 '19 05:11 lanmaster53

Fair enough if it is deliberate, I just didn't expect help info when it looked like I'd used the function correctly.

On Wed, 6 Nov 2019 at 05:22, lanmaster53 [email protected] wrote:

I believe I have it set up where any time the user doesn't get search results, it reminds the user how the search interface works just in case they forgot to use regex.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lanmaster53/recon-ng/issues/45?email_source=notifications&email_token=AAA4SWKHLX3PPCGISWKSOPTQSJIAZA5CNFSM4JJBZDS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDFJ2EQ#issuecomment-550149394, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4SWNAWZFE27FEYQQLVQLQSJIAZANCNFSM4JJBZDSQ .

digininja avatar Nov 06 '19 14:11 digininja

You're right though. I plan to look at the logic and figure out of there is a less jarring way to achieve the same goal. Thanks for the feedback.

lanmaster53 avatar Nov 07 '19 03:11 lanmaster53

Want this closing or left open as a reminder?

digininja avatar Nov 07 '19 09:11 digininja

Leave it open for now. Thanks.

lanmaster53 avatar Nov 08 '19 04:11 lanmaster53