diff --git a/web/Dockerfile b/web/Dockerfile index 34a86fd87..ff1665768 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -48,9 +48,9 @@ RUN apt install -y --no-install-recommends \ RUN add-apt-repository ppa:mozillateam/ppa # Download and install go 1.20 -RUN wget https://golang.org/dl/go1.20.linux-amd64.tar.gz -RUN tar -xvf go1.20.linux-amd64.tar.gz -RUN rm go1.20.linux-amd64.tar.gz +RUN wget https://golang.org/dl/go1.21.4.linux-amd64.tar.gz +RUN tar -xvf go1.21.4.linux-amd64.tar.gz +RUN rm go1.21.4.linux-amd64.tar.gz RUN mv go /usr/local # Download geckodriver @@ -74,7 +74,7 @@ RUN go install -v github.com/tomnomnom/unfurl@latest RUN go install -v github.com/tomnomnom/waybackurls@latest RUN go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest RUN go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest -RUN go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest +RUN go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest RUN go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest RUN go install -v github.com/hakluke/hakrawler@latest RUN go install -v github.com/lc/gau/v2/cmd/gau@latest diff --git a/web/dashboard/views.py b/web/dashboard/views.py index e214af4b1..f444ba368 100644 --- a/web/dashboard/views.py +++ b/web/dashboard/views.py @@ -368,13 +368,13 @@ def onboarding(request): context['error'] = error # check is any projects exists, then redirect to project list else onboarding - projects = Project.objects.all() + project = Project.objects.first() context['openai_key'] = OpenAiAPIKey.objects.first() context['netlas_key'] = NetlasAPIKey.objects.first() - if len(projects): - slug = projects[0].slug + if projects: + slug = project.slug return HttpResponseRedirect(reverse('dashboardIndex', kwargs={'slug': slug})) return render(request, 'dashboard/onboarding.html', context) diff --git a/web/scanEngine/templates/scanEngine/lookup.html b/web/scanEngine/templates/scanEngine/lookup.html index ab9056282..0ec91cded 100644 --- a/web/scanEngine/templates/scanEngine/lookup.html +++ b/web/scanEngine/templates/scanEngine/lookup.html @@ -47,7 +47,7 @@

Custom Keywords

{{ form.keywords }} {# hidden value #} {{ form.custom_type }} - Press comma , to separate the keywords. + Please use a comma (,) to separate the keywords.

Lookup in

{{form.url_lookup}}