Closed litebito closed 1 year ago
Hi,
Thanks for your detailed report.
Kali defaults to TinyDB backend, which is a file-backed database. Which has several drawbacks, one of which is: you cannot use the same database with different users.
This is explicitly said in the configuration file (os.path.expanduser("~")
will evaluate to the home directory of the user running it, which is usually different from a user to another).
This means that if you use ivre view --count
to check how many results exist in your database, you should use ivre httpd --bind-address 0.0.0.0 --port 8081
(without sudo
) to serve the same results.
A couple of remarks:
Don't hesitate to join the conversation on Gitter if you have further questions.
Hi
thanks for the feedback.... I did try to run the webserver as non root the first time, but it was also empty. I did all of the steps again (initializing) and now it indeed seems to work, thanks!
If I understand you correctly, you suggest not to use the Kali package, but to use the manual installation for IVRE also on Kali?
No, you can use the kali package (unless you need new features, that have not yet been integrated to a release), but also install MongoDB and change IVRE configuration to use it (basically, removing /etc/ivre/ivre.conf would work for a local, unauthenticated database).
Also, since your issue has been fixed, I'm closing this.
IVRE Version
Insert here the output of the command
ivre version
, displayed as code. For example:Summary
I'm trying to view data from ivre in the ivre-web-gui. I followed the steps to install ivre on kali (sudo apt install ivre) and the steps to initialise. Then I ran my first scan, and followed the steps to import the data into the db, and create the view Then I started the ivre webserver
Expected behavior
I expected the ivre installation on kali to automatically create/setup already a webserver When opening the browser to the webserver, I expected to see at least some of the scanned data.
Actual behavior
The installation did not create or setup a webserver, so I'm using the ivre httpd command to test the webgui The web gui is available, but remains empty, it shows the menu and filter options, but in the upper left corner it shows "NO RESULTS"
What am I missing to be able to view the data in the webgui?
How to reproduce
More