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

Use first module with enabled hierarchical search #18655

Conversation

adfoster-r7
Copy link
Contributor

@adfoster-r7 adfoster-r7 commented Jan 3, 2024

When the hierarchical search functionality is enabled, and only one module result is found - the module will automatically be used

before

The module isn't selected

image

After

The module is selected:

Matching Modules
================

   #  Name                                   Disclosure Date  Rank    Check  Description
   -  ----                                   ---------------  ----    -----  -----------
   0  auxiliary/admin/kerberos/forge_ticket  .                normal  No     Kerberos Silver/Golden/Diamond/Sapphire Ticket Forging
   1    \_ action: FORGE_DIAMOND             .                .       .      Forge a Diamond Ticket
   2    \_ action: FORGE_GOLDEN              .                .       .      Forge a Golden Ticket
   3    \_ action: FORGE_SAPPHIRE            .                .       .      Forge a Sapphire Ticket
   4    \_ action: FORGE_SILVER              .                .       .      Forge a Silver Ticket
   5    \_ AKA: Ticketer                     .                .       .      .
   6    \_ AKA: Klist                        .                .       .      .


Interact with a module by name or index. For example info 6, use 6 or use auxiliary/admin/kerberos/forge_ticket

[*] Using auxiliary/admin/kerberos/forge_ticket
msf6 auxiliary(admin/kerberos/forge_ticket) > 

Verification

  • Ensure use forge_ticket selects the first module

@cgranleese-r7 cgranleese-r7 self-assigned this Jan 12, 2024
@cgranleese-r7
Copy link
Contributor

Worked as expected 👍

Before

image

After

image

@cgranleese-r7 cgranleese-r7 added the rn-fix release notes fix label Jan 12, 2024
@cgranleese-r7 cgranleese-r7 merged commit c0e02bd into rapid7:master Jan 12, 2024
35 checks passed
@cgranleese-r7
Copy link
Contributor

Release Notes

Fix added for when the hierarchical search functionality is enabled, and only one module result is found - the module will automatically be used.

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

Successfully merging this pull request may close these issues.

None yet

2 participants