vaasctl

command
v0.0.0-...-796c688 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 11 Imported by: 0

README

VaaS Command Line Interface (CLI)

This Go programm is an example implementation of a Command Line Interface (CLI) for the G DATA VaaS API. This program allows users to scan URLs, SHA256 hashes and files.

Installation

  1. Clone the repository: git clone https://github.com/GDATASoftwareAG/vaas.git
  2. Change directory into the vaas/golang/vaas/cmd/vaasctl directory
  3. Build the program: go build
  4. Run the program: ./vaas

Note: Before running the program, please make sure to fill out the required credentials in the environment or .env file.

Usage

Command Line Arguments

The following command line arguments are supported:

  • -s: Check one ore multiple SHA256 hashes.
  • -f: Check one or multiple files.
  • -u: Check one or multiple URLs.
Example Usage

To check a file:

./vaas -f file_to_check

To check multiple files:

./vaas -f file1_to_check file2_to_check file3_to_check

To check a URL:

./vaas -u url_to_check

To check multiple URLs:

./vaas -f url1_to_check url2_to_check url3_to_check

To check a SHA256 hash:

./vaas -f sha256_to_check

To check multiple SHA256 hashes:

./vaas -f sha2561_to_check sha2562_to_check sha2563_to_check

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL