Comment by wolttam
1 day ago
curl > some_file
bash some_file
(Also, how in the world would a server be able to tell where you’re piping the response?)
Edit: thanks for the replies, that makes perfect sense
1 day ago
curl > some_file
bash some_file
(Also, how in the world would a server be able to tell where you’re piping the response?)
Edit: thanks for the replies, that makes perfect sense
Heuristically: https://web.archive.org/web/20250622061208/https://www.idont...
Timing. A megabyte of "sleep 10;" would be read from the server more slowly when piped to bash versus written to a file