Go to file
wh1te909 cebde22fa0 add chocolatey 2021-01-19 14:56:55 -08:00
.vscode inno changes 2020-10-17 19:45:56 -07:00
agent add chocolatey 2021-01-19 14:56:55 -08:00
build Release 1.2.1 2021-01-16 21:34:47 -08:00
shared add chocolatey 2021-01-19 14:56:55 -08:00
.gitignore fix logged in username, add flag to get agent pk 2020-10-20 22:57:09 -07:00
LICENSE more helper funcs, add license 2020-10-08 14:53:22 -07:00
README.md update build flags 2020-12-08 20:51:41 -08:00
go.mod update resty 2021-01-19 14:55:43 -08:00
go.sum update resty 2021-01-19 14:55:43 -08:00
main.go Release 1.2.1 2021-01-16 21:34:47 -08:00
versioninfo.json Release 1.2.1 2021-01-16 21:34:47 -08:00

README.md

Tactical RMM Agent

https://github.com/wh1te909/tacticalrmm

Building the windows agent with custom branding

Download and install the following prereqs

Run the following commands in git bash

mkdir c:/users/public/documents/rmmagent && cd c:/users/public/documents/rmmagent
git clone https://github.com/wh1te909/rmmagent.git .
go mod download
go get github.com/tc-hib/goversioninfo/cmd/goversioninfo

Read through the code / build files and change all references of Tactical RMM to Your Company RMM

Do not change any of the following or this will break on the RMM end

  • The service names of the 3 windows services tacticalagent, checkrunner and tacticalrpc. You can however change the display names and descriptions of these.
  • The TacticalAgent folder name in Program Files.
  • The actual binary name tacticalrmm.exe. Change the FileDescription in versioninfo.json which is what will show up in task manager.

Build the 64 bit agent

goversioninfo -64
env CGO_ENABLED=1 GOARCH=amd64 go build -ldflags "-s -w" -o tacticalrmm.exe
"c:/Program Files (x86)\Inno Setup 6\ISCC.exe" build/setup.iss

Build the 32 bit agent

rm resource.syso tacticalrmm.exe
goversioninfo
env CGO_ENABLED=1 GOARCH=386 go build -ldflags "-s -w" -o tacticalrmm.exe
"c:/Program Files (x86)\Inno Setup 6\ISCC.exe" build/setup-x86.iss

Binaries will be in build\Output

From the RMM, choose the 'Manual' method when generating an agent to get the command line args to pass to the binary.