Problem installing OpenVAS on BackTrack 4 Final
Hello to all,
I am having Problem installing OpenVAS on BackTrack 4 Final. I have successfully installed openvas-libraries using following command:
Code:
cd openvas-libraries + ./configure && make && make install
When I unpacked openvas-libnasl and press enter using "./configure && make && make install" command I get following error message:
Code:
(...)
cd nasl && make
make[1]: Entering directory `/root/openvas-libnasl-2.0.2/nasl'
/bin/sh /root/openvas-libnasl-2.0.2/libtool --silent --mode=compile gcc -pipe -g -O2 -Wall -I../include `/usr/local/bin/libopenvas-config --cflag
s` `/usr/bin/gpgme-config --cflags` -DNESSUS_EXTENSIONS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I. -I/root/openvas-libnasl-2.0.2/in
clude -DHAVE_CONFIG_H -c nasl_packet_forgery.c
In file included from nasl_packet_forgery.c:19:
../include/includes.h:244:24: error: libopenvas.h: No such file or directory
../include/includes.h:245:23: error: harglists.h: No such file or directory
nasl_packet_forgery.c: In function 'forge_ip_packet':
nasl_packet_forgery.c:80: warning: implicit declaration of function 'plug_get_host_ip'
nasl_packet_forgery.c:80: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c:93: warning: implicit declaration of function 'emalloc'
nasl_packet_forgery.c: In function 'get_ip_element':
nasl_packet_forgery.c:193: warning: implicit declaration of function 'estrdup'
nasl_packet_forgery.c:193: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'insert_ip_options':
nasl_packet_forgery.c:274: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'forge_tcp_packet':
nasl_packet_forgery.c:431: warning: initialization makes pointer from integer without a cast
nasl_packet_forgery.c:448: warning: implicit declaration of function 'efree'
nasl_packet_forgery.c: In function 'get_tcp_element':
nasl_packet_forgery.c:509: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'set_tcp_elements':
nasl_packet_forgery.c:557: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c:585: warning: initialization makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'forge_udp_packet':
nasl_packet_forgery.c:690: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'get_udp_element':
nasl_packet_forgery.c:804: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'set_udp_elements':
nasl_packet_forgery.c:831: warning: initialization makes pointer from integer without a cast
nasl_packet_forgery.c:843: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c:848: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'forge_icmp_packet':
nasl_packet_forgery.c:980: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'forge_igmp_packet':
nasl_packet_forgery.c:1101: warning: initialization makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'nasl_tcp_ping':
nasl_packet_forgery.c:1161: warning: initialization makes pointer from integer without a cast
nasl_packet_forgery.c:1206: warning: implicit declaration of function 'plug_get_host_open_port'
nasl_packet_forgery.c:1208: warning: implicit declaration of function 'islocalhost'
nasl_packet_forgery.c:1212: warning: implicit declaration of function 'routethrough'
nasl_packet_forgery.c:1265: warning: implicit declaration of function 'bpf_next_tv'
nasl_packet_forgery.c:1265: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c:1273: warning: implicit declaration of function 'bpf_close'
nasl_packet_forgery.c: In function 'nasl_send_packet':
nasl_packet_forgery.c:1297: warning: initialization makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'nasl_pcap_next':
nasl_packet_forgery.c:1400: warning: initialization makes pointer from integer without a cast
nasl_packet_forgery.c:1406: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c:1411: warning: implicit declaration of function 'bpf_open_live'
nasl_packet_forgery.c:1422: warning: implicit declaration of function 'get_datalink_size'
nasl_packet_forgery.c:1422: warning: implicit declaration of function 'bpf_datalink'
nasl_packet_forgery.c:1430: warning: implicit declaration of function 'bpf_next'
nasl_packet_forgery.c:1447: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c: In function 'nasl_send_capture':
nasl_packet_forgery.c:1486: warning: initialization makes pointer from integer without a cast
nasl_packet_forgery.c:1492: warning: assignment makes pointer from integer without a cast
nasl_packet_forgery.c:1536: warning: assignment makes pointer from integer without a cast
make[1]: *** [nasl_packet_forgery.o] Error 1
make[1]: Leaving directory `/root/openvas-libnasl-2.0.2/nasl'
make: *** [all] Error 2
root@bt:~/openvas-libnasl-2.0.2#
Please help me to fix this problem. Thank you.
Re: Problem installing OpenVAS on BackTrack 4 Final
As OpenVAS is not in Backtrack 3 by default you can download the lzm module of OpenVAS stable (2.0.0):
openvas-2.0.0.lzm
After you download, boot the remastered Backtrack3 cd, open a terminal and enter following:
* openvas-setup (this will setup openvas and run openvas-mkcert and add user)
* openvas-nvt-sync (optionally - if you have internet connection, download latest plugins)
* openvasd -D (run OpenVAS server, ignore the missing inc files warning, we're still building free replacements)
* OpenVAS-Client (run OpenVAS Client)
Re: Problem installing OpenVAS on BackTrack 4 Final
Hey why you are tried to install OpenVAS in your BackTrack 4 Final. This is because OpenVAS is already installed in BackTrack 4 Final. You are tried to install software that is already installed in the BackTrack 4 Final and that's why you are getting such type of problem. There is no need to install OpenVAS in the BackTrack 4 Final.
Re: Problem installing OpenVAS on BackTrack 4 Final
Hey OpenVAS is already installed in the BackTrack 4 Final. I also have BackTrack 4 Final in my computer which has openvas2 installed in it. I want to asked can I change the version of my openvas to the latest version like version 3. Should I uninstall openvas2 from my computer and then install openvas 3 in my computer.
Re: Problem installing OpenVAS on BackTrack 4 Final
Hey it is very easy to install OpenVAS 3.0 in your computer. Just use following steps to install OpenVAS 3.0 in the BackTrack 4 Final.
1.First go to the package manager.
2.Now search for OpenVAs.
3.Now there you will see OpenVAS 3.0, just download and install it.
Re: Problem installing OpenVAS on BackTrack 4 Final
As OpenVAS is not in Backtrack 3 by default you can download the lzm module of OpenVAS stable (2.0.0): openvas-2.0.0.lzm
If you don't have experience with adding additional lzm modules to Backtrack, read this.
I hope this will you.
Re: Problem installing OpenVAS on BackTrack 4 Final
Hey you have to just modify your "/etc/openvas/openvasd.conf" configuration file by changing "nasl_no_signature_check" option with the following:
Code:
nasl_no_signature_check = yes
Now you can run the vulnerability scanner (openvasd).