Go-deliver is a payload delivery tool coded in Go. This is the first version and other features will be added in the future.
Compile from source:
- Clone this repository.
- Install the required dependecies.
- Compile and run.
- https://github.com/chzyer/readline
- https://github.com/gorilla/mux
- https://github.com/mattn/go-sqlite3
- https://github.com/olekukonko/tablewriter
- http://gopkg.in/gcfg.v1
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
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.
- Add - Add a new payload to database.
- Delete - Delete a payload from the database.
- List - List all the payloads on the database.
mshta regsrv32 powershell javascript html text exe
- 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.
- 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.
- Id - ID of the host object on the database. (Unchangeable)
- Name - Name of the host object.
- Htype - Host object type. It can be
IP
orSubnet
- Add more types of servers.
- Add templates and the ability to generate payloads.
- Add one-liner for every payload type.
Suggestions ???