From 9629e40f0437e5b7c88a91f76f594203be915581 Mon Sep 17 00:00:00 2001 From: gitworkflows <118260833+gitworkflows@users.noreply.github.com> Date: Mon, 12 Aug 2024 21:14:00 +0600 Subject: [PATCH 1/7] Update Dockerfile --- web/Dockerfile | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/web/Dockerfile b/web/Dockerfile index 575e43077..6b06b6541 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -5,7 +5,7 @@ ARG GECKOVERSION=0.33.0 ARG GOVERSION=1.21.5 RUN ARCH=$(dpkg --print-architecture) \ - && if [ "${ARCH}" ! "arm64" ] || [ "${ARCH}" ! "amd64" ]; then \ + && if [ "${ARCH}" != "arm64" ] && [ "${ARCH}" != "amd64" ] && [ "${ARCH}" != "armhf" ]; then \ echo "reNgine not supported, encountered unknown architecture: ${TARGETPLATFORM}" \ && exit 1; \ fi @@ -55,16 +55,27 @@ RUN apt install -y --no-install-recommends \ RUN add-apt-repository ppa:mozillateam/ppa -RUN ARCH=$(dpkg --print-architecture) \ - && wget https://go.dev/dl/go${GOVERSION}.linux-${ARCH}.tar.gz \ - && tar -xvf go${GOVERSION}.linux-${ARCH}.tar.gz -C /usr/local \ - && rm go${GOVERSION}.linux-${ARCH}.tar.gz +# Download and install Go +RUN ARCH=$(dpkg --print-architecture) \ + && if [ "${ARCH}" = "arm64" ]; then \ + GOFILE="go${GOVERSION}.linux-arm64.tar.gz"; \ + elif [ "${ARCH}" = "amd64" ]; then \ + GOFILE="go${GOVERSION}.linux-amd64.tar.gz"; \ + elif [ "${ARCH}" = "armhf" ]; then \ + GOFILE="go${GOVERSION}.linux-armv6l.tar.gz"; \ + fi \ + && wget https://go.dev/dl/${GOFILE} \ + && tar -xvf ${GOFILE} -C /usr/local \ + && rm ${GOFILE} +# Download and install Geckodriver RUN ARCH=$(dpkg --print-architecture) \ && if [ "${ARCH}" = "arm64" ]; then \ GECKOPATH="geckodriver-v${GECKOVERSION}-linux-aarch64.tar.gz"; \ elif [ "${ARCH}" = "amd64" ]; then \ GECKOPATH="geckodriver-v${GECKOVERSION}-linux64.tar.gz"; \ + elif [ "${ARCH}" = "armhf" ]; then \ + GECKOPATH="geckodriver-v${GECKOVERSION}-linux-armv7l.tar.gz"; \ fi \ && wget https://github.com/mozilla/geckodriver/releases/download/v${GECKOVERSION}/${GECKOPATH} \ && tar -xvf ${GECKOPATH} \ @@ -79,6 +90,10 @@ RUN pip3 install maturin # Make directory for app WORKDIR /usr/src/app +# Set environment variables +ENV PYTHONDONTWRITEBYTECODE 1 +ENV PYTHONUNBUFFERED 1 + ENV GO111MODULE=on RUN printf "\ github.com/jaeles-project/gospider@latest\n\ From d477084ad38b612a25e9e2f12a7cd15ac327ba46 Mon Sep 17 00:00:00 2001 From: gitworkflows <118260833+gitworkflows@users.noreply.github.com> Date: Mon, 12 Aug 2024 21:46:31 +0600 Subject: [PATCH 2/7] Update Dockerfile --- web/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/Dockerfile b/web/Dockerfile index 6b06b6541..77dcbad09 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -6,7 +6,7 @@ ARG GOVERSION=1.21.5 RUN ARCH=$(dpkg --print-architecture) \ && if [ "${ARCH}" != "arm64" ] && [ "${ARCH}" != "amd64" ] && [ "${ARCH}" != "armhf" ]; then \ - echo "reNgine not supported, encountered unknown architecture: ${TARGETPLATFORM}" \ + echo "reNgine not supported, encountered unknown architecture: ${ARCH}" \ && exit 1; \ fi @@ -122,8 +122,8 @@ RUN nuclei -update-templates # Copy requirements COPY ./requirements.txt /tmp/requirements.txt -RUN pip3 install --upgrade setuptools==72.1.0 -RUN pip3 install -r /tmp/requirements.txt --no-cache-dir +RUN pip3 install --upgrade setuptools==72.1.0 && \ + pip3 install -r /tmp/requirements.txt --no-cache-dir # install eyewitness RUN pip3 install --no-cache-dir fuzzywuzzy \ From 308173c6828e28961a841ba10fe9e2687206ef6b Mon Sep 17 00:00:00 2001 From: gitworkflows <118260833+gitworkflows@users.noreply.github.com> Date: Mon, 12 Aug 2024 22:55:47 +0600 Subject: [PATCH 3/7] Update Dockerfile --- web/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/Dockerfile b/web/Dockerfile index 77dcbad09..fb54e244f 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -75,7 +75,7 @@ RUN ARCH=$(dpkg --print-architecture) \ elif [ "${ARCH}" = "amd64" ]; then \ GECKOPATH="geckodriver-v${GECKOVERSION}-linux64.tar.gz"; \ elif [ "${ARCH}" = "armhf" ]; then \ - GECKOPATH="geckodriver-v${GECKOVERSION}-linux-armv7l.tar.gz"; \ + GECKOPATH="geckodriver-v${GECKOVERSION}-linux-aarch64.tar.gz"; \ fi \ && wget https://github.com/mozilla/geckodriver/releases/download/v${GECKOVERSION}/${GECKOPATH} \ && tar -xvf ${GECKOPATH} \ From 106c08c7b1509b092786e6e2f1ccbf990a357988 Mon Sep 17 00:00:00 2001 From: gitworkflows <118260833+gitworkflows@users.noreply.github.com> Date: Wed, 14 Aug 2024 17:23:59 +0600 Subject: [PATCH 4/7] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Multiple=20imports=20f?= =?UTF-8?q?or=20an=20import=20name=20detected?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/dashboard/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/web/dashboard/views.py b/web/dashboard/views.py index 11c688bfc..8fd208919 100644 --- a/web/dashboard/views.py +++ b/web/dashboard/views.py @@ -8,7 +8,6 @@ from django.contrib.auth import update_session_auth_hash from django.contrib.auth.forms import PasswordChangeForm from django.contrib.auth.signals import user_logged_in, user_logged_out -from django.contrib import messages from django.db.models import Count from django.db.models.functions import TruncDay from django.dispatch import receiver From 783f28ebb36cc44819d79d66f25675a231c9a901 Mon Sep 17 00:00:00 2001 From: gitworkflows <118260833+gitworkflows@users.noreply.github.com> Date: Wed, 14 Aug 2024 17:50:43 +0600 Subject: [PATCH 5/7] Update views.py --- web/dashboard/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/web/dashboard/views.py b/web/dashboard/views.py index 8fd208919..11c688bfc 100644 --- a/web/dashboard/views.py +++ b/web/dashboard/views.py @@ -8,6 +8,7 @@ from django.contrib.auth import update_session_auth_hash from django.contrib.auth.forms import PasswordChangeForm from django.contrib.auth.signals import user_logged_in, user_logged_out +from django.contrib import messages from django.db.models import Count from django.db.models.functions import TruncDay from django.dispatch import receiver From 6c820e527aeca4462d27efb5e3886771c0bd8966 Mon Sep 17 00:00:00 2001 From: gitworkflows <118260833+gitworkflows@users.noreply.github.com> Date: Thu, 15 Aug 2024 12:17:58 +0600 Subject: [PATCH 6/7] Update Dockerfile --- web/Dockerfile | 164 ++++++++++++++++++++++--------------------------- 1 file changed, 73 insertions(+), 91 deletions(-) diff --git a/web/Dockerfile b/web/Dockerfile index fb54e244f..c5c0af4c9 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -1,100 +1,86 @@ # Base image FROM ubuntu:22.04 -ARG GECKOVERSION=0.33.0 +# Arguments for versions +ARG GECKOVERSION=0.35.0 ARG GOVERSION=1.21.5 -RUN ARCH=$(dpkg --print-architecture) \ - && if [ "${ARCH}" != "arm64" ] && [ "${ARCH}" != "amd64" ] && [ "${ARCH}" != "armhf" ]; then \ - echo "reNgine not supported, encountered unknown architecture: ${ARCH}" \ - && exit 1; \ - fi +# Supported architectures +ARG SUPPORTED_ARCH="amd64 arm64 armv6 armv7 armhf i386" -# Labels and Credits -LABEL \ - name="reNgine" \ - author="Yogesh Ojha " \ - description="reNgine is a automated pipeline of recon process, useful for information gathering during web application penetration testing." +# Labels +LABEL name="reNgine" \ + author="Yogesh Ojha " \ + description="reNgine is an automated pipeline for recon processes, useful for information gathering during web application penetration testing." -# Environment Variables +# Environment variables ENV DEBIAN_FRONTEND="noninteractive" \ - DATABASE="postgres" -ENV PYTHONDONTWRITEBYTECODE 1 -ENV PYTHONUNBUFFERED 1 -ENV GOROOT="/usr/local/go" -ENV GOPATH=$HOME/go -ENV PATH="${PATH}:${GOROOT}/bin:${GOPATH}/bin" - -# Install Python -RUN apt update -y && \ - apt install -y \ - python3.10 \ - python3-dev \ - python3-pip - -# Install essential packages -RUN apt install -y --no-install-recommends \ - build-essential \ - cmake \ - geoip-bin \ - geoip-database \ - gcc \ - git \ - libpq-dev \ - libpango-1.0-0 \ - libpangoft2-1.0-0 \ - libpcap-dev \ - netcat \ - nmap \ - x11-utils \ - xvfb \ - wget \ - curl \ - python3-netaddr \ - software-properties-common - -RUN add-apt-repository ppa:mozillateam/ppa - -# Download and install Go + DATABASE="postgres" \ + PYTHONDONTWRITEBYTECODE=1 \ + PYTHONUNBUFFERED=1 \ + HOME="/root" \ + GOROOT="/usr/local/go" \ + GOPATH="/root/go" \ + PATH="$PATH:/usr/local/go/bin:/root/go/bin" \ + GO111MODULE=on + +# Install required packages and add Mozilla Team PPA RUN ARCH=$(dpkg --print-architecture) \ - && if [ "${ARCH}" = "arm64" ]; then \ - GOFILE="go${GOVERSION}.linux-arm64.tar.gz"; \ - elif [ "${ARCH}" = "amd64" ]; then \ - GOFILE="go${GOVERSION}.linux-amd64.tar.gz"; \ - elif [ "${ARCH}" = "armhf" ]; then \ - GOFILE="go${GOVERSION}.linux-armv6l.tar.gz"; \ - fi \ + && echo "$SUPPORTED_ARCH" | grep -qw "$ARCH" || { \ + echo "Unsupported architecture: $ARCH"; exit 1; \ + } \ + && apt update -y \ + && apt install -y --no-install-recommends \ + python3.10 python3-dev python3-pip \ + build-essential cmake geoip-bin geoip-database \ + gcc git libpq-dev libpango-1.0-0 libpangoft2-1.0-0 \ + libpcap-dev netcat nmap x11-utils xvfb wget curl \ + python3-netaddr software-properties-common \ + gpg-agent \ + && add-apt-repository -y ppa:mozillateam/ppa \ + && apt update -y + +# Install Go based on architecture +RUN ARCH=$(dpkg --print-architecture) \ + && case "$ARCH" in \ + arm64) GOFILE="go${GOVERSION}.linux-arm64.tar.gz" ;; \ + amd64) GOFILE="go${GOVERSION}.linux-amd64.tar.gz" ;; \ + armhf|armv6|armv7) GOFILE="go${GOVERSION}.linux-armv6l.tar.gz" ;; \ + i386) GOFILE="go${GOVERSION}.linux-386.tar.gz" ;; \ + *) echo "Unsupported architecture: $ARCH"; exit 1 ;; \ + esac \ && wget https://go.dev/dl/${GOFILE} \ && tar -xvf ${GOFILE} -C /usr/local \ && rm ${GOFILE} -# Download and install Geckodriver -RUN ARCH=$(dpkg --print-architecture) \ - && if [ "${ARCH}" = "arm64" ]; then \ - GECKOPATH="geckodriver-v${GECKOVERSION}-linux-aarch64.tar.gz"; \ - elif [ "${ARCH}" = "amd64" ]; then \ - GECKOPATH="geckodriver-v${GECKOVERSION}-linux64.tar.gz"; \ - elif [ "${ARCH}" = "armhf" ]; then \ - GECKOPATH="geckodriver-v${GECKOVERSION}-linux-aarch64.tar.gz"; \ - fi \ - && wget https://github.com/mozilla/geckodriver/releases/download/v${GECKOVERSION}/${GECKOPATH} \ - && tar -xvf ${GECKOPATH} \ - && rm ${GECKOPATH} \ - && mv geckodriver /usr/bin +# Install Geckodriver based on architecture +RUN ARCH=$(dpkg --print-architecture) \ + && case "$ARCH" in \ + arm64) GECKOPATH="geckodriver-v${GECKOVERSION}-linux-aarch64.tar.gz" \ + GECKOREPO="https://github.com/khulnasoft-lab/geckodriver/releases/download/v${GECKOVERSION}/${GECKOPATH}" ;; \ + armv7l) GECKOPATH="geckodriver-v${GECKOVERSION}-linux-armv7l.tar.gz" \ + GECKOREPO="https://github.com/khulnasoft-lab/geckodriver/releases/download/v${GECKOVERSION}/${GECKOPATH}" ;; \ + amd64) GECKOPATH="geckodriver-v${GECKOVERSION}-linux64.tar.gz" ;; \ + armhf|armv6|i386) GECKOPATH="geckodriver-v${GECKOVERSION}-linux32.tar.gz" ;; \ + *) echo "Unsupported architecture: $ARCH"; exit 1 ;; \ + esac \ + && wget ${GECKOREPO:-https://github.com/mozilla/geckodriver/releases/download/v${GECKOVERSION}/${GECKOPATH}} \ + && tar -xvf ${GECKOPATH} -C /usr/local/bin \ + && rm ${GECKOPATH} # Install Rust for orjson -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y -ENV PATH="/root/.cargo/bin:${PATH}" +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \ + && echo "source $HOME/.cargo/env" >> $HOME/.bashrc + +ENV PATH="/root/.cargo/bin:$PATH" + +# Install Maturin for Python bindings RUN pip3 install maturin -# Make directory for app +# Set working directory WORKDIR /usr/src/app -# Set environment variables -ENV PYTHONDONTWRITEBYTECODE 1 -ENV PYTHONUNBUFFERED 1 - -ENV GO111MODULE=on +# Install Go tools RUN printf "\ github.com/jaeles-project/gospider@latest\n\ github.com/tomnomnom/gf@latest\n\ @@ -113,24 +99,20 @@ RUN printf "\ github.com/projectdiscovery/katana/cmd/katana@latest\n\ github.com/dwisiswant0/crlfuzz/cmd/crlfuzz@latest\n\ github.com/sa7mon/s3scanner@latest\n" | \ - xargs -L1 go install -ldflags="-s -w" -v && \ - rm -rf /go/pkg/* && rm -rf /root/.cache/go-build - + xargs -L1 go install -ldflags="-s -w" -v \ + && rm -rf /go/pkg/* /root/.cache/go-build # Update Nuclei and Nuclei-Templates RUN nuclei -update-templates -# Copy requirements +# Install Python dependencies COPY ./requirements.txt /tmp/requirements.txt -RUN pip3 install --upgrade setuptools==72.1.0 && \ - pip3 install -r /tmp/requirements.txt --no-cache-dir +RUN pip3 install --upgrade setuptools==72.1.0 \ + && pip3 install -r /tmp/requirements.txt --no-cache-dir -# install eyewitness -RUN pip3 install --no-cache-dir fuzzywuzzy \ - selenium==4.9.1 \ - python-Levenshtein \ - pyvirtualdisplay \ - netaddr +# Install eyewitness dependencies +RUN pip3 install --no-cache-dir \ + fuzzywuzzy selenium==4.9.1 python-Levenshtein pyvirtualdisplay netaddr -# Copy source code +# Copy application code COPY . /usr/src/app/ From 5fc39196053499c22c40f80fc1a70717e6f77939 Mon Sep 17 00:00:00 2001 From: gitworkflows <118260833+gitworkflows@users.noreply.github.com> Date: Sat, 19 Oct 2024 09:17:42 +0600 Subject: [PATCH 7/7] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20This=20code=20now=20su?= =?UTF-8?q?pports=20the=20amd64,arm64,armv6,armv7,armhf,i386=20arch?= =?UTF-8?q?=E2=80=A6=20(#1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ♻️ This code now supports the amd64,arm64,armv6,armv7,armhf,i386 architecture, referring to it as armhf in the context of Ubuntu's architecture naming. * Update views.py * Update Dockerfile * Update Dockerfile * 🔇 Useless `return` remove --- web/Dockerfile | 110 +++++++++++++++++++++++-------------------- web/reNgine/tasks.py | 5 -- 2 files changed, 58 insertions(+), 57 deletions(-) diff --git a/web/Dockerfile b/web/Dockerfile index 22f3e68b1..5440b3823 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -15,60 +15,66 @@ LABEL name="reNgine" \ # Environment variables ENV DEBIAN_FRONTEND="noninteractive" \ - DATABASE="postgres" -ENV PYTHONDONTWRITEBYTECODE 1 -ENV PYTHONUNBUFFERED 1 -ENV GOROOT="/usr/local/go" -ENV GOPATH=$HOME/go -ENV PATH="${PATH}:${GOROOT}/bin:${GOPATH}/bin" - -# Install Python -RUN apt update -y && \ - apt install -y \ - python3.10 \ - python3-dev \ - python3-pip - -# Install essential packages -RUN apt install -y --no-install-recommends \ - build-essential \ - cmake \ - geoip-bin \ - geoip-database \ - gcc \ - git \ - libpq-dev \ - libpango-1.0-0 \ - libpangoft2-1.0-0 \ - libpcap-dev \ - netcat \ - nmap \ - x11-utils \ - xvfb \ - wget \ - curl \ - python3-netaddr \ - software-properties-common - -RUN add-apt-repository ppa:mozillateam/ppa - -RUN ARCH=$(dpkg --print-architecture) \ - && curl -L https://go.dev/dl/go${GOVERSION}.linux-${ARCH}.tar.gz | tar -xzC /usr/local - -RUN ARCH=$(dpkg --print-architecture) \ - && if [ "${ARCH}" = "arm64" ]; then \ - GECKOPATH="geckodriver-v${GECKOVERSION}-linux-aarch64.tar.gz"; \ - elif [ "${ARCH}" = "amd64" ]; then \ - GECKOPATH="geckodriver-v${GECKOVERSION}-linux64.tar.gz"; \ - fi \ - && wget https://github.com/mozilla/geckodriver/releases/download/v${GECKOVERSION}/${GECKOPATH} \ - && tar -xvf ${GECKOPATH} \ - && rm ${GECKOPATH} \ - && mv geckodriver /usr/bin + DATABASE="postgres" \ + PYTHONDONTWRITEBYTECODE=1 \ + PYTHONUNBUFFERED=1 \ + HOME="/root" \ + GOROOT="/usr/local/go" \ + GOPATH="/root/go" \ + PATH="$PATH:/usr/local/go/bin:/root/go/bin" \ + GO111MODULE=on + +# Install required packages and add Mozilla Team PPA +RUN ARCH=$(dpkg --print-architecture) \ + && echo "$SUPPORTED_ARCH" | grep -qw "$ARCH" || { \ + echo "Unsupported architecture: $ARCH"; exit 1; \ + } \ + && apt update -y \ + && apt install -y --no-install-recommends \ + python3.10 python3-dev python3-pip \ + build-essential cmake geoip-bin geoip-database \ + gcc git libpq-dev libpango-1.0-0 libpangoft2-1.0-0 \ + libpcap-dev netcat nmap x11-utils xvfb wget curl \ + python3-netaddr software-properties-common \ + gpg-agent \ + && add-apt-repository -y ppa:mozillateam/ppa \ + && apt update -y + +# Install Go based on architecture +RUN ARCH=$(dpkg --print-architecture) \ + && case "$ARCH" in \ + arm64) GOFILE="go${GOVERSION}.linux-arm64.tar.gz" ;; \ + amd64) GOFILE="go${GOVERSION}.linux-amd64.tar.gz" ;; \ + armhf|armv6|armv7) GOFILE="go${GOVERSION}.linux-armv6l.tar.gz" ;; \ + i386) GOFILE="go${GOVERSION}.linux-386.tar.gz" ;; \ + *) echo "Unsupported architecture: $ARCH"; exit 1 ;; \ + esac \ + && wget https://go.dev/dl/${GOFILE} \ + && tar -xvf ${GOFILE} -C /usr/local \ + && rm ${GOFILE} + +# Install Geckodriver based on architecture +RUN ARCH=$(dpkg --print-architecture) \ + && case "$ARCH" in \ + arm64) GECKOPATH="geckodriver-v${GECKOVERSION}-linux-aarch64.tar.gz" \ + GECKOREPO="https://github.com/khulnasoft-lab/geckodriver/releases/download/v${GECKOVERSION}/${GECKOPATH}" ;; \ + armv7l) GECKOPATH="geckodriver-v${GECKOVERSION}-linux-armv7l.tar.gz" \ + GECKOREPO="https://github.com/khulnasoft-lab/geckodriver/releases/download/v${GECKOVERSION}/${GECKOPATH}" ;; \ + amd64) GECKOPATH="geckodriver-v${GECKOVERSION}-linux64.tar.gz" ;; \ + armhf|armv6|i386) GECKOPATH="geckodriver-v${GECKOVERSION}-linux32.tar.gz" ;; \ + *) echo "Unsupported architecture: $ARCH"; exit 1 ;; \ + esac \ + && wget ${GECKOREPO:-https://github.com/mozilla/geckodriver/releases/download/v${GECKOVERSION}/${GECKOPATH}} \ + && tar -xvf ${GECKOPATH} -C /usr/local/bin \ + && rm ${GECKOPATH} # Install Rust for orjson -RUN set -e; curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y -ENV PATH="/root/.cargo/bin:${PATH}" +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \ + && echo "source $HOME/.cargo/env" >> $HOME/.bashrc + +ENV PATH="/root/.cargo/bin:$PATH" + +# Install Maturin for Python bindings RUN pip3 install maturin # Set working directory diff --git a/web/reNgine/tasks.py b/web/reNgine/tasks.py index 3fc3e5b89..cd31040b9 100644 --- a/web/reNgine/tasks.py +++ b/web/reNgine/tasks.py @@ -2109,9 +2109,6 @@ def vulnerability_scan(self, urls=[], ctx={}, description=None): logger.info('Vulnerability scan completed...') - # return results - return None - @app.task(name='nuclei_individual_severity_module', queue='main_scan_queue', base=RengineTask, bind=True) def nuclei_individual_severity_module(self, cmd, severity, enable_http_crawl, should_fetch_gpt_report, ctx={}, description=None): ''' @@ -2516,8 +2513,6 @@ def nuclei_scan(self, urls=[], ctx={}, description=None): logger.info('Vulnerability scan with all severities completed...') - return None - @app.task(name='dalfox_xss_scan', queue='main_scan_queue', base=RengineTask, bind=True) def dalfox_xss_scan(self, urls=[], ctx={}, description=None): """XSS Scan using dalfox