20210402:
20210401:
export GOOS="darwin" && export GOARCH="amd64" && rm -rf ./main &&go build -ldflags="-s -w" cmd/main.go &&./main
export GOOS="linux" && export GOARCH="amd64" && rm -rf ./main &&go build -ldflags="-s -w" cmd/main.go &&./main
WINDOWS环境需要去除/src/geacon/cmd/packet/commands.go中第13和64行的注释,否则执行命令会有小黑窗!!!
export GOOS="windows" && export GOARCH="amd64"&&go build -ldflags="-s -w -H windowsgui" cmd/main.go
Implement CobaltStrike's Beacon in Go
This project is only used for learning protocol analysis and reverse engineering. If someone's rights are violated, contact me to delete the project, and the last DO NOT USE IT ILLEGALLY
.cobaltstrike.beacon_keys.java -jar BeaconTool.jar to convert java keystore to PEM format.cmd/config/config.go (the RSA private key is not required, I wrote it in the code just for the record)export GOOS="darwin" && export GOARCH="amd64" && go build cmd/main.goGrab Geacon's command execution results in Linux

To be continued, I will update as soon as I have time ...
~~1. Support CobaltStrike 4.0~~
_DarkRay@RedCore
$ claude mcp add geacon \
-- python -m otcore.mcp_server <graph>