-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsynack.sh
67 lines (53 loc) · 2.08 KB
/
synack.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/bash
export ME=$(whoami | tr -d '\n')
sudo apt update
sudo apt install aptitude
sudo chown -R $ME: /opt/
sudo aptitude install zsh
sudo aptitude install sublime-text
sudo aptitude install crunch
git clone https://github.com/sqlmapproject/sqlmap.git /opt/sqlmap
git clone https://github.com/danielmiessler/SecLists.git /opt/SecLists
cd ~/Downloads/
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall && rm msfinstall
pwd
wget -q https://github.com/projectdiscovery/httpx/releases/download/v1.2.7/httpx_1.2.7_linux_amd64.zip
sleep 1
unzip httpx_1.2.7_linux_amd64.zip
rm ~/Downloads/httpx_1.2.7_linux_amd64.zip &
rm ~/Downloads/LICENSE.md &
rm ~/Downloads/README.md &
mv ~/Downloads/httpx /opt/httpx
file /opt/httpx
wget -q https://github.com/projectdiscovery/nuclei/releases/download/v2.8.9/nuclei_2.8.9_linux_amd64.zip
sleep 1
unzip nuclei_2.8.9_linux_amd64.zip
rm ~/Downloads/nuclei_2.8.9_linux_amd64.zip &
mv ~/Downloads/nuclei /opt/nuclei
file /opt/nuclei
mkdir /opt/nuclei-output/
cd
sudo aptitude install -y libssl-dev libffi-dev python-dev-is-python3 build-essential
curl -sSL https://install.python-poetry.org | python3 -
curl -sSL https://install.python-poetry.org | python3 -
export PATH="~/.local/bin:$PATH"
git clone https://github.com/Porchetta-Industries/CrackMapExec /opt/CrackMapExec
cd /opt/CrackMapExec
sudo aptitude install python3-pip
~/.local/bin/poetry lock --no-update
~/.local/bin/poetry install
~/.local/bin/poetry run crackmapexec
alias crackmapexec='cd /opt/CrackMapExec; ~/.local/bin/poetry run crackmapexec'
cd ~/Downloads/
wget -q https://github.com/OJ/gobuster/releases/download/v3.5.0/gobuster_3.5.0_Linux_x86_64.tar.gz
tar xfvz gobuster_3.5.0_Linux_x86_64.tar.gz
rm gobuster_3.5.0_Linux_x86_64.tar.gz
rm LICENSE
rm README.md
mv gobuster /opt/
chmod +x /opt/gobuster
cd
cd ~/Downloads/
wget -q 'https://portswigger-cdn.net/burp/releases/download?product=pro&version=2023.1.2&type=Linux' -O burppro.sh
chmod +x burppro.sh
./burppro.sh