TIL: You can make HTTP requests without curl using Bash /dev/TCP

·Hacker News··

Minimal container images often ship without curl, wget, or any HTTP client at all. Bash can open a TCP socket through /dev/tcp, which is enough to write a tiny HTTP/1.1 request by hand for quick checks.

Read full article →

Related Articles

Backdoor in Claude Code for VS Code extension on the Cursor Marketplace
_chall · Hacker News · 11h ago
Backdoors in official Claude Code extensions
dsr_ · Hacker News · 7h ago
We're releasing the weights of Mistral Large 4
kuberwastaken · Hacker News · 1d ago
A Working Nintendo in ~1GB of Qwen Weights
dbreunig · Hacker News · 2h ago
Google Search is now less than half of Alphabet’s revenue
hubraumhugo · Hacker News · 1d ago