Skip to content

VulsRepo is visualized based on the json report output in vuls.

License

Notifications You must be signed in to change notification settings

trocster/vulsrepo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VulsRepo

license

VulsRepo is visualized based on the json report output in vuls.

YouTube:

vulsrepo

Online Demo

http://usiusi360.github.io/vulsrepo/

Installation

A home folder of vuls is explained as /opt/vuls.

Step1. Create a json report of vuls

$ vuls scan 
$ vuls report -to-localfile -format-json --cvedb-path=/opt/vuls/cve.sqlite3  

Output to a JSON files (/opt/vuls/results/current)

Step2. Install Http Server.

Apache HTTP Server is mentioned as installed one.

Step3. Installation

2 ways to setup.

From now on , executed by a user running the vuls scan.

A. Zip download

zip is downloaded and developed in a home folder of http server.

$ wget https://github.com/usiusi360/vulsrepo/archive/master.zip
$ unzip master.zip
$ sudo cp -Rp ./vulsrepo-master /var/www/html/vulsrepo

B. Git clone

$ cd /var/www/html
$ sudo git clone https://github.com/usiusi360/vulsrepo.git

Step4. Change the execution of the user group of apache

Set to the same user as the user to run the vuls scan.

$ vi httpd.conf

# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.  
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
-User apache
-Group apache

+User vuls
+Group vuls

Step5. The setting to make a CGI operate

  1. Copy the sample configuration file for apache configuration folder.
  • vulsrepo/dist/cgi/vulsrepo.conf.sample
  1. Install library for perl. (CGI.pm/JSON.pm)
  • In the case of RHEL or CentOS

    • Install perl-CGI and perl-JSON with the yum.
  • In the case of Debian or Ubuntu.

    • Install libcgi-pm-perl and libjson-perl with the apt-get.
    • Enabling module cgid.(a2enmod cgid)
  1. Restart http server

Step6. Link to vuls results folder

$ cd /var/www/html/vulsrepo/
$ ln -s <VulsHome>/results results

Usage

Access the browser

http://VulsServer/vulsrepo/

Gallery

image image image image

About

VulsRepo is visualized based on the json report output in vuls.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 63.8%
  • JavaScript 31.1%
  • HTML 5.1%