Advertisement
infodox

nemesis installer

Jan 16th, 2012
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.01 KB | None | 0 0
  1. #!/bin/bash
  2. # Nemesis install script for BT5
  3. echo "Nemesis Installation script for Ubuntu/BT5 - v1"
  4. echo "[+] Installing Dependancies"
  5. apt-get install libdnet-dev
  6. apt-get install libpcap-dev
  7. ## simple enough, no?
  8. echo "[+] Changing dir and preparing for installation..."
  9. cd /usr
  10. mkdir nembuild
  11. cd nembuild
  12. ## This part uses wget to fetch source code
  13. echo "[+] Getting sources"
  14. wget http://ips-builder.googlecode.com/files/libnet-1.0.2a.tar.gz
  15. wget http://heanet.dl.sourceforge.net/project/nemesis/nemesis/1.4/nemesis-1.4.tar.gz
  16. ## This part untar-s the sauce
  17. echo "[+] Extracting sources"
  18. tar -xf nemesis-1.4.tar.gz
  19. tar -xf libnet-1.0.2a.tar.gz
  20. ## This part installs Libnet
  21. echo "[+] Installing libnet"
  22. cd Libnet-1.0.2a
  23. ./configure
  24. make
  25. make install
  26. ## This part installs nemesis
  27. echo "[+] Installing nemesis"
  28. cd ..
  29. cd nemesis-1.4
  30. ./configure --with-libnet-includes=/usr/nembuild/Libnet-1.0.2a/include --with-libnet-libraries=/usr/nembuild/Libnet-1.0.2a/lib
  31. make
  32. make install
  33. echo "[+] Complete!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement