cd ./cmd/server/
GOOS=linux GOARCH=amd64 go build main.go
sftp root@proxy
> put ./main .
nohup ./main > output &
# first get the token
head -n 1 output
# then curl the server
curl 'http://${server_ip}/?token=${ur token}' \
-H 'Pragma: no-cache' \
-H 'Cache-Control: no-cache' \
-H 'Upgrade-Insecure-Requests: 1' \
--compressed \
--insecure