Initial commit: LAN RDP with keylogger support
This commit is contained in:
commit
c4adcbbe0f
33 files changed
+4335
No files matched your search
Executable
+22
@@ -0,0 +1,22 @@
|
||||
package main
|
||||
|
||||
// embeddedPasswordHash is baked in at build time by build-host.ps1 via:
|
||||
//
|
||||
// go build -ldflags "-X main.embeddedPasswordHash=<argon2id hash>"
|
||||
//
|
||||
// Left empty for a plain `go build`, in which case the host falls back to
|
||||
// interactive first-run passphrase setup backed by config.json.
|
||||
var embeddedPasswordHash string
|
||||
|
||||
// embeddedConnectAddr is optionally baked in at build time by
|
||||
// build-host.ps1 via:
|
||||
//
|
||||
// go build -ldflags "-X main.embeddedConnectAddr=<client-ip:port>"
|
||||
//
|
||||
// If set, and -connect isn't passed at runtime, this host dials out to
|
||||
// this address by default instead of listening — for a host built
|
||||
// specifically to call back to one particular client (e.g. a laptop
|
||||
// built to always call home to a desktop). Left empty by default, so a
|
||||
// build with no -connect flag still falls back to the normal interactive
|
||||
// listen-address picker.
|
||||
var embeddedConnectAddr string
|
||||
Reference in new issue
Block a user