-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tools): update configuration file paths and directory structure (#…
…224) * refactor: update configuration file paths and directory structure - Modified the directory structure and file paths for configuration files in the Docker setup and application code. - Updated the amass configuration file path to be more organized under a dedicated directory. - Adjusted symbolic links and file handling logic to align with the new directory structure. - Enhanced the update_config function to accommodate the new file naming conventions. * fix: update GAU configuration file path and usage - Updated the path and usage of the GAU configuration file across multiple files to ensure consistency and correct file referencing. - Modified the command map in tasks.py to include the GAU configuration file path. - Adjusted the Dockerfile to copy the GAU configuration file to the correct location and removed unnecessary symbolic link creation. - Updated file path references in views.py and scanEngine/views.py to align with the new GAU configuration file path. * refactor: standardize theHarvester configuration element IDs The changes standardize the casing of the ID and name attributes for the theHarvester configuration text area across JavaScript, HTML, and Python files. This involves updating the ID from theharvester_config_text_area to theHarvester_config_text_area to ensure consistency and improve code readability. * chore: update dependencies & fix theHarvester - Updated several Go-based tool dependencies to their latest versions in the Celery Dockerfile. - Modified the command in tasks.py to remove github-code sources for theHarvester due to this bug. laramies/theHarvester#1857 - Adjusted the column layout in the form_engine.html template to improve UI responsiveness. * fix(docker): correct s3scanner installation reference in Dockerfile Corrected the reference for the s3scanner installation in the Celery Dockerfile to fix a typo in the commit hash.
- Loading branch information
Showing
8 changed files
with
37 additions
and
35 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,17 +112,17 @@ RUN ARCH=$(dpkg --print-architecture) \ | |
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/tomnomnom/gf@dcd4c361f9f5ba302294ed38b8ce278e8ba69006 \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/tomnomnom/[email protected] \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/tomnomnom/[email protected] \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/projectdiscovery/httpx/cmd/[email protected].0 \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/projectdiscovery/subfinder/v2/cmd/[email protected].6 \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@v3.2.6 \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/projectdiscovery/naabu/v2/cmd/[email protected].0 \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/projectdiscovery/httpx/cmd/[email protected].9 \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/projectdiscovery/subfinder/v2/cmd/[email protected].7 \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@v3.3.5 \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/projectdiscovery/naabu/v2/cmd/[email protected].2 \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/hakluke/hakrawler@latest \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/lc/gau/v2/cmd/[email protected].1 \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/lc/gau/v2/cmd/[email protected].4 \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/owasp-amass/amass/v4/[email protected] \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/ffuf/ffuf/[email protected] \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/projectdiscovery/tlsx/cmd/[email protected].6 \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/hahwul/dalfox/[email protected].2 \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/projectdiscovery/katana/cmd/[email protected].0 \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/projectdiscovery/tlsx/cmd/[email protected].8 \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/hahwul/dalfox/[email protected].3 \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/projectdiscovery/katana/cmd/[email protected].1 \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/dwisiswant0/crlfuzz/cmd/[email protected] \ | ||
&& GOARCH=$ARCH go install -ldflags="-s -w" -v github.com/sa7mon/s3scanner@c544f1cf00f70cae3f2155b24d336f515b7c598b \ | ||
&& chmod 700 -R $GOPATH/pkg/* \ | ||
|
@@ -177,12 +177,14 @@ RUN cd $TOOLPATH/.github/OneForAll && mv /home/$USERNAME/oneforall-pyproject.tom | |
cd /home/$USERNAME && poetry install | ||
|
||
# Create tools config files | ||
RUN nuclei -silent && naabu -version && subfinder -version && mkdir -p /home/$USERNAME/.config/theHarvester | ||
RUN nuclei -silent && naabu -version && subfinder -version && \ | ||
mkdir -p /home/$USERNAME/.config/theHarvester && \ | ||
mkdir -p /home/$USERNAME/.config/amass && \ | ||
mkdir -p /home/$USERNAME/.config/gau | ||
COPY --chown=$USERNAME:$USERNAME ./config/the-harvester-api-keys.yaml /home/$USERNAME/.config/theHarvester/api-keys.yaml | ||
COPY --chown=$USERNAME:$USERNAME ./config/amass.ini /home/$USERNAME/.config/amass.ini | ||
COPY --chown=$USERNAME:$USERNAME ./config/.gau.toml /home/$USERNAME/.config/.gau.toml | ||
RUN ln -s /home/$USERNAME/.config/.gau.toml /home/$USERNAME/.gau.toml | ||
|
||
COPY --chown=$USERNAME:$USERNAME ./config/amass.ini /home/$USERNAME/.config/amass/config.ini | ||
COPY --chown=$USERNAME:$USERNAME ./config/gau.toml /home/$USERNAME/.config/gau/config.toml | ||
RUN ln -s /home/$USERNAME/.config/theHarvester /home/$USERNAME/.theHarvester | ||
COPY ./entrypoint.sh /entrypoint.sh | ||
RUN mkdir -p /home/$USERNAME/rengine /home/$USERNAME/scan_results \ | ||
&& chown -R $USERNAME:$USERNAME /home/$USERNAME/rengine \ | ||
|
File renamed without changes.
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
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
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
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
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
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