Install the OpenVAS vulnerability scanner. №2
by OstapBender - Tuesday December 12, 2023 at 10:20 PM
#1
9. Run sudo gvm-setup again and enjoy the installation.
https://codeby.net/attachments/1701801340365-png.72646/
We write down the authentication creds (login - admin and password - this long string, which I blurred) in a notebook. We wait until this creation of human hands is installed. It is long enough, you can smoke and drink coffee. I, for example, had time to walk the dog, do the dishes, go to the store twice for beer, get drunk, so I had to postpone writing the article for a couple of days. When I came out of the binge, I saw that the installation had completed without errors:
https://codeby.net/attachments/1701801413250-png.72647/
10. Strangely, on the previous release of Kali Linux, it rolled out a bunch of bugs. Let's see if we're okay: sudo gvm-check-setup
https://codeby.net/attachments/1701801561918-png.72648/
Holy shit! Not even the first step is complete. I was ready to trash the last comp, but then you wouldn't have seen this article. We'll fix it.
11. Let's try to take the advice from the output and add a line: mqtt_server_uri = localhost:1883 в файл /etc/openvas/openvas.conf
https://codeby.net/attachments/1701801643133-png.72649/
Something changed, but we still got this kind of shit
https://codeby.net/attachments/1701801704078-png.72650/
12. change the access rights to the log: sudo chmod 666 /var/log/gvm/openvas.log
And we'll run the check again
https://codeby.net/attachments/1701801769726-png.72651/
13. Whoops! We've completed five steps, but that's not enough. Let's continue mocking Greenbone Vulnerability Management using the tip from the conclusion:
https://codeby.net/attachments/1701801860831-png.72652/
14. I'm getting closer and closer to the point of throwing my computer out the window, but I persist in mocking myself. Maybe gvm doesn't want to work with version 16 of postgresql? Let's try to use version 15. Edit the file /usr/share/gvmd/postgresql-version, writing 15.1 instead of 16.1.
https://codeby.net/attachments/1701801932084-png.72653/
15. Put the ports back in place (step 8). Reboot the system. And start up again: sudo gvm-check-setup
https://codeby.net/attachments/1701801989612-png.72654/
Voila! Installation is complete.

Read the continuation of this article in part three. You may only use 10 images in one post.
Reply
#2
hey man, I'm stuck here so idk what to do
                                                                                                                                                                00:36:10
> sudo gvm-check-setup
gvm-check-setup 21.4.3
  Test completeness and readiness of GVM-21.4.3
Step 1: Checking OpenVAS (Scanner)...
        OK: OpenVAS Scanner is present in version 21.4.3.
        OK: Server CA Certificate is present as /var/lib/gvm/CA/servercert.pem.
Checking permissions of /var/lib/openvas/gnupg/*
        OK: _gvm owns all files in /var/lib/openvas/gnupg
        OK: redis-server is present.
        OK: scanner (db_address setting) is configured properly using the redis-server socket: /run/redis-openvas/redis.sock
        OK: redis-server is running and listening on socket: /run/redis-openvas/redis.sock.
        OK: redis-server configuration is OK and redis-server is running.
        OK: _gvm owns all files in /var/lib/openvas/plugins
        OK: NVT collection in /var/lib/openvas/plugins contains 117906 NVTs.
Checking that the obsolete redis database has been removed
Could not connect to Redis at /var/run/redis-openvas/redis-server.sock: No such file or directory
        OK: No old Redis DB
        OK: ospd-OpenVAS is present in version 21.4.3.
Step 2: Checking GVMD Manager ...
        OK: GVM Manager (gvmd) is present in version 21.4.4.
Step 3: Checking Certificates ...
        OK: GVM client certificate is valid and present as /var/lib/gvm/CA/clientcert.pem.
        OK: Your GVM certificate infrastructure passed validation.
Step 4: Checking data ...
        OK: SCAP data found in /var/lib/gvm/scap-data.
        OK: CERT data found in /var/lib/gvm/cert-data.
Step 5: Checking Postgresql DB and user ...
        OK: Postgresql version and default port are OK.
gvmd      | _gvm    | UTF8    | en_US.UTF-8 | en_US.UTF-8 |
        OK: At least one user exists.
Step 6: Checking Greenbone Security Assistant (GSA) ...
        ERROR: No Greenbone Security Assistant (gsad) found.
        FIX: Please install Greenbone Security Assistant.

ERROR: Your GVM-21.4.3 installation is not yet complete!

Please follow the instructions marked with FIX above and run this
script again.
Reply
#3
Spell the command correctly: sudo gvm-setup
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  EMV TUTORIAL: HOW TO ENCODE A BLANK CARD (UPDATED) nexo 53 8,598 11 hours ago
Last Post: fairytail
  HOW TO CRACK THE ACCOUNTS STEP BY STEP GUIDE CrimsonVoid 11 458 Yesterday, 11:16 PM
Last Post: izolated
  ANY KYC VERIFICATION PROCESS (BYPASS) babymaker 315 10,245 Yesterday, 09:20 PM
Last Post: molsberg
  (Leaked E-Book) Full Cracking Guide | Become A Cracking God Chapo 475 20,246 Yesterday, 08:04 PM
Last Post: mymandistalert
  USEFUL DORKS FOR BEGINNERS MisterSam 108 3,795 Yesterday, 08:02 PM
Last Post: mymandistalert

Forum Jump:


 Users browsing this forum: 1 Guest(s)