winpr-hash(1)

πŸ“¦
version 3.32.1 Β· 5 versions
, in ubuntu noble

πŸ’– 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 πŸŽ€

  • -u username β€” the username to use. she needs to know who we're talking about 🫢
  • -p password β€” password to use. keep it secret, keep it safe πŸ™ˆ
  • -d domain β€” an optional parameter to specify the domain of the user. optional!! but sometimes the vibe check requires it, see -v below πŸ‘€
  • -f format β€” specify the output format. the default outputs only the plain NTLM hash. the second output format available is sam, 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 πŸ’…

  • -v version β€” 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