home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / hacking / unix / crackunx.txt / Sources / crack-glob.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-25  |  1.4 KB  |  47 lines

  1. #include "crack.h"
  2.  
  3. char version[] = "4.1f";    /* version of prog */
  4. char runtime[] = "Runtime";
  5. char feedback_string[] = "!fb!";
  6. char rulefile[] = "Scripts/dicts.rules";
  7. char gecosfile[] = "Scripts/gecos.rules";
  8. char nastygram[] = "Scripts/nastygram";
  9. char zcat[] = ZCAT;
  10. char pcat[] = PCAT;
  11.  
  12. /* runtime variable declarations */
  13.  
  14. int pid;            /* current process ID */
  15. int pwlength = 8;        /* significant length of a password */
  16. struct USER *userroot;        /* root of linked list of users */
  17. struct RULE *ruleroot;        /* root of linked list of rules */
  18. struct RULE *gecosroot;        /* root of linked list of (gecos) rules */
  19. struct DICT *dictroot;        /* root of linked list of words */
  20.  
  21. /* datafile variables */
  22.  
  23. char diefile[STRINGSIZE];    /* where die output goes... */
  24. char feedbackfile[STRINGSIZE];    /* where feedback ouytput goes */
  25. char opfile[STRINGSIZE];    /* where Log() output goes */
  26. char pointfile[STRINGSIZE];    /* checkpointing */
  27. char this_hostname[STRINGSIZE];    /* gethostname() hack */
  28.  
  29. /* recover variables */
  30.  
  31. char old_hostname[STRINGSIZE];    /* next 4 vars used in recovery */
  32. char old_dictname[STRINGSIZE];
  33. char old_rule[STRINGSIZE];
  34. int old_usernum;
  35. char old_username[STRINGSIZE];
  36.  
  37. /* switches */
  38. char input_file[STRINGSIZE];
  39. int foreground_bool;
  40. int remote_bool;
  41. int nice_value;
  42. int recover_bool;
  43. char recover_file[STRINGSIZE];
  44. int verbose_bool;
  45. char supplied_name[STRINGSIZE];
  46. int mail_bool;
  47.