-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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 "privileged" to supported search columns #18990
Comments
I don't think the metadata for this privileged field will always be accurate as it's user implemented and may not always be right. The definition isn't quite aligned with what you are asking for: #
# Returns whether or not the module requires or grants high privileges.
#
def privileged?
privileged == true
end However, pull requests are welcome. You can see an example of adding additional search logic here: #18361 |
An easy test to verify that it works:
Should return:
While:
Should return empty |
We need to modify |
It seems that you need to remove the store to get things indexed:
|
@adfoster-r7 how can I get the modules_metadata updated with the Is there a way to populate the JSON file? |
Summary
Allow the user to filter search results based on privileged value (Yes|No)
Basic example
search type:exploit priviliged:no
Motivation
Means user doesn't have to view info on each entry in list to find an exploit where they don't need privileges - saves time.
The text was updated successfully, but these errors were encountered: