736 B
736 B
ish (insecure shell)
most horrible way to access a server
this tool opens a udp (yes, udp. who the fuck needs to make sure their packets are sent successfully) socket and accepts commands to be sent, there is no password, cus security is for pussies. oh also there's a hardcoded limit of 1024 bytes, idk what would happen if someone sends bigger than that
other features:
- the shell process is killed after the output is sent, every time a new request is sent
- you're stuck with /bin/sh, so no bash
- the directory of sh is hardcoded, so this wont work on nixos
usage: run go run ./src/.
, and to send a command run echo -n "<command>" | socat - udp:localhost:5060
on another terminal. have fun with your insecure shell :)