Nessuインストール

何度かエラーになったが、必要なパッケージをそのつどインストールして、無事に終了。
となりにNessusエキスパートがいると便利だ。

# apt-get install flex
# apt-get install opessl-devel
# apt-get install bison

                                                                                                                                                              • -
NESSUS INSTALLATION SCRIPT
                                                                                                                                                              • -
                                                                                                                                                              • -
Nessus installation : Ready to install
                                                                                                                                                              • -
Nessus is now ready to be installed on this host. The installation process will first compile it then install it Press ENTER to continue x - Compiling the libraries x -- Configuring the sources for your system x -- Uninstalling any previous version of Nessus
  1. rm -f /usr/local/bin/nasl
  2. rm -f /usr/local/bin/nasl-config
  3. rm -f /usr/local/bin/nessus
  4. rm -f /usr/local/bin/nessus-config
  5. rm -f /usr/local/bin/nessus-build
  6. rm -f /usr/local/bin/nessus-mkrand
  7. rm -f /usr/local/bin/nessus-mkcert-client
  8. rm -f /usr/local/sbin/nessus-adduser
  9. rm -f /usr/local/sbin/nessus-rmuser
  10. rm -f /usr/local/sbin/nessusd
  11. rm -f /usr/local/sbin/nessus-update-plugins
  12. rm -f /usr/local/sbin/nessus-mkcert
  13. rm -f /usr/local/sbin/nessus-check-signature
  14. rm -rf /usr/local/include/nessus
  15. rm -f '/usr/local/lib/libhosts_gatherer.*'
  16. rm -f '/usr/local/lib/libnasl.*'
  17. rm -f '/usr/local/lib/libnessus.*'
  18. rm -f '/usr/local/lib/libpcap-nessus.*'
  19. rm -rf /usr/local/lib/nessus
  20. rm -f /usr/local/man/man1/nasl-config.1
  21. rm -f /usr/local/man/man1/nasl.1
  22. rm -f /usr/local/man/man1/nessus-build.1
  23. rm -f /usr/local/man/man1/nessus-config.1
  24. rm -f /usr/local/man/man1/nessus.1
  25. rm -f /usr/local/man/man1/nessus-mkrand.1
  26. rm -f /usr/local/man/man1/nessus-mkcert-client.1
  27. rm -f /usr/local/man/man8/nessus-mkcert.8
  28. rm -f /usr/local/man/man8/nessus-adduser.8
  29. rm -f /usr/local/man/man8/nessus-rmuser.8
  30. rm -f /usr/local/man/man8/nessus-update-plugins.8
  31. rm -f /usr/local/man/man8/nessusd.8
  32. test -n ''
  33. set +x
x -- Compiling x -- Installing x - Compiling the NASL interpretor x -- Configuring the sources for your system x -- Compiling nasl_func.c: In function `insert_nasl_func': nasl_func.c:100: warning: passing arg 4 of `qsort' from incompatible pointer type nasl_init.c: In function `init_nasl_library': nasl_init.c:425: warning: assignment discards qualifiers from pointer target type x -- Installing x - Compiling the core x -- Configuring the sources for your system ./configure: line 1: --version: command not found configure: warning: **** gtk not found x -- Compiling

しまった。この期に及んで、gtkがないとか言われてる。リコンパイルだな。

# apt-get install gtk+-devel
してnessusをリコンパイル