forked from owtf/owtf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Isolates the OWTF webapp from the complete project (owtf#1277)
* resolves issue owtf#1241 * fix: implement http.cookies * fix:bug with decode * fix: worker logs text * fix: worker logs handling * Revert "fix: worker logs handling" This reverts commit 502608e. * Revert "fix: worker logs text" This reverts commit 8463f3d. * patch:spacings * fix:deprecated dependencies * feat:frontend dockerfile done * chore:frontend bugs fixed * chore:changed docker compose * chore:fixing cors and output file issue * chore: optimizing docker build for owtf-backend * chore:implemented script to setup webapp * fix:fixed formatting issues * feat:frontend dockerfile done * chore:frontend bugs fixed * chore:changed docker compose * chore:fixing cors and output file issue * chore: optimizing docker build for owtf-backend * chore:implemented script to setup webapp * fix:fixed formatting issues * fix:dependency issue * patch:refactored the code * OWTF Kubernetes Deployment Manifests (owtf#1285) * Add kubernetes manifests * Update README.md * Update deploy-script.sh * OWTF-IG comprehensive update on Enumeration and Discovery (owtf#1283) * Added dirsearch, capabilities for nmap, zip, unzip for SecLists * Added capabilities for container in compose file * Added dirsearch and SecLists entries * Force rebuild of new container (for new versions) * Fixing dirsearch virtual env issues. Typo in resources.cfg * Move dirsearch installation from Dockerfile to install script * Fixing tools custom installation * Allow user to build owtf container with and without permissive network capabilities * Adjust tools' configurations and running commands * Fixing requests package version conflict between owtf and dirsearch * feat:frontend dockerfile done * chore:frontend bugs fixed * chore:changed docker compose * chore:fixing cors and output file issue * chore: optimizing docker build for owtf-backend * chore:implemented script to setup webapp * fix:fixed formatting issues * resolves issue owtf#1241 * fix: implement http.cookies * fix:bug with decode * fix: worker logs text * fix: worker logs handling * Revert "fix: worker logs handling" This reverts commit 502608e. * Revert "fix: worker logs text" This reverts commit 8463f3d. * fix:deprecated dependencies * feat:frontend dockerfile done * chore:frontend bugs fixed * chore:changed docker compose * chore:fixing cors and output file issue * chore: optimizing docker build for owtf-backend * chore:implemented script to setup webapp * fix:fixed formatting issues * fix:dependency issue * patch:refactored the code --------- Co-authored-by: Pratham <[email protected]> Co-authored-by: Rahul Surwade <[email protected]> Co-authored-by: Vinh Pham Ngoc Thanh <[email protected]>
- Loading branch information
1 parent
402f8f8
commit 8e7096c
Showing
36 changed files
with
48,376 additions
and
20,895 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
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 |
---|---|---|
|
@@ -4,4 +4,5 @@ repos: | |
hooks: | ||
- id: black | ||
args: [--line-length=120, --safe] | ||
python_version: python3.11 | ||
|
||
python_version: python3.11 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Stage 1: Build the React app | ||
FROM node:18 AS builder | ||
WORKDIR /owtf-webapp | ||
COPY ./owtf/webapp/package.json ./owtf/webapp/yarn.lock ./ | ||
RUN yarn install --silent | ||
COPY ./owtf/webapp . | ||
RUN yarn build | ||
# # Stage 2: Serve the built React app with Nginx | ||
FROM nginx:alpine | ||
COPY ./owtf/webapp/owtf.conf /etc/nginx/conf.d/default.conf | ||
# Copy the built React app to Nginx's web server directory | ||
COPY --from=builder /owtf-webapp/build /usr/share/nginx/html | ||
EXPOSE 8019 | ||
CMD ["nginx", "-g", "daemon off;"] | ||
# Start Nginx when the container runs |
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
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
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
Oops, something went wrong.