Vuls

Vuls

  • Docs
  • Community
  • Blog
  • Languages icon日本語
    • English
  • GitHub
  • vulsdoc

›Development

Introduction

  • Abstract
  • Main Features
  • Supported OS

Architecture

  • Remote, Local, One-liner scan
  • Remote Scan Mode
  • One-liner scan mode
  • Local Scan Mode
  • architecture
  • Fast Scan
  • Fast-Root Scan
  • Deep Scan
  • CPE Scan

Installation

  • Vulsctl - Quickest Vuls setup
  • Vulsctl - Install on HostOS
  • Install Manually
  • Install with Docker
  • Install with Package
  • Install with Ansible
  • Install with awless

Tutorial

  • Tutorial
  • Scan with Vulsctl
  • Local Scan Mode
  • Remote Scan Mode
  • Scan using Docker
  • Scan Docker Image
  • Scan non OS packages
  • Scan WordPress
  • Scan Port

Usage

  • config.toml
  • Automatic Discovery
  • configtest
  • Scan
  • Report
  • TUI
  • Server

Vulsrepo

  • VulsRepo

Development

  • Contribute
  • Integration Testing

Misc

  • Cron
  • Update Vuls to the latest version
  • go-cve-dictionary
  • goval-dictionary
  • gost
  • go-exploitdb
  • go-msfdb
  • go-kev
  • go-cti
  • Related Projects
  • Tips
Edit

Integration Testing

Makerfile

https://github.com/future-architect/vuls/blob/master/GNUmakefile#L85

Diff

Prepare vulnerability databases

    $ git clone [email protected]:vulsio/vulsctl.git
    $ cd vulsctl/docker
    $ ./update-all.sh
    $ cd /path/to/future-architect/vuls
    $ vim integration/int-config.toml

build binaries

  • working-tree
  • HEAD
  • HEAD^
    $ make build-integration

diff between HEAD and working-set

    $ ln -s vuls vuls.new
    $ ln -s vuls.xxxxx vuls.old
    $ make diff

diff between HEAD^ and HEAD

    $ ln -s vuls.xxxHEADxxx vuls.new
    $ ln -s vuls.yyyHEAD^yyy vuls.old
    $ make diff

Diff on Redis-backend

    $ docker network create redis-nw
    $ docker run --name redis -d --network redis-nw -p 127.0.0.1:6379:6379 redis
    $ git clone [email protected]:vulsio/vulsctl.git
    $ cd vulsctl/docker
    $ ./update-all-redis.sh
    $ (or export DOCKER_NETWORK=redis-nw; cd /home/ubuntu/vulsctl/docker; ./update-all.sh --dbtype redis --dbpath "redis://redis/0")
    $ vim integration/int-redis-config.toml
    $ ln -s vuls vuls.new
    $ ln -s oldvuls vuls.old
    $ make diff-redis

Diff between Redis-backend and SQLite3

    $ make diff-rdb-redis
← ContributeCron →
Vuls
Docs
IntroductionArchitectureTutorial
Community
Join SlackSlackTwitter(English)Twitter(Japanese)
More
BlogGitHub
Copyright © 2023 kotakanbe