PSK-CRACK(1)

πŸ“¦
version 1.9.5 Β· 2 versions
  • 1.9.5 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.9.4 Β· epel 9
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– PSK-CRACK πŸ’–

okay bestie, gather round, because this is the manual page for psk-crack, a General Commands Manual page, and it's literally about cracking IKE Aggressive Mode Pre-Shared Keys. yes. we're doing this. πŸŽ€


✨ NAME ✨

psk-crack β€” crack IKE Aggressive Mode pre-shared keys, no cap. πŸ”“


🌸 SYNOPSIS 🌸

psk-crack [options] <psk-parameters-file>

So like. <psk-parameters-file> is a file that has the parameters for the pre-shared key cracking process inside it, in the format that ike-scan generates when you use the --pskcrack (-P) option. 🫢

And here's the tea: that file can hold one or more entries. If there's more than one, each one has to be on its own separate line. one per line, bestie, we don't do chaos. πŸ“

This program can crack MD5 or SHA1-based hashes, and it figures out which one on its own β€” the type is automatically determined from the length of the hash:

  • 16 bytes β†’ MD5
  • 20 bytes β†’ SHA1

Every entry in <psk-parameters-file> gets handled separately, so you can totally crack a mixture of MD5 and SHA1 hashes in one go. slay. 🌈

Also, psk-crack can crack the proprietary hash format used by Nortel Contivity / VPN Router systems. When you're doing that, you need to specify the username of the hash you're cracking with the --norteluser (-u) option. And when you're cracking Nortel format hashes, you can only crack one hash at a time. one. that's it. πŸ™ˆ

By default, psk-crack does dictionary cracking using the default dictionary. You can swap that dictionary out with the --dictionary (-d) option, or you can pick brute-force cracking with the --bruteforce (-B) option. choose your fighter. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

psk-crack attempts to crack IKE Aggressive Mode pre-shared keys that you already gathered using ike-scan with the --pskcrack option. like, you gotta get them first, this is the step two. ✨

psk-crack can operate in two different modes:

  1. Dictionary cracking mode β€” this is the default mode. psk-crack tries each candidate word from the dictionary file, in turn, until it finds a match, or until all the words in the dictionary have been tried. one by one, patiently, iconically. πŸ’œ
  2. Brute-force cracking mode β€” in this mode, psk-crack tries all possible combinations of a specified character set up to a given length. all of them. every single one. 🫑

πŸ‘‘ OPTIONS πŸ‘‘

  • --help, -h β€” Display this usage message and exit. bye bestie πŸ‘‹
  • --version, -V β€” Display program version and exit. who are you, what era πŸ’«
  • --verbose, -v β€” Display verbose progress messages. she's narrating her whole journey πŸŽ™οΈ
  • --dictionary=<f>, -d <f> β€” Set dictionary file to <f>. The default is /usr/local/share/ike-scan/psk-crack-dictionary. πŸ“
  • --norteluser=<u>, -u <u> β€” Specify the username for Nortel Contivity cracking. This option is required when cracking pre-shared keys on Nortel Contivity / VPN Router systems. These systems use a proprietary method to calculate the hash that includes the username. This option is only needed when cracking Nortel format hashes, and should not be used for standard format hashes. 🚫
  • --bruteforce=<n>, -B <n> β€” Select bruteforce cracking up to <n> characters. πŸ”₯
  • --charset=<s>, -c <s> β€” Set bruteforce character set to <s>. Default is "0123456789abcdefghijklmnopqrstuvwxyz". 🌟
fr fr, read the --norteluser one twice. required for Nortel, and a hard do not use for standard format hashes. the vibes are specific. πŸ’€

πŸ’œ AUTHOR πŸ’œ

Roy Hills <Roy.Hills@nta-monitor.com> β€” thank you king 🫢


okay that's the whole page!! πŸ’– this version of PSK-CRACK(1) is from the General Commands Manual and it's dated February 14, 2005 β€” a Valentine's Day release, which is genuinely so iconic of it. πŸŽ€ mwah, bye bestie, go crack some pre-shared keys (responsibly, and only on stuff you're allowed to) 🌈✨

πŸ“¦ where this page comes from