Advertisement
DevilsExpl0its

ZMAP INSTALLER

May 13th, 2017
685
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.64 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. yum update -y
  4. yum install gcc cmake gmp gmp-devel libpcap-devel gengetopt byacc flex -y
  5. yum install json-c-doc.noarch json-c.i686 json-c.x86_64 json-c-devel.i686 json-c-devel.x86_64 -y
  6. yum install epel-release -y
  7. yum install gengetopt -y
  8.  
  9. wget --no-check-certificate https://github.com/zmap/zmap/archive/v2.1.0.tar.gz
  10. tar -xvf v2.1.0.tar.gz
  11. cd zmap-2.1.0
  12. flex -o "src/lexer.c" --header-file="src/lexer.h" "src/lexer.l"; byacc -d -o "src/parser.c" "src/parser.y"
  13. mkdir /etc/zmap; cp conf/* /etc/zmap
  14.  
  15. cmake -DENABLE_HARDENING=ON
  16. make
  17. make install
  18. cd
  19.  
  20. echo -e "\e[1;35mZmap Finished installing go scan the World skiddo."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement