This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Using Credentials
byt3bl33d3r edited this page Apr 25, 2017
·
27 revisions
Every protocol supports using credentials in one form or another. For details on using credentials with a specific protocol, see the appropriate wiki section.
Generally speaking, to use credentials, you can run one of the following commands:
crackmapexec <protocol> 172.16.0.1/24 -u username -p password
Note: When using usernames or passwords that contain special symbols, wrap them in single quotes to make your shell interpret it as a string, for
crackmapexec <protocol> 172.16.0.1/24 -u username -p 'Admin!123@'
By specifying the credential ID with the -id
flag you can use any credential set that's been stored in the database (saves a lot of typing):
crackmapexec <protocol> 172.16.0.1/24 -id 1
See the database wiki page for more information on CME's database.