Skip to content

Commit

Permalink
Merge pull request PhonePe#50 from 0xbharath/tools-update
Browse files Browse the repository at this point in the history
Update multiple tools to their latest versions & deleted redundant tools
  • Loading branch information
Ncoder2 authored Oct 8, 2024
2 parents 5246bb8 + 8e5f3fe commit a814eff
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 72 deletions.
33 changes: 10 additions & 23 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,18 @@ RUN apt-get update --fix-missing && apt install git -y

# Setup work directory
WORKDIR /home/mantis
# Install amass
RUN echo "Installing Amass"
RUN wget https://github.com/owasp-amass/amass/releases/download/v4.1.0/amass_Linux_amd64.zip
RUN unzip amass_Linux_amd64.zip
RUN mv amass_Linux_amd64/amass /usr/bin
RUN rm -rf *

# Install subfinder
# Install subfinder
RUN echo "Installing subfinder"
RUN wget https://github.com/projectdiscovery/subfinder/releases/download/v2.6.3/subfinder_2.6.3_linux_amd64.zip
RUN unzip subfinder_2.6.3_linux_amd64.zip
RUN wget https://github.com/projectdiscovery/subfinder/releases/download/v2.6.6/subfinder_2.6.6_linux_amd64.zip
RUN unzip subfinder_2.6.6_linux_amd64.zip
RUN mv subfinder /usr/bin
RUN rm -rf *

# Install Puredns
RUN echo "Installing Puredns"
RUN wget https://github.com/d3mondev/puredns/releases/download/v2.1.1/puredns-Linux-amd64.tgz
RUN tar -xvf puredns-Linux-amd64.tgz
RUN mv puredns /usr/bin
RUN rm -rf *

# Install HTTPX
RUN echo "Installing HTTPX"
RUN wget https://github.com/projectdiscovery/httpx/releases/download/v1.3.7/httpx_1.3.7_linux_amd64.zip
RUN unzip httpx_1.3.7_linux_amd64.zip
RUN wget https://github.com/projectdiscovery/httpx/releases/download/v1.6.8/httpx_1.6.8_linux_amd64.zip
RUN unzip httpx_1.6.8_linux_amd64.zip
RUN mv httpx /usr/bin
RUN rm -rf *

Expand All @@ -42,9 +29,9 @@ RUN pip install git+https://github.com/cisagov/findcdn.git

# Install Ipinfo
RUN echo "Installing Ipinfo"
RUN wget https://github.com/ipinfo/cli/releases/download/ipinfo-3.1.2/ipinfo_3.1.2_linux_amd64.tar.gz
RUN tar -xvf ipinfo_3.1.2_linux_amd64.tar.gz
RUN mv ipinfo_3.1.2_linux_amd64 ipinfo
RUN wget https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.1/ipinfo_3.3.1_linux_amd64.tar.gz
RUN tar -xvf ipinfo_3.3.1_linux_amd64.tar.gz
RUN mv ipinfo_3.3.1_linux_amd64 ipinfo
RUN mv ipinfo /usr/bin
RUN rm -rf *

Expand All @@ -57,8 +44,8 @@ RUN rm -rf *

# Install nuclei
RUN echo "Installing nuclei"
RUN wget https://github.com/projectdiscovery/nuclei/releases/download/v3.0.4/nuclei_3.0.4_linux_amd64.zip
RUN unzip nuclei_3.0.4_linux_amd64.zip
RUN wget https://github.com/projectdiscovery/nuclei/releases/download/v3.3.4/nuclei_3.3.4_linux_amd64.zip
RUN unzip nuclei_3.3.4_linux_amd64.zip
RUN mv nuclei /usr/bin
RUN rm -rf *

Expand Down
6 changes: 3 additions & 3 deletions configs/local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ workflow:
cmd: []
workflowConfig:
- moduleName : discovery
tools: ['Subfinder', 'Amass']
tools: ['Subfinder']
order: 1
- moduleName: prerecon
tools: ['FindCDN', 'Naabu']
Expand Down Expand Up @@ -34,7 +34,7 @@ workflow:
tools: ['Route53', 'Cloudflare']
order: 1
- moduleName : discovery
tools: ['Subfinder', 'SSLMate', 'Amass']
tools: ['Subfinder', 'SSLMate']
order: 1
- moduleName: prerecon
tools: ['FindCDN', 'Naabu', 'IPinfo']
Expand All @@ -58,7 +58,7 @@ workflow:
cmd: []
workflowConfig:
- moduleName : discovery
tools: ['Subfinder', 'Amass']
tools: ['Subfinder']
order: 1
- moduleName: prerecon
tools: ['FindCDN', 'Naabu']
Expand Down
41 changes: 0 additions & 41 deletions mantis/modules/discovery/Amass.py

This file was deleted.

10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
decorator==5.1.1
motor==3.0.0
motor==3.6.0
netaddr==0.8.0
pydantic==1.10.2
pymongo==4.2.0
pydantic==1.10.13
pymongo==4.9.1
PyYAML==6.0
typing_extensions==4.4.0
validators==0.20.0
Expand All @@ -13,5 +13,5 @@ retry==0.9.2
slack-sdk==3.21.3
rocketry==2.5.1
boto3==1.28.20
tqdm==4.66.1
cloudflare
tqdm==4.66.5
cloudflare

0 comments on commit a814eff

Please sign in to comment.