-
Notifications
You must be signed in to change notification settings - Fork 245
Implemented searchHashes helper #1647
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements a new SearchHashes helper API endpoint that allows users to search for hashes in their accessible hashlists. The implementation adds both hash and plaintext searching capabilities with support for salted hashes.
- Adds a new SearchHashesHelperAPI class with POST endpoint for hash searching functionality
- Integrates the new helper route into the main API index file
- Provides base64-encoded search input processing with salt separator support
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| src/inc/apiv2/helper/searchHashes.routes.php | New API helper class implementing hash search functionality with both hash and plaintext matching |
| src/api/v2/index.php | Registers the new searchHashes helper route in the API |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
implementing the backend requirements for changes in #1645