-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop tmate for ngrok and Tor; add collaboration
Tmate did not adequately support the necessary features of tmux required for session groups that would allow proper collaboration. Instead we use ttyd and/or an SSH server with an actual tmux process configured the way we need. For more information on the shortcomings of tmate in this particular case, see (among others): tmate-io/tmate#49
- Loading branch information
Showing
5 changed files
with
148 additions
and
59 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
console_ui: false | ||
log: /home/runner/ngrok.log | ||
log_format: json | ||
web_addr: false | ||
tunnels: | ||
ttyd: | ||
proto: http | ||
addr: 7681 | ||
inspect: false | ||
ssh: | ||
proto: tcp | ||
addr: 22 | ||
inspect: false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Create a new tmux session with a randomized identifier | ||
cd ~/ctf && tmux new-session -s "ctf""$(date +%s | sed "s/\(.\)/\1\n/g" | head -n -1 | shuf | tail -n 6 | tr -d "\n")" -t ctf |