Re:Curl to shell isn't so bad
by Carpetsmoker on Saturday November 09, 2019 @05:36AM
(#21490721)
As was pointed out both in the article and the comments here, this is easily addressed by wrapping everything in a function (or subshell, for that matter).
Even if your connection is TLS secured an MITM attack of causing a connection reset after X bytes could be a viable attack