3 ms·
Bash scripts aren't usually intended to be secure. They're quickly written one-offs that do some tiny task and do it well, not usually exposed to an insecure en
by striking 11y ago
Bash scripts aren't usually intended to be secure. They're quickly written one-offs that do some tiny task and do it well, not usually exposed to an insecure environment or externally controlled input.
If you want to write a good program, use a programming language that cares about good programming. Bash et al. don't care about how good the program is, they care about getting something done quick.
- verbatim 11y agoWell, that's what we thought before the ShellShock vulnerability ended up being a major security worry due to all of the places that bash scripts end up being used.
- striking 11y agoBash doesn't come with a guarantee of usability sticker. Actually, it comes with an indemnification of liability sticker. People who are dumb enough to hammer in screws shouldn't be building houses. Whether they do or not isn't exactly my worry. Don't use the wrong tool for the job and you probably won't get burned.