Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Nemesis install script for BT5
- echo "Nemesis Installation script for Ubuntu/BT5 - v1"
- echo "[+] Installing Dependancies"
- apt-get install libdnet-dev
- apt-get install libpcap-dev
- ## simple enough, no?
- echo "[+] Changing dir and preparing for installation..."
- cd /usr
- mkdir nembuild
- cd nembuild
- ## This part uses wget to fetch source code
- echo "[+] Getting sources"
- wget http://ips-builder.googlecode.com/files/libnet-1.0.2a.tar.gz
- wget http://heanet.dl.sourceforge.net/project/nemesis/nemesis/1.4/nemesis-1.4.tar.gz
- ## This part untar-s the sauce
- echo "[+] Extracting sources"
- tar -xf nemesis-1.4.tar.gz
- tar -xf libnet-1.0.2a.tar.gz
- ## This part installs Libnet
- echo "[+] Installing libnet"
- cd Libnet-1.0.2a
- ./configure
- make
- make install
- ## This part installs nemesis
- echo "[+] Installing nemesis"
- cd ..
- cd nemesis-1.4
- ./configure --with-libnet-includes=/usr/nembuild/Libnet-1.0.2a/include --with-libnet-libraries=/usr/nembuild/Libnet-1.0.2a/lib
- make
- make install
- echo "[+] Complete!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement