https://github.com/yakuter/agentgo
Hi! Agentgo is a tool for making remote command executions from server to client with golang, protocol buffers (protobuf) and grpc.
https://github.com/yakuter/agentgo
cc go golang grpc protobuf protocol-buffers rce
Last synced: 12 months ago
JSON representation
Hi! Agentgo is a tool for making remote command executions from server to client with golang, protocol buffers (protobuf) and grpc.
- Host: GitHub
- URL: https://github.com/yakuter/agentgo
- Owner: yakuter
- Created: 2020-11-11T20:28:45.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-18T05:22:15.000Z (over 5 years ago)
- Last Synced: 2025-04-13T04:52:23.757Z (12 months ago)
- Topics: cc, go, golang, grpc, protobuf, protocol-buffers, rce
- Language: Go
- Homepage: https://github.com/yakuter/agentgo
- Size: 20.5 KB
- Stars: 16
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to Agentgo!
Hi! Agentgo is a tool for making remote command executions with **golang**, **protocol buffers (protobuf)** and **grpc**. This is good way to do some operations at agents (let's say clients). This is why it is called **Agentgo**.
### Demo
You can watch a demo about how agentgo works.
[](https://www.youtube.com/watch?v=kuIA8ic2cf8)
### Proto File Update
If you change anything in **command.proto** file, then you need to update auto generated codes with protobuf. To do this, you can use the command below just after you update **command.proto**.
protoc --go_out=pb --go_opt=paths=source_relative \
--go-grpc_out=pb --go-grpc_opt=paths=source_relative \
./command.proto
If everything works fine, then you will have two files in **pb** folder.
**person.pb.go** // protobuf
**person_grpc.pb.go** // grpc client and server functions
### Resources
https://grpc.io/docs/languages/go/quickstart/
https://developers.google.com/protocol-buffers/docs/overview