-
Notifications
You must be signed in to change notification settings - Fork 16
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
Release/2.1.0 #1
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 task
Lot of crucial fixes: docker/compose@v2.23.0...v2.23.3
Using `make migrate` right away did not work, tried multiple things.
Co-authored-by: AnonymousWP <50231698+AnonymousWP@users.noreply.github.com>
Signed-off-by: Yogesh Ojha <yogesh.ojha11@gmail.com>
- Refactored modal handling by standardizing the use of #modal_dialog and .modal-text for content updates across various JavaScript files. - Enhanced the CMS detection functionality by introducing a new event listener for detecting CMS on subdomains, utilizing data attributes for passing necessary information. - Updated modal dismissal buttons to use data-bs-dismiss for Bootstrap 5 compatibility. - Removed redundant IDs from modal elements in HTML templates to streamline the code and prevent potential conflicts. - Improved the handling of project-specific data by passing the current project slug to relevant functions.
- The changes involve removing duplicate data-bs-dismiss="modal" attributes from the close buttons in multiple modal headers within the top_bar.html template. This ensures that each button has a single data-bs-dismiss attribute, improving code clarity and potentially preventing unexpected behavior.
- Changed the method for setting the modal title from html() to text() to ensure proper handling of text content.
- Updated the jQuery selectors for modal elements in the get_dork_details function to ensure they specifically target elements within the #modal_dialog container. This change enhances the specificity and reliability of the modal rendering process.
refactor: update modal handling and improve CMS detection
The changes refactor the delete functionality across multiple templates and JavaScript files to use URL endpoints instead of constructing URLs manually. This update enhances the maintainability and readability of the code by leveraging Django's URL template tags for generating URLs dynamically.
refactor: update delete functions to use URL endpoints
- Refactored JavaScript functions to use url_endpoint instead of slug for setting form actions, enhancing flexibility in URL handling. - Updated HTML templates to use Django's {% url %} template tag for generating URLs dynamically, improving maintainability. Modified Docker development configuration to enable remote debugging and added a new port mapping. - Adjusted CSS link paths in the notification settings template for better organization. - Changed URL patterns in urls.py for consistency in endpoint naming. - Removed an unnecessary filter in the detail_vuln_scan view function to streamline the code.
- Implemented caching for external IP retrieval in the misc function to reduce unnecessary requests and improve performance. - Added error handling and logging for external IP retrieval failures.
…ternal-ip feat: enhance IP retrieval with caching
refactor: update URL handling
…ros (#211) * build(docker): refactor detection of OS This commit also adds support for RHEL distros * build(install): use functions for installing dependencies * feat(install): enhance installation script with Docker Compose version check and refactor package installation - Refactored the installation script to include a Docker Compose version check, ensuring compatibility with version 2.0.0 or higher. - Consolidated package installation functions into a generic install_package function to streamline the installation process for various packages like nano, curl, and make. - Improved error handling and logging for package installations and Docker setup. * feat(install): enhance Docker and Docker Compose checks in installation script - Added functions to check Docker and Docker Compose installations, including version checks and guidance for installation or upgrade if necessary. - Removed automatic installation of Docker and Docker Compose, replacing it with user guidance for manual installation. - Updated the installation script to ensure Docker is installed and running before proceeding. * fix: improve Docker installation checks and update Makefile - Enhanced the Docker installation script to repeatedly prompt the user until a valid choice is made. - Updated the Makefile to include checks for Docker Compose installation and user permissions, ensuring the user is in the docker group or running as root. * build(install): move pre-req check after env check * build(install): specify color meaning and change some * build(install): provide more specific error information Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> * build(make): use `getent` --------- Co-authored-by: psyray <psyray@users.noreply.github.com> Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
- Enhanced error logging in user management functions by adding descriptive messages for delete, update, and create operations. - Improved file handling in get_cms_details by using a context manager for file operations. - Removed duplicate code in settings.py related to reading the version file. - Standardized error responses in user management functions to provide consistent error messages. - Initialized URL variables in JavaScript modal functions to prevent potential undefined variable issues. - Added a comment to clarify the handling of KeyError in the api_vault_delete function.
…recommendations fix: apply github-advanced-security recommendations
- Updated the wordlist used in startScan.json from dicc.txt to fuzz-Bo0oM.txt for directory scanning commands. - Refactored the configuration in tasks.py to use default wordlist names and paths for Amass and FFUF, improving maintainability. - Modified definitions.py to define default wordlist names and paths for Amass and FFUF, centralizing configuration. - Adjusted default_scan_engines.yaml and default_yaml_config.yaml to remove file extensions from the dir_file_fuzz configuration and set the recursive level to 0. - Updated scanEngine.json configurations to reflect changes in wordlist names and recursive levels, aligning with the new defaults.
- Converted wordlist paths to string format using Path for compatibility. - Changed the default recursive level for FFUF from 2 to 0.
- Added a commented list of file extensions to the default_yaml_config.yaml file for potential future use or reference.
…-heavy refactor: update wordlists and configuration defaults
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.
We failed to fetch the diff for pull request #1
You can try again by commenting this pull request with @sourcery-ai review
, or contact us for help.
psyray
approved these changes
Nov 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
OllamaManager
API class withget
,delete
, andput
methods for managing Ollama models.WafDetector
andCMSDetector
APIs with improved error handling and logging.AddTarget
and bulk target addition.