go-deliver

command module
v0.0.0-...-11b568d Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

README

go-deliver

Go-deliver is a payload delivery tool coded in Go. This is the first version and other features will be added in the future.

Installation

Compile from source:

  1. Clone this repository.
  2. Install the required dependecies.
  3. Compile and run.

Dependecies

Configuration

Currently go-deliver supports only http and https server for payload delivery. More server types will be added later. To change the port of the http server you can modify the config.conf.

Sample configuration :

[http]
enable = true
port = 8888
template404 = templates/404.html

[https]
enable = false
port = 8443
template404 = templates/404.html
publickey = certs/server.pem
privatekey = certs/server.key

Usage

The main logic behind go-deliver is to deliver different type of payloads to specific IP/Subnet address or block access for specific IP/Subnet.

Currently you have two types of objects in go-deliver.

  • Payload - Used to define an object to deliver.
  • Host - Used to define an object to combine with Payload object.
Payload object commands
  • Add - Add a new payload to database.
  • Delete - Delete a payload from the database.
  • List - List all the payloads on the database.
Payload types

mshta regsrv32 powershell javascript html text exe

Payload Options
  • Id - ID of the payload on the database. (Unchangeable)
  • Name - Name of the payload.
  • Content Type - Content Type that will be sent as a header.
  • Host Blacklist - The name of a Host object to be used as a blacklist.
  • Host Whitelist - The name of a Host object to be used as a whitelist.
  • Data File - Location of a file to be delivered.
  • Data B64 - B64 encoded data to be delivered.
  • Ptype - Payload type.
  • Guid - Unique identifier for every payload.

Note : If no whitelist or blacklist is specified the payload will get delivered to anyone with the correct URL.

Host object commands
  • Add - Add a new host object to the database.
  • Delete - Delete a host object from the database.
  • List - List all the host objects on the database.
Host options
  • Id - ID of the host object on the database. (Unchangeable)
  • Name - Name of the host object.
  • Htype - Host object type. It can be IP or Subnet

TODO

  • Add more types of servers.
  • Add templates and the ability to generate payloads.
  • Add one-liner for every payload type.

Suggestions ???

Screenshots

Payload Creation

alt text

Payload List

alt text

Payload Deliver

alt text

Host Creation

alt text

Payload with Black List

alt text

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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