Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
gsocket — Connect like there is no firewall. Securely. | Kitploit
Tools/GitHubGitHub/hackerschoice/gsocket
Encryption/Decryption ToolsPersistence MechanismsLateral MovementData ExfiltrationPost-ExploitationNetwork SecurityCryptographyPenetration TestingCommand and ControlRed TeamingRemote Access Tool
1.9k2023 days agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
GitHubhackerschoice/gsocket

gsocket

Connect like there is no firewall. Securely.

View RepositoryWebsite

Global Socket

GitHub release License GitHub Build GitHub Quality GitHub Platform GitHub coverage Maintenance Website shields.io Github all downloads GitHub telegram GitHub twitter GitHub stars

Connect like there is no firewall. Securely.

The Global Socket Tookit allows two users behind NAT/Firewall to establish a TCP connection with each other. Securely.

More on https://www.gsocket.io.

Watch the video

Video 1: gs-netcat reverse login shell and EEElite-console
Video 2: Using gsocket to hijack OpenSSH
Video 3: Blitz files through firewalls

Features:

  • Uses the Global Socket Relay Network to connect TCP pipes
  • End-2-End encryption (using OpenSSL's SRP / RFC 5054)
  • AES-256 & key exchange using 4096-bit Prime
  • No PKI required.
  • Perfect Forward Secrecy
  • TOR support (optional)

Abandon the thought of IP Addresses and Port Numbers. Instead start thinking that two programs should be able to communicate with each other as long as they know the same secret (rather than each other's IP Address and Port Number). The Global Socket library facilitates this: It locally derives temporary session keys and IDs and connects two programs through the Global Socket Relay Network (GSRN) regardless and independent of the local IP Address or geographical location. Once connected the library then negotiates a secure TLS connection(End-2-End). The secret never leaves your workstation. The GSRN sees only the encrypted traffic.

The GSRN is a free cloud service and is free to use by anyone.

The Global Socket Toolkit comes with a set of tools:

  • gsocket - Makes an existing program (behind firewall or NAT) accessible from anywhere in the world. It does so by analyzing the program and replacing the IP-Layer with its own Gsocket-Layer. A client connection to a hostname ending in '*.gsocket' then gets automatically redirected (via the GSRN) to this program.
  • gs-netcat - Netcat on steroids. Turn gs-netcat into an AES-256 encrypted reverse backdoor via TOR (optional) with a true PTY/interactive command shell (gs-netcat -s MySecret -i), integrated file-transfer, spawn a Socks4/4a/5 proxy or forward TCP connections or give somebody temporary shell access.
  • gs-sftp - sftp server & client between two firewalled workstations (gs-sftp -s MySecret)
  • gs-mount - Access and mount a remote file system (gs-mount -s MySecret ~/mnt/warez)
  • blitz - Copy data from workstation to workstation (blitz -s MySecret /usr/share/*)
  • ...many more examples and tools.
Staticpre-compiled static binaries for AMD64, ARM64, MIPS, ...
Sourcegsocket-1.4.41.tar.gz (Linux, MacOS, FreeBSD, OpenBSD, Solaris)
.debx86_64, aarch64, ...more architectures
Windowsgs-netcat only or use docker or cygwin
Man Pagegsocket(1), gs-netcat(1), gs-mount(1), gs-sftp(1), blitz(1)
Dockerdocker run --rm -it hackerschoice/gsocket
Dockerdocker run --rm -it hackerschoice/gsocket-tor # gs via TOR

Examples

Allexamples
OpenSSH via GSRNexamples/sshd
WireGuard via GSRNexamples/wireguard
Root-Shell via GSRNexamples/systemd-root-shell
IRCD via GSRNexamples/port-forward

Follow the Installation Instructions for all major Operating Systems.


Usage:

  1. Log in to Workstation A from Workstation B through any firewall/NAT
$ gs-netcat -l -i   # Workstation A
$ gs-netcat -i      # Workstation B

See also: gs-netcat(1)

  1. A Simple TCP forward
$ gs-netcat -l -d 127.0.0.1 -p 22  # Workstation A
$ gs-netcat -p 2222                # Workstation B
# A connection on B's port 2222 will end up on A's port 22
$ nc -vn 127.0.0.1 2222            
  1. SSH from Workstation B to Workstation A through any firewall/NAT
$ gsocket /usr/sbin/sshd     # Workstation A
$ gsocket ssh root@gsocket   # Workstation B

See also: gsocket(1)

  1. Transfer files from Workstation B to Workstation A
$ blitz -l                         # Workstation A
$ blitz /usr/share/*  /etc/*       # Workstation B

See also: blitz(1)

Download Tool