1winpr-hash(1) FreeRDP winpr-hash(1)
2
3
4
6 winpr-hash - NTLM hashing tool
7
9 winpr-hash -u username -p password [-d domain] [-f { default | sam }]
10 [-v { 1 | 2 }]
11
13 winpr-hash is a small utility that can be used to create a NTLM hash
14 from a username and password pair. The created hash can be outputed as
15 plain hash or in SAM format.
16
18 -u username
19 The username to use.
20
21 -p password
22 Password to use.
23
24 -d domain
25 A optional parameter to specify the domain of the user.
26
27 -f format
28 Specify the output format. The default outputs only the plain
29 NTLM hash. The second output format available is sam which out‐
30 puts the created hash in a format that it can be used in SAM
31 file:
32
33 user:domain::hash:::
34
35 -v version
36 Version allows it to specify the NTLM version to use. The de‐
37 fault is to use version 1. In case version 2 is used a domain
38 needs to be specified.
39
41 winpr-hash -u user -p password -d domain -f sam -v 2
42
43 Create a version 2 NTLM hash for user with domain and password and out‐
44 put it in sam format.
45
47 0 Successful program execution.
48
49 1 Missing or invalid arguments.
50
52 FreeRDP <team@freerdp.com>
53
54
55
562.7.0 2017-01-11 winpr-hash(1)