ish/README.md

10 lines
768 B
Markdown
Raw Normal View History

2024-07-08 17:24:19 +02:00
# 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:
2024-07-08 17:27:19 +02:00
- the shell process is killed after the output is sent, every time a new request is sent a new child process is spawned
2024-07-08 17:24:19 +02:00
- 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 :)