Giter VIP home page Giter VIP logo

evidence_uploader's Introduction

DIVD Evidence uploader

Tool to upload evidence from a scan to the appropriate DIVD Google Drive and log the evidence in a Google Sheet

The tool can optionally:

  • AUthenticate you to Google
  • Run the scanner for you
  • Grep for a pattern (indicating (in-)vulnerability)
  • Record the session as a gif file and upload that too
usage: evidence_uploader.py [-h] [--auth_only | --upload_only | --scan_only]
                            --case YYYY-NNNNN --folder FOLDER_NAME
                            [--targets FILE | --glob *.gif] --scanner SCRIPT
                            [--argument PYTHON_STRING] [--gif]
                            [--asciinema PATH] [--asciicast2gif PATH]
                            [--regex REGEX] [--no-browser] [--pickle PATH]

Run a scanner, capture the evidence and upload to Google Drive

optional arguments:
  -h, --help            show this help message and exit
  --auth_only           Run authentication only to create token.pickle for
                        future use.
  --upload_only         Only upload results, do not scan
  --scan_only           Only scan targets, do not upload results
  --case YYYY-NNNNN, -c YYYY-NNNNN
                        DIVD case number, without 'DIVD-' e.g. DIVD-2020-00001
                        is 2020-00001
  --folder FOLDER_NAME, -f FOLDER_NAME
                        Subfolder to put evidence in (will be craeted if it
                        doesn't exisit)
  --targets FILE, -t FILE
                        File containing the targets to scan
  --glob *.gif, -g *.gif
                        Filesystem pattern for evidence files, used when
                        --targets is not specified but we are uploading
  --scanner SCRIPT, -s SCRIPT
                        File containing the scan script
  --argument PYTHON_STRING, -a PYTHON_STRING
                        Argument string to the scan script \{\} will be
                        replaced by the target
  --gif                 Record scanner as animated gif
  --asciinema PATH      Full path to asciinema
  --asciicast2gif PATH  Full path to asciicast2gif
  --regex REGEX, -r REGEX
                        Regular expression to apply to the result of the scan
                        script
  --no-browser, -n      System does not have a local browser to authenticate
                        to google, use alternative flow
  --pickle PATH, -p PATH
                        Location of the token.pickle file, willb e created if
                        not exisit

In order to use this tool you need:

evidence_uploader's People

Contributors

mrseccubus 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.