CCGUESS(1)
π CCGUESS(1) π
ok so this is the manual page for ccguess, living in section 1 (user commands) of the Encryption manual set. she's a little key-hunting tool and she's about to become your bestie π«Ά
β¨ NAME β¨
ccguess β search for ccrypt encryption keys π
πΈ SYNOPSIS πΈ
ccguess [options] file...
π¦ DESCRIPTION π¦
okay so here's the vibe. ccguess is out here trying to guess ccrypt(1) encryption keys by searching the relevant part of the key space. how? it asks you for an approximate key, then tries a whole bunch of variations on it. the whole point is helping ccrypt girlies recover keys they mistyped or straight-up forgot β as long as they remember at least part of the key. no cap π
now bestie, let's be real:ccrypthas strong cryptographic security. there are no special back doors, no shortcuts, no secret cheat codes for recovering forgotten keys. soccguessdoes not have any special powers. she's just out here trying different keys until a possible match shows up. that's it. that's the whole thing. π
searching the entire key space is usually not a practical option, so instead ccguess prompts you for an approximate key and tries all the variations you can get by applying a small number of changes. and what counts as a change? every change is one of these four:
- a deletion of one letter
- an insertion of one letter
- a replacement of one letter by another
- a transposition of two adjacent letters
by default, ccguess searches all keys that differ from the approximate key by up to 5 changes. you can adjust how many changes get searched with the --depth option.
the way ccguess decides whether a key is a "possible match" is the same mechanism ccrypt uses to reject non-matching decryption keys. and there's a small chance of a false match β like, ccguess might find a key that turns out not to be the true encryption key and doesn't actually decrypt the file correctly π. a false match happens approximately once for every 4.3 billion keywords tried, so the longer your search goes on, the higher the likelihood that a false match is found. normally ccguess stops after the first possible match is found, but the -c option lets you search for additional keys. you can reduce the possibility of a false match even further by supplying multiple files that were encrypted with the same key. in that case, ccguess will search for keys that match any of the files, but will print a warning for keys that do not match all of the files. π
π OPTIONS π
the following options are supported:
-h,--helpβ help. print usage information and exit. the "wait what do i do" button π-L,--licenseβ print license info and exit. legal girlie moment π-V,--versionβ print version info and exit. β¨-Kkey,--keykey β specify the approximate key on the command line, rather than prompting the user for it. no awkward prompt, just vibes.-dn,--depthn β search keys that contain up to n changes. the default is 5.-c,--continueβ keep trying more keys even after the first match is found. by default,ccguesswill stop after the first key is found that matches all input files. (she's persistent, she's committed, she's giving main character energy π₯)-tchars,--chartablechars β specify the list of characters to try for replacements and insertions. by default,ccguesswill try all printable ASCII characters. if you know, for example, that your key only used lowercase letters and numbers, you can speed up the search by specifying a list of characters explicitly. this option is mutually exclusive with-n.-n,--non-printableβ allow non-printable characters in keys. by default,ccguesswill only try printable ASCII characters. note that the use of this option slows down the search significantly. this option is mutually exclusive with-t.
π ARGUMENTS π
fileβ the name of a file that has been encrypted with the unknown key. this file is only read from, not written to (she would never β). the special filename-is used to denote standard input.
if multiple files are specified, ccguess will search for keys that match any of the files, but will print a warning for keys that do not match all of the files.
π EXAMPLE π
suppose the file myfile.cpt has been encrypted with the key "gardenhouse", but the user remembers "gardenhose". the command
ccguess -K gardenhose myfile.cpt
will find the correct key after 2318 guesses. and honestly? slay. π
β EXIT STATUS β
the exit status is 0 if at least one possible match is found, 1 if no matches are found, and >=2 if an error occurred.
π VERSION π
1.11
π§ AUTHOR π§
Peter Selinger <selinger at users.sourceforge.net>
π COPYRIGHT π
Copyright (C) 2000-2018 Peter Selinger
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. See also http://www.gnu.org/.
and that's the whole page bestie, hope it ate π«Ά this was Version 1.11, dated July 2018, and yes she really does just say CCGUESS(1) at the bottom like that. iconic. bye π
β¨
π¦ where this page comes from
- debian bookworm: ccrypt 1.11-2 Β· GPL-2.0-or-later
- debian trixie: ccrypt 1.11-5 Β· GPL-2.0-or-later
- nixpkgs unstable: ccrypt 1.11
- ubuntu jammy: ccrypt 1.11-2 Β· GPL-2.0-or-later
- ubuntu noble: ccrypt 1.11-3build1 Β· GPL-2.0-or-later
- ubuntu questing: ccrypt 1.11-5
- ubuntu resolute: ccrypt 1.11-6 Β· GPL-2.0-or-later
- ubuntu stonking: ccrypt 1.11-7 Β· GPL-2.0-or-later
- Copyright (C) 2000-2018 Peter Selinger
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms