winpr-hash(1)
π winpr-hash β the NTLM hashing tool, bestie edition π
okay so real quick, this is winpr-hash(1) from the FreeRDP manual, and it's genuinely one of the cutest little utilities out there. let's get into it π«Ά
β¨ NAME β¨
winpr-hash β NTLM hashing tool. that's it, that's the whole job. she has one task and she slays it π
πΈ SYNOPSIS πΈ
winpr-hash -u username -p password [-d domain] [-f { default | sam }]
[-v { 1 | 2 }]
so like, -u and -p are non-negotiable, she needs those fr fr. the rest? optional, but they eat β¨
π¦ DESCRIPTION π¦
winpr-hash is a small utility that can be used to create a NTLM hash from a username and password pair. lowkey tiny, highkey useful π
the created hash can be outputted as a plain hash, or in SAM format. so you get options, you get range, you get versatility. obsessed.
π OPTIONS π
-uusername β the username to use. she needs to know who we're talking about π«Ά-ppassword β password to use. keep it secret, keep it safe π-ddomain β an optional parameter to specify the domain of the user. optional!! but sometimes the vibe check requires it, see-vbelow π-fformat β specify the output format. the default outputs only the plain NTLM hash. the second output format available issam, which outputs the created hash in a format that it can be used in a SAM file:
user:domain::hash:::
like look at that format. it's giving structure. it's giving SAM file ready π
-vversion β version lets you specify the NTLM version to use. the default is to use version 1. in case version 2 is used, a domain needs to be specified. not "should", not "would be nice", needs. no domain, no version 2, that's the rule bestie π
π EXAMPLES π
winpr-hash -u user -p password -d domain -f sam -v 2
create a version 2 NTLM hash for user with domain and password and output it in sam format. periodt. that's the whole recipe π₯
β EXIT STATUS β
0β successful program execution. we love a happy ending π₯³1β missing or invalid arguments. the "girl what did you type" era π
π AUTHOR π
FreeRDP <team@freerdp.com> β iconic, no notes, thank you for your service π
ok bye bestie, go make some hashes, and remember: version 2 means you must bring a domain with you. no exceptions π
that's the whole page!! this was winpr-hash(1) from the FreeRDP manual, version 3.32.1, dated 2017-01-11 β like, retro but still relevant, main character energy honestly β¨ππ¦
π¦ where this page comes from
- ubuntu noble: winpr3-utils 3.32.1+dfsg-0ubuntu0.24.04.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms