Git Product home page Git Product logo

vmray's Introduction

VmRay API module for go

vmray.go allows to communicate with the API of VmRay.

VmRay is a 3rd generation malware execution and analysis environment. For more Information see VmRay Website

Disclaimers

This code is based on the old API of VmRay. Since beginning of 2016 or version 1.9 of VmRay there is a new API which is not yet covered in this code. See Issue #1

Usage

Go and get the code

go get github.com/scusi/vmray

Here is a short and very simple example how to use this module to upload a file to an vmray instance via the (old) API.

// vmray simple upload example
package main

import(
    "os"
	"fmt"
    "github.com/scusi/vmray"
)

func main() {
    fileName := os.Args[1]
    client, err := vmray.New(
	    vmray.SetBasicAuth(os.Getenv("VMRAY_EMAIL"), os.Getenv("VMRAY_PASSWD"))
	)
	result, err := client.UploadSample(fileName)
	if err != nil {
		panic(err)
	}
	fmt.Printf("%s\n", result)
}

Documentation

GoDoc

Documentation is available on GoDoc

For TLS certificate issues please see TlsCertReadme.md

Examples

Please see the Examples directory for some examples how to use this module and it's features.

Commits

If you want to commit to this code feel free to send me pull requests. I prefer lots of small commits that do change one thing rather than one huge commit with a dozen of changes hard to follow.

Author

This module has been written by Florian 'scusi' Walther.

vmray's People

Contributors

scusi avatar

Watchers

James Cloos 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.