Re:Detecting the use of “curl – bash” server side (2016)
by dastx on Wednesday December 09, 2020 @04:54AM
(#25356971)
set -x won't do much though. All it will tell you is what it did, but by the time you realise, the damage could already be done.
[ Parent
| on HN ]
Re:Detecting the use of “curl – bash” server side (2016)
by adriancr on Wednesday December 09, 2020 @05:13AM
(#25357096)
that's why you download and inspect the script first.
and you run the downloaded script, never curl|bash
Re:Detecting the use of “curl – bash” server side (2016)
by richardwhiuk on Wednesday December 09, 2020 @12:30PM
(#25361114)
And then just leave it to install whatever binary it did.