豬頭 (beezari) wrote,
豬頭
beezari

OpenVAS 4.x/5.x from SVN source

Didn't see any around. so here are my notes.
Build instructions for Debian and ubuntu. Assuming pcap, libc, gcc are already installed.

build libraries first:

cd openvas-libraries
apt-get install uuid-dev
apt-get install libgpgme11-dev libgpg-error-dev
apt-get install gnupg2
apt-get install libssh-dev libglib2.0-dev
apt-get install cmake
apt-get install gnutls-doc
apt-get install gnutls-bin

apt-get install libgnutls-dev
apt-get install libssh2-1-dev libssh-4
apt-get install libssh2-1-dev libssh-4
apt-get install libwxfgtk2.8-dev
rm CMakeCache.txt
cmake .
make
make doc && make doc-full && make install
ldconfig

build scanner:

cd openvas-scanner
cmake .
make
make doc && make doc-full && make install
openvas-mkcert

get plugins:

openvas-nvt-sync

build manager:

cd openvas-manager
apt-get install libsqlite3-dev
apt-get install xmltoman
apt-get install sqlfairy
apt-get install xsltproc
export PKG_CONFIG_PATH=/usr/share/pkgconfig
cmake .
make && make doc && make doc-full && sudo make install
openvas-mkcert-client -n om -i


build administrator:

cd openvas-administrator
cmake . && make && make doc && sudo make install

build GSA:

cd gsa
apt-get install libmicrohttpd-dev libxslt1-dev
make && make doc && sudo make install

build CLI: (optional)

cmake .
make && make doc && sudo make install

build GSD: (optional)

apt-get install qt4-dev-tools qt4-cmake
cmake .
make && make doc && sudo make install
Tags: code, openvas
Subscribe

  • Ubuntu Custom CD: a quick and dirty way

    A few notes on my practical experience of building custom ubuntu disks. I work here with Ubuntu Precise (12.04). But any other Ubuntu distro should…

  • socket proxy in erlang

    Since I started spitting out some code here, here's another thing I've been playing recently. Erlang. For kicks, I decided to implement a socket…

  • Chunked decoding in python

    I haven't been able to find any short and quick method of decoding "chunked-encoding" encoded data in python without whacking 3rd party libraries, so…

  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments