Git Product home page Git Product logo

vulnscan's Introduction

vulnscan

A simple non-intrusive, large scale vulnerability scanner.

Java CI with Maven License: GPL v3

Setup and dependencies

  • To be able to run this application, you must have some dependencies installed and on your $PATH for non-interactive shells.
  • This usually means that: To make your PATH entries available to /bin/sh scripts run by a specific user, add the $PATH entry to the ~/.profile file or ~/.bash_profile or ~/.bash_login.
  • Additionally, requirements must be installed for dependencies using Python, and Go must be installed for subjack to work. The easiest way to do this is probably to follow the installation guide for each of the modules, and then make sure the binaries are on $PATH for vulnscan to use.

Dependencies

  • postgresql - install on eg. Ubuntu with sudo apt install postgresql postgresql-contrib, installed by default on Kali.
  • subjack
  • meg
  • nmap
  • ripgrep
  • s3scanner and an S3-account
  • gittools
  • SimplyEmail
  • Shodan user/api key with query credit
  • Google custom search engine, and api key to use it

If there are any of the scans that you don't want to run, you can set its flag to false in the config-file.

Use

  • Build with Maven, using Java 11
mvn clean install
  • Run with
java -jar vulnscan-1.0.jar
  • The application is configured using the file vulnscan.config

Output

Results will be written to files currently specified in the class VulnScan. Output from searching for .env files will be in the out/ directory.

Source directory structure

src
├── main
│   ├── java
│   │   └── no
│   │       └── uio
│   │           └── ifi
│   │               └── vulnscan
│   │                   ├── Application.java
│   │                   ├── tasks
│   │                   │   ├── ScanEmail.java
│   │                   │   ├── ScanForEnvFiles.java
│   │                   │   ├── ScanGit.java
│   │                   │   ├── ScanGoogle.java
│   │                   │   ├── ScanHeartbleed.java
│   │                   │   ├── ScanS3.java
│   │                   │   ├── ScanShodan.java
│   │                   │   ├── ScanSubdomains.java
│   │                   │   └── ScanTask.java
│   │                   ├── util
│   │                   │   ├── BashCommand.java
│   │                   │   └── io
│   │                   │       ├── FileOverWriter.java
│   │                   │       └── FileParser.java
│   │                   └── VulnScan.java
│   └── resources
│       └── log4j2.xml
└── test
    └── java

UML class diagram with dependencies drawn

UML

vulnscan's People

Contributors

torjuskd avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.