News for hackers. Stuff that matters.
Re:TIL: You can make HTTP requests without curl using Bash /... by HeadlessChild on Wednesday June 17, 2026 @12:47AM (#48565791)
It is nice for a basic port knocking as well.

   timeout 5s bash -c "echo >/dev/tcp/google.com/443" && echo "port open" || echo "port closed"
This uses the timeout command from coreutils though, so it is not a pure bash implementation.

There are no comments on this comment yet.