Skip to content

Instantly share code, notes, and snippets.

View shaneutt's full-sized avatar
🔴
I am completely unavailable

Shane Utt shaneutt

🔴
I am completely unavailable
View GitHub Profile
@shaneutt
shaneutt / dispatch.sh
Created October 13, 2021 13:59 — forked from ciiqr/dispatch.sh
github actions, repository_dispatch with client_payload
# TODO: replace :token, :user, and :repo
curl -H "Authorization: token :token" \
-H 'Accept: application/vnd.github.everest-preview+json' \
"https://api.github.com/repos/:user/:repo/dispatches" \
-d '{"event_type": "awesomeness", "client_payload": {"foo": "bar"}}'
@shaneutt
shaneutt / go-ssh-reverse-tunnel.go
Created October 17, 2021 22:31 — forked from codref/go-ssh-reverse-tunnel.go
Go SSH reverse tunnel implementation (SSH -R)
/*
Go-Language implementation of an SSH Reverse Tunnel, the equivalent of below SSH command:
ssh -R 8080:127.0.0.1:8080 operatore@146.148.22.123
which opens a tunnel between the two endpoints and permit to exchange information on this direction:
server:8080 -----> client:8080
@shaneutt
shaneutt / README.txt
Created March 9, 2022 19:17 — forked from ncw/README.txt
Client side certificates with go
This demonstrates how to make client side certificates with go
First generate the certificates with
./makecert.sh test@test.com
Run the server in one terminal
go run server.go