Re:Detecting the use of “curl – bash” server side (2016)
by Ambroisie on Wednesday December 09, 2020 @07:01AM
(#25357716)
You can put the redirection before the command name, which keeps the same left to right flow.
[ Parent
| on HN ]
Re:Detecting the use of “curl – bash” server side (2016)
by dspillett on Wednesday December 09, 2020 @07:37AM
(#25357877)
Though the arrow still points the wrong way, if I'm being fussy.
I was also about to suggest that was shell specific so not available everywhere, but a quick test says it is supported by /bin/sh at least so might be POSIX and therefore widely available.