home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************************\
- ** Killer Cracker v9.11 LTD - Un*x /etc/passwd 'FAST' cracking engine **
- ** ======================================================================== **
- ** Sourcefile: kc.h -- Last Update: 10/07/91 **
- ** ======================================================================== **
- ** Written By Doctor Dissector, Copyright (C) 1990, 1991 **
- ** ======================================================================== **
- ** LIMITED EDITION -- DO NOT DISTRIBUTE **
- \****************************************************************************/
-
- /*=[ License ]==============================================================*/
-
- /*
- ** Killer Cracker - Version 9.11 LTD
- ** Copyright (C) 1991 By Doctor Dissector
- **
- ** This program is NOT free software BUT may be used without charge or
- ** payment in any form IF your copy is a "registered" distributed version.
- ** You may modify it as much as you please, however, you MAY NOT re-
- ** distribute it, in any shape or for: ie. modified OR unmodified,
- ** without the expressed written consent (ie. e-mail) of
- ** Doctor Dissector.
- **
- ** This program was initially 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.
- */
-
- /*=[ Disclaimer ]===========================================================*/
-
- /*
- ** The author of this package, Doctor Dissector, will not assume liability
- ** for ANY of the effects of the use or distribution of this package. If
- ** you, at ANY time compile or use this package, you will assume full
- ** liability for your own actions; Doctor Dissector can neither enforce the
- ** lawful use of this package nor your actions before, during, or after
- ** exposure to this package. Doctor Dissector does NOT endorse your unlawful
- ** use of this package to appropriate computer accounts not under your lawful
- ** ownership.
- **
- ** The original intent of this package was to prove that Un*x accounts can be
- ** easily, efficiently, and effectively cracked utilizing modified DES
- ** encryption routines and proper statistical, mathematical, logical, and
- ** programming skills.
- */
-
- /*=[ Copyright ]============================================================*/
-
- char kc_h_msg[] = "Source: kc.h, Copyright (C) 1990, 1991 By Doctor Dissector";
-
- /*=[ Debug Information ]====================================================*/
-
- /*
- ** Un-comment this if you are hacking this program and need to see extended
- ** information about the program's tested passwords
- **
- #define DEBUGGING 1
- **
- */
-
- /*=[ Compiler Dependant Defines ]===========================================*/
-
- /*
- ** The definition of the following commented values are now done
- ** automatically through use of "make" and the included Makefile.
- ** If you wish to do the definition of the compiler types and
- ** operating system types manually, un-comment one of each from
- ** each section and compile.
- */
-
- /*
- ** IMPORTANT NOTES: Turbo/Borland C/C++ & Microsoft C
- ** - You MUST also un-comment the NON_NETORDER definition.
- ** - You MUST compile and link KC under the COMPACT MEMORY MODEL
- ** or any larger memory model (large, huge).
- */
-
- /* Compiler types available
- **
- #define _TURBO 1 (Turbo C, Turbo C++, Borland C++ compilers)
- #define _MICROSOFT 1 (Microsoft C compiler)
- #define _DOS32BIT 1 (32 Bit MS/PC-DOS compiles, GCC/G++/NDP/etc...)
- #define _SYSV 1 (Un*x System V)
- #define _BSD 1 (BSD Un*x v4.x, BSD shoot-offs, Ultrix)
- #define _STRIPPED 1 (If all else fails)
- **
- */
-
- /* Operating system types available
- **
- #define _MSDOS 1 (MS/PC-DOS based systems)
- #define _UNIX 1 (Un*x based systems)
- **
- */
-
- /*=[ General Definitions ]==================================================*/
-
- #define MAX_FILE 256 /* Maximum file/pathname length */
- #define MAX_LINE 512 /* Maxmimum /etc/passwd line length */
- #define MAX_TAIL 256 /* Maximum command tail length */
- #define MAX_WORD 81 /* Maximum word length in wordfile */
-
- /*=[ Command Definitions ]==================================================*/
-
- #define ERROR_FLAG -1 /* Some error occured */
- #define FORK_FLAG 1 /* Fork process into background */
- #define HELP_FLAG 2 /* Display usage information */
- #define INACTIVE_FLAG 3 /* Display/save inactive accounts */
- #define MAXIMIZE_FLAG 4 /* Maximize system resources */
- #define PWFILE_FLAG 5 /* Passwordfile */
- #define QUIET_FLAG 6 /* Disply no output */
- #define RESTORE_FLAG 7 /* Restore session */
- #define SINGLE_FLAG 8 /* Single user(s) wordfile format */
- #define STDIN_FLAG 9 /* Stdin wordfile */
- #define TEST_FLAG 10 /* Test crypt result */
- #define TIMEOUT_FLAG 11 /* Timeout (minutes) */
- #define VALIDFILE_FLAG 12 /* Validfile */
- #define WORDFILE_FLAG 13 /* Wordfile */
-
- /*=[ Structure: cmd ]=======================================================*/
-
- struct cmd {
- char *cmd_name;
- int unique,
- cmd_code;
- };
-
- /*=[ Variable: cmdtab[] ]===================================================*/
-
- struct cmd cmdtab[] = {
- { "?", 1, HELP_FLAG },
- { "fork", 1, FORK_FLAG },
- { "help", 1, HELP_FLAG },
- { "inactive", 1, INACTIVE_FLAG },
- { "maximize", 1, MAXIMIZE_FLAG },
- { "pwfile", 1, PWFILE_FLAG },
- { "quiet", 1, QUIET_FLAG },
- { "restore", 1, RESTORE_FLAG },
- { "single", 2, SINGLE_FLAG },
- { "stdin", 2, STDIN_FLAG },
- { "test", 2, TEST_FLAG },
- { "timeout", 2, TIMEOUT_FLAG },
- { "validfile", 1, VALIDFILE_FLAG },
- { "wordfile", 1, WORDFILE_FLAG },
- 0
- };
-