Skip to content

Commit

Permalink
Merge pull request #1071 from yogeshojha/release/2.0.1
Browse files Browse the repository at this point in the history
Fixes for #1033, #1026, #1027
  • Loading branch information
AnonymousWP authored Nov 23, 2023
2 parents 6c1ec31 + 7cc52a4 commit b190060
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions web/dashboard/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion web/scanEngine/templates/scanEngine/lookup.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h4 class="header-title mt-3">Custom Keywords</h4>
{{ form.keywords }}
{# hidden value #}
{{ form.custom_type }}
<span class="text-danger">Press comma , to separate the keywords.</span>
<span class="text-muted">Please use a comma (,) to separate the keywords.</span>
<h4 class=" header-title mt-3">Lookup in</h4>
<div class="form-check mb-2 form-check-primary">
{{form.url_lookup}}
Expand Down

0 comments on commit b190060

Please sign in to comment.