Skip to content
Snippets Groups Projects
Select Git revision
  • master default
  • medina
2 results

vat-genscan

  • Clone with SSH
  • Clone with HTTPS
  • Anže Žitnik's avatar
    Zitnik, Anze authored
    Not using config-example by default. TARGET has to be set if config file is not mounted. basic-config.json is used in that case.
    554d0647
    History

    Generic suite of scanners for VAT using cscan wrapped around ZAP and w3af

    Currently supports only basic (fast) scans without any configuration.

    Usage:

    Build: make build

    Run vat-genscan Docker image and pass configuration in JSON file, mounted as /root/config.json.

    Output files are stored in /root/out and the result of the scan is always output to stdout.

    Example:
    docker run -e "TARGET=http://10.10.43.182" -v /tmp/genscan-out/:/root/out/ vat-genscan
    also make TARGET="http://10.10.43.182" OUTPUT_DIR="/tmp/genscan-out/" start
    or make start (default TARGET=http://10.10.43.182, OUTPUT_DIR none).

    Configuration:

    Supported scanners and their profiles:

    • w3af
      • fast_scan: no parameters
    • zap
      • basic: no parameters
    • nmap
      • basic_discovery: no parameters

    Example JSON config file:

    {
        "target": {
            "url": "https://172.17.0.1/webapp/path/",
            "ip": "172.17.0.1"
        },
        "config": {
            "w3af": {
                "profile": "fast_scan"
            },
            "zap": {
                "profile": "basic"
            },
            "nmap": {
                "profile": "basic_discovery"
            }
        }
    }

    TODOs and FIXMEs:

    • include some configuration options (at least authenticated scans for w3af)