These disposable root servers are Docker containers inside segfault.net, mostly for experimenting with hacking tools as part of improving my security posture and having a field day in all things Linux.
.
├── home
├── repos
├── root - Root user home directory
├── usr - userspace
└── www - By default, segfault provides one with pelican, but I use Mkdocs so this will be a submodule.
# init a fresh container with a new SECRET
ssh [email protected]
# or use an existing one: ssh -o "SetEnv SECRET=whateveryouwanttoleakhere [email protected]"
# (in MobaXterm, ssh to [email protected] first and paste your secret to prompt)
# go to /sec, init git repo and add the remotes
cd /sec && git init
git remote add hut ssh://[email protected]/~ajhalili2006-experiments/segfault-config-hub
git remote add lab ssh://[email protected]/ajhalili2006-experiments/segfault-config-hub
# remind me to have the SSH and GPG keys needed and their respective agents are fired up
# either manually or via keychain
# fetch 'em all!
git fetch --all
# bless anyone on this
git checkout -f main
# to make changes effect immediately, just trigger the big guns and ssh again
halt # or kill 1
The sources are at https://github.com/hackerschoice/segfault/tree/main/guest, but be warned that the image size will go horribly to 50+ GBs on first build.