bh-netcat private relay client
bh-netcat install and usage
bh-netcat is the BlackHat Socket command-line client for connecting to authorized servers through the private bhsocket.io relay. Use it with your dashboard-managed secrets instead of keeping access notes in separate files.
Install locally
Install the bh-netcat command on Linux, macOS, or Windows before connecting to deployed servers.
Deploy authorized servers
Run the deploy command from your panel on servers you own or are allowed to manage.
Save secrets in panel
Each token-based deploy appears in your user dashboard with IP, username, secret, and connect command.
Install bh-netcat
Use the install endpoint on your own workstation. This installs the client command only; it does not deploy a server listener.
bash -c "$(curl -fsSL https://www.bhsocket.io/install)"
powershell -ExecutionPolicy Bypass -Command "iwr https://www.bhsocket.io/install.ps1 -UseB | iex"
Deploy a server listener
Create an account in the BlackHat Socket panel, copy your private tokenized deploy command, and run it on an authorized server. The server record is saved automatically to your dashboard.
BH_TOKEN="YOUR_PANEL_TOKEN" bash -c "$(curl -fsSL https://www.bhsocket.io/y)"
Connect with bh-netcat
After deploy, copy the connect command from the dashboard. The standard interactive connection format is:
bh-netcat -s "SECRET_FROM_PANEL" -i
Common bh-netcat commands
bh-netcat -hshows command help.bh-netcat -ggenerates a random secret.bh-netcat -s "SECRET" -l -istarts an interactive listener.bh-netcat -s "SECRET" -iconnects to that listener.