Skip to content

Instantly share code, notes, and snippets.

@CaiJiJi
Last active April 10, 2019 02:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save CaiJiJi/76bb4188c17930c8ed91f4faede795e4 to your computer and use it in GitHub Desktop.
Save CaiJiJi/76bb4188c17930c8ed91f4faede795e4 to your computer and use it in GitHub Desktop.
install script
#!/bin/bash
#update
apt-get update -y
apt-get upgrade -y
#install software
apt-get install -y nmap vim build-essential gcc g++ nc git curl wget python-dev openssl openssl-dev zip automake make ncurses-dev
#install proxychains
git clone https://github.com/rofl0r/proxychains-ng /tmp/proxychains-ng
cd /tmp/proxychains-ng
./configure --prefix=/usr/local/
make && make install
cp ./src/proxychains.conf /etc/proxychains.conf
cd ~
rm -rf /tmp/proxychains-ng
#install tmux
apt-get install -y tmux
#install python2 pip
curl https://bootstrap.pypa.io/ez_setup.py | python
curl https://bootstrap.pypa.io/get-pip.py | pytohn
#install python2 requests & beautifulsoup
pip install requests
pip install requests[security]
wget https://www.crummy.com/software/BeautifulSoup/bs4/download/4.0/beautifulsoup4-4.1.0.tar.gz -O /tmp/beautifulsoup4-4.1.0.tar.gz
cd /tmp/
tar -zxvf beautifulsoup4-4.1.0.tar.gz
cd beautifulsoup4-4.1.0
python setup.py install
#install python3
wget --no-check-certificate https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz -O Python-3.5.2.tgz
tar xvf Python-3.5.2.tgz
cd Python-3.5.2
./configure --prefix=/usr/local
make && make install
cd /tmp
curl https://bootstrap.pypa.io/ez_setup.py | /usr/local/bin/python3
curl https://bootstrap.pypa.io/get-pip.py | /usr/local/bin/python3
#install python3 requests & beautifulsoup
pip3 install requests
pip3 install requests[security]
cd /tmp/
tar -zxvf beautifulsoup4-4.1.0.tar.gz
cd beautifulsoup4-4.1.0
python3 setup.py install
#install msf
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && \
chmod 755 msfinstall && \
./msfinstall
#install subdomainBrute
cd ~
git clone https://github.com/lijiejie/subDomainsBrute
pip install dnspython
#install sqlmap
git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git sqlmap-dev
#install shadowsocks
pip install shadowsocks
#dirsearch
git clone https://github.com/maurosoria/dirsearch
#install tor
git clone https://github.com/torproject/tor
cd tor
./configure && make && make install
sh autogen.sh && ./configure && make && make install
#go ssserver
ssserver -p 7788 -k password -d start
#http server
apt-get install -y php5 apache2 php5-mysql php5-gd php5-curl
#install jdk
apt-get install -y default-jdk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment