Open ManuelFFF opened 4 years ago
Update:
I managed to reduce errors to just the following. Please help
INFO:root:main:Running vulnwhisperer for section openvas INFO:vulnWhispererBase:init:Connected to database at /opt/VulnWhisperer/data/database/report_tracker.db INFO:vulnWhispererOpenVAS:directory_check:Directory already exist for /opt/VulnWhisperer/data/openvas/ - Skipping creation ERROR:vulnWhispererOpenVAS:init:Unable to establish connection with OpenVAS scanner. Reason: 'NoneType' object has no attribute 'text' ERROR:root:main:init() should return None, not 'bool' ERROR: init() should return None, not 'bool'
Hi,
Any help available?
Thank you
to install it in different location try to use var PYTHONUSERBASE
export PYTHONUSERBASE=/opt/VulnWhisperer
python2 -m pip install --user -r VulnWhisperer/requirements.txt
python2 setup.py install --user
--user is a mandatory option for python to use $PYTHONUSERBASE variable
Hi,
I am new to VulnWhisperer and I believe it has great potential. I already deployed ELK stack 6.8.10 and i would like to integrate VulnWhisperer into the same server to import data from OpenVas.
I tried the installation following the steps described in the official documentation, but I ended with some errors and unable to run VulnWhisperer.
Questions:
I will share exactly my steps and the errors I got at the end, hopping you can tell me what I did wrong and help me fix it.
Thank you
Steps I followed:
Download source files $ git clone https://github.com/HASecuritySolutions/VulnWhisperer.git
Install requirements $ sudo apt-get install zlib1g-dev libxml2-dev libxslt1-dev $ cd VulnWhisperer $ pip install -r requirements.txt $ python setup.py install
Fill out the section you want to process in frameworks_example.ini file *Note: Open config file and fill out the section corresponding to vulnerability software you are using
$ sudo nano /home/user1/VulnWhisperer/configs/frameworks_example.ini
$ sudo nano /home/user1/VulnWhisperer/resources/elk6/pipeline/3000_openvas.conf *Note: Find ELK host section at the EOF and enter “localhost” (because ELK stack and VulnWhisperer will be running on the same server)
5.1. Copy/Move the Logstash .conf files from /VulnWhisperer/logstash/ to /etc/logstash/conf.d/
$ sudo cp /home/user1/VulnWhisperer/resources/elk6/pipeline/3000_openvas.conf /etc/logstash/conf.d/
5.2. Validate the Logstash.conf files input contains the correct location of VulnWhisper Scans in the input.file.path directory identified below:
[ELK] Import the Kibana visualizations 6.1. Log into Kibana 6.2. Go to Management (left panel last option) 6.3. Go to Saved Objects (under Kibana section to the right) 6.4. Go to Import (top right) 6.5. Import file kibana.json (previously downloaded from Github or ELK server)
Run Vulnwhisperer $ vuln_whisperer -c configs/frameworks_example.ini -s openvas
Console output errors: