PDA

View Full Version : OpenVas install error



masteroc
2015-01-11, 01:16
I have tried multiple time to install OpenVas under Kali Menu but each time it gives me the following error:

http://i.imgur.com/83DiT5z.png

Any ideas on what could be going wrong here?

Thanks for your time!

2015-01-11, 20:49
Try apt-get update && apt-get dist-upgrade and then install OpenVas

Jamborloi
2015-01-13, 15:57
I have posted this problem in the general...
I have solve this...by issuing the command manually in the kali terminal with the following: (this is the same as the script of kali menu = https://github.com/offensive-security/kali-nethunter/blob/master/menu/kalimenu)
apt-get update && apt-get install -y openvas
openvas-setup && openvas-scapdata-sync && openvas-certdata-sync && openvas-check-setup && openvas-stop
openvasmd --create-user=admin --role=Admin
read -p "Enter OpenVas admin user password: " openvas_pass
openvasmd --user=admin --new-password="$openvas_pass"

Jamborloi
2015-01-14, 12:08
I have posted this problem in the general...
I have solve this...by issuing the command manually in the kali terminal with the following: (this is the same as the script of kali menu = https://github.com/offensive-security/kali-nethunter/blob/master/menu/kalimenu)
apt-get update && apt-get install -y openvas
openvas-setup && openvas-scapdata-sync && openvas-certdata-sync && openvas-check-setup && openvas-stop
openvasmd --create-user=admin --role=Admin
read -p "Enter OpenVas admin user password: " openvas_pass
openvasmd --user=admin --new-password="$openvas_pass"


Please consider this procedure that I found it 100% working:
apt-get update && apt-get install -y openvas
openvas-setup && openvas-scapdata-sync && openvas-certdata-sync && openvas-check-setup && openvas-stop
sudo -s
test -e /var/lib/openvas/CA/cacert.pem || openvas-mkcert -q
openvas-nvt-sync
test -e /var/lib/openvas/users/om || openvas-mkcert-client -n om -i
service openvas-manager stop
service openvas-scanner stop
openvassd
openvasmd --migrate
openvasmd --rebuild
openvas-scapdata-sync
openvas-certdata-sync
test -e /var/lib/openvas/users/admin
killall openvassd
sleep 15
service openvas-scanner start
service openvas-manager start
service openvas-administrator restart
service greenbone-security-assistant restart
openvasmd --create-user=admin --role=Admin

Then the last echo message it will give you user generated password....

go to your web browser https://127.0.0.1:9392

user: admin
password: "copy and paste the pre-generated user password"

once in change the password in the settings.


This is I manually install openvas but it is still depends on the Nethunter makers....

AnonaTom
2015-02-27, 02:46
Please consider this procedure that I found it 100% working:
apt-get update && apt-get install -y openvas
openvas-setup && openvas-scapdata-sync && openvas-certdata-sync && openvas-check-setup && openvas-stop
sudo -s
test -e /var/lib/openvas/CA/cacert.pem || openvas-mkcert -q
openvas-nvt-sync
test -e /var/lib/openvas/users/om || openvas-mkcert-client -n om -i
service openvas-manager stop
service openvas-scanner stop
openvassd
openvasmd --migrate
openvasmd --rebuild
openvas-scapdata-sync
openvas-certdata-sync
test -e /var/lib/openvas/users/admin
killall openvassd
sleep 15
service openvas-scanner start
service openvas-manager start
service openvas-administrator restart
service greenbone-security-assistant restart
openvasmd --create-user=admin --role=Admin

Then the last echo message it will give you user generated password....

go to your web browser https://127.0.0.1:9392

user: admin
password: "copy and paste the pre-generated user password"

once in change the password in the settings.


This is I manually install openvas but it is still depends on the Nethunter makers....

I attempted to run this procedure. The first command worked the second began to work but stopped here:
496

please advise

Jamborloi
2015-03-09, 14:38
I attempted to run this procedure. The first command worked the second began to work but stopped here:
496

please advise

Hey, Just repeat it again without your device sleep or standby.