Go to file
2023-09-23 09:14:33 +01:00
config/etc p3 2023-09-21 23:12:29 +01:00
contrib better ban/stop 2023-09-22 09:34:02 +01:00
encfsd 0.4.9rc1 2023-08-14 11:22:59 +01:00
gsnc routing/tc fixes 2023-04-26 18:57:44 +01:00
guest wordlists 2023-09-23 09:14:33 +01:00
host p3 2023-09-21 23:12:29 +01:00
master 0.4.9rc1 2023-08-14 11:22:59 +01:00
provision release 2023-09-18 07:37:15 +01:00
router 0.4.9rc1 2023-08-14 11:22:59 +01:00
sfbin better ban/stop 2023-09-22 09:34:02 +01:00
tools cg: refactor LAST_LOAD logic w/ Skyper suggestions 2023-07-05 20:25:51 +03:00
tor routing/tc fixes 2023-04-26 18:57:44 +01:00
.gitignore lftp 2023-03-28 20:24:58 +01:00
ChangeLog p3 2023-09-21 23:12:29 +01:00
docker-compose.yml ssh -R fix 2023-08-15 10:08:24 +01:00
Makefile p3 2023-09-21 23:12:29 +01:00
README.md Update README.md 2023-06-22 11:53:28 +01:00

segfault.net - A Server Centre Deployment

This page is for server administrators and those folks who like to run their own Segfault.net Server Centre (SSC). Running your own SSC allows you to offer root-servers to other users.

If this is not what you want and you just like to get a root-shell on your own server then please go to https://www.thc.org/segfault or try our demo deployment:

ssh root@segfault.net # the password is 'segfault'

Deploy a Server Centre:

git clone --depth 1 https://github.com/hackerschoice/segfault.git && \
cd segfault && \
export SF_SEED="$(head -c 1024 /dev/urandom | tr -dc '[:alpha:]' | head -c 32)" && \
echo "SF_SEED=${SF_SEED}" && \
make

To start execute:

SF_BASEDIR="$(pwd)" SF_SSH_PORT=2222 sfbin/sf up

Take a look at provision/env.example for a sample .env file.

The limits and constraints for all root servers are configured in config/etc/sf/sf.conf. It is possible to relax limits per individual root server by creating a file in config/db/db-<LID>/limits.conf. The is the ID of the server (type echo $SF_LID when logged in to the server). Alternatively it is possible to get the LID from the Root Server's name: cat config/db/hn/hn2lid-<SF_HOSTNAME>.

Provisioning

Provisioning turns a freshly created Linux (a bare minimum Installation) into a SSC. It's how we 'ready' a newly launched AWS Instance for SSC deployment. You likely dont ever need this but we wrote it down anyway.

GUI

SFUI is a companion project created by @messede-degod. It provides a 'Remote Desktop' (X11/Gnome) to your Root Server. It is run as a Cloud Service by the community. Try it!


Telegram: https://t.me/thcorg Twitter: https://twitter.com/hackerschoice