This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ "$1" == "" ]]; then | |
echo "Usage: $(basename $0) <proxy hostname>" | |
exit 1 | |
fi | |
PROXY=$1 | |
if ! type curl >/dev/null 2>&1; then | |
echo "curl must be installed" | |
exit 2 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jun 19 23:54:12 zeus.webvictim.net teleport[136648]: 2022-06-19T23:54:12-03:00 DEBU [NODE:PROX] Ping -> 1.2.3.4:3024. leaseID:1 target:teleport.example.com:3024 reversetunnel/agent.go:497 | |
Jun 19 23:54:42 zeus.webvictim.net teleport[136648]: 2022-06-19T23:54:42-03:00 DEBU [NODE:PROX] Ping -> 1.2.3.4:3024. leaseID:1 target:teleport.example.com:3024 reversetunnel/agent.go:497 | |
Jun 19 23:55:12 zeus.webvictim.net teleport[136648]: 2022-06-19T23:55:12-03:00 DEBU [NODE:PROX] Ping -> 1.2.3.4:3024. leaseID:1 target:teleport.example.com:3024 reversetunnel/agent.go:497 | |
Jun 19 23:55:42 zeus.webvictim.net teleport[136648]: 2022-06-19T23:55:42-03:00 DEBU [NODE:PROX] Ping -> 1.2.3.4:3024. leaseID:1 target:teleport.example.com:3024 reversetunnel/agent.go:497 | |
Jun 19 23:56:12 zeus.webvictim.net teleport[136648]: 2022-06-19T23:56:12-03:00 DEBU [NODE:PROX] Ping -> 1.2.3.4:3024. leaseID:1 target:teleport.example.com:3024 reversetunnel/agent.go:497 | |
Jun 19 23:56:42 zeus.webvictim.net teleport[136648]: 2022-06-19T23:56:42-03:00 DEBU |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eo pipefail | |
# set config file path on command line | |
if [[ "$1" == "" ]] || [[ "$2" == "" ]]; then | |
echo "Usage: $(basename $0) <tag to use> <path to config file>" | |
exit 1 | |
fi | |
# AWS tag to use for nodename | |
TAG_NAME="$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am webvictim on github. | |
* I am webvictim (https://keybase.io/webvictim) on keybase. | |
* I have a public key whose fingerprint is 9467 2CA2 B24E BA0C 0A52 4C5E B5F1 EC10 F403 4D1A | |
To claim this, I am signing this object: |