News for hackers. Stuff that matters.
Re:OpenBSD now enforcing no invalid NUL characters in shell ... by nubinetwork on Tuesday September 24, 2024 @09:36AM (#41636318)
So I can't bury a tarball inside a shell script anymore?
Re:OpenBSD now enforcing no invalid NUL characters in shell ... by josephcsible on Tuesday September 24, 2024 @09:39AM (#41636340)
You still can; it just needs to go at the end:

> It remains possible to put arbitrary bytes AFTER the parts of the shell script that get parsed & executed (like some Solaris patch files do).

Re:OpenBSD now enforcing no invalid NUL characters in shell ... by volkadav on Tuesday September 24, 2024 @09:40AM (#41636355)
Looks like you might be able to at the end of the file, reading the commit message, just not willy-nilly in the middle. :)