Show HN: File that is both valid bash and PowerShell, and replaces curl – bash
Category: devtools
Tags: shell, http, polyglot, devops, security
Score: 8.0/10 (Innovation: 8, Technical: 8, Documentation: 9, Utility: 7)
This project provides a set of HTTP client tools implemented as single-file shell scripts that require no external dependencies like curl or wget, and includes a file that is simultaneously valid bash and PowerShell. The clever polyglot technique and the focus on security (hash verification before execution) make it interesting.
Target audience: devops engineers, system administrators, backend developers
Repository: https://github.com/remcovanmook/hexec · Shell · NOASSERTION
View on Hacker News