The following packages will be installed: chntpw Fetching README... 0%100%100%100%100%100%Done Fetching chntpw.SlackBuild... 0%100%100%100%100%100%Done Fetching chntpw.info... 0%100%100%100%100%100%Done Fetching defaultarch.patch.gz... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done Archive: /usr/src/slapt-src/misc/chntpw/chntpw-source-110511.zip creating: chntpw-110511/ inflating: chntpw-110511/ntreg.c inflating: chntpw-110511/edlib.c inflating: chntpw-110511/hash.c inflating: chntpw-110511/WinReg.txt inflating: chntpw-110511/Makefile inflating: chntpw-110511/chntpw-before.c inflating: chntpw-110511/HISTORY.txt inflating: chntpw-110511/syskey.txt inflating: chntpw-110511/sam.h inflating: chntpw-110511/cpnt.c inflating: chntpw-110511/INSTALL.txt inflating: chntpw-110511/reged.c inflating: chntpw-110511/README.txt inflating: chntpw-110511/regedit.txt inflating: chntpw-110511/reged.static inflating: chntpw-110511/COPYING.txt inflating: chntpw-110511/LGPL.txt inflating: chntpw-110511/GPL.txt inflating: chntpw-110511/chntpw.static inflating: chntpw-110511/ntreg.h inflating: chntpw-110511/chntpw.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.old 2011-05-11 21:33:56.000000000 +0200 |+++ Makefile 2012-05-25 12:20:00.921231452 +0200 -------------------------- patching file Makefile Using Plan A... Hunk #1 succeeded at 13. done gcc -c -DUSEOPENSSL -g -I. -I/usr/include -Wall chntpw.c gcc -c -DUSEOPENSSL -g -I. -I/usr/include -Wall ntreg.c ntreg.c: In function 'parse_nk': ntreg.c:467:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x type = 0x%02x %s\n", D_OFFS(type) ,key->type, ^ ntreg.c:469:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x timestamp skipped\n", D_OFFS(timestamp) ); ^ ntreg.c:470:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x parent key offset = 0x%0x\n", D_OFFS(ofs_parent) ,key->ofs_parent + 0x1000); ^ ntreg.c:471:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x number of subkeys = %d\n", D_OFFS(no_subkeys),key->no_subkeys); ^ ntreg.c:472:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x lf-record offset = 0x%0x\n",D_OFFS(ofs_lf),key->ofs_lf + 0x1000); ^ ntreg.c:473:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x number of values = %d\n", D_OFFS(no_values),key->no_values); ^ ntreg.c:474:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x val-list offset = 0x%0x\n",D_OFFS(ofs_vallist),key->ofs_vallist + 0x1000); ^ ntreg.c:475:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x sk-record offset = 0x%0x\n",D_OFFS(ofs_sk),key->ofs_sk + 0x1000); ^ ntreg.c:476:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x classname offset = 0x%0x\n",D_OFFS(ofs_classnam),key->ofs_classnam + 0x1000); ^ ntreg.c:478:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x dummy3 = 0x%0x (%d)\n",D_OFFS(dummy3),key->dummy3,key->dummy3); ^ ntreg.c:479:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x dummy4 = 0x%0x (%d)\n",D_OFFS(dummy4),key->dummy4,key->dummy4); ^ ntreg.c:480:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x dummy5 = 0x%0x (%d)\n",D_OFFS(dummy5),key->dummy5,key->dummy5); ^ ntreg.c:481:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x dummy6 = 0x%0x (%d)\n",D_OFFS(dummy6),key->dummy6,key->dummy6); ^ ntreg.c:482:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x dummy7 = 0x%0x (%d)\n",D_OFFS(dummy7),key->dummy7,key->dummy7); ^ ntreg.c:484:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x name length = %d\n", D_OFFS(len_name),key->len_name); ^ ntreg.c:485:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x classname length = %d\n", D_OFFS(len_classnam),key->len_classnam); ^ ntreg.c:487:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x Key name: <",D_OFFS(keyname) ); ^ ntreg.c: In function 'parse_vk': ntreg.c:505:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x name length = %d (0x%0x)\n", D_OFFS(len_name), ^ ntreg.c:507:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x length of data = %d (0x%0x)\n", D_OFFS(len_data), ^ ntreg.c:509:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x data offset = 0x%0x\n",D_OFFS(ofs_data),key->ofs_data + 0x1000); ^ ntreg.c:510:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x value type = 0x%0x %s\n", D_OFFS(val_type), key->val_type, ^ ntreg.c:513:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x flag = 0x%0x\n",D_OFFS(flag),key->flag); ^ ntreg.c:514:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x *unused?* = 0x%0x\n",D_OFFS(dummy1),key->dummy1); ^ ntreg.c:516:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x Key name: <",D_OFFS(keyname) ); ^ ntreg.c: In function 'parse_sk': ntreg.c:534:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x *unused?* = %d\n" , D_OFFS(dummy1), key->dummy1 ); ^ ntreg.c:535:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x Offset to prev sk = 0x%0x\n", D_OFFS(ofs_prevsk), key->ofs_prevsk + 0x1000); ^ ntreg.c:536:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x Offset to next sk = 0x%0x\n", D_OFFS(ofs_nextsk), key->ofs_nextsk + 0x1000); ^ ntreg.c:537:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x Usage counter = %d (0x%0x)\n", D_OFFS(no_usage), ^ ntreg.c:539:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x Security data len = %d (0x%0x)\n", D_OFFS(len_sk), ^ ntreg.c: In function 'parse_lf': ntreg.c:558:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); ^ ntreg.c:561:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x %3d Offset: 0x%0x - <%c%c%c%c>\n", ^ ntreg.c: In function 'parse_lh': ntreg.c:586:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); ^ ntreg.c:589:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x %3d Offset: 0x%0x - \n", ^ ntreg.c: In function 'parse_li': ntreg.c:613:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); ^ ntreg.c:616:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x %3d Offset: 0x%0x\n", ^ ntreg.c: In function 'parse_ri': ntreg.c:638:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x number of subindices = %d\n", D_OFFS(no_lis), key->no_lis ); ^ ntreg.c:641:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x %3d Offset: 0x%0x\n", ^ ntreg.c: In function 'parse_db': ntreg.c:660:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x number of parts = %d\n", D_OFFS(no_part), key->no_part ); ^ ntreg.c:662:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("%04x Data list at offset: 0x%0x\n", ^ ntreg.c: In function 'alloc_val_data': ntreg.c:2054:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] datablk = vkofs + (int32_t)&(vkkey->ofs_data) - (int32_t)vkkey; ^ ntreg.c:2054:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] datablk = vkofs + (int32_t)&(vkkey->ofs_data) - (int32_t)vkkey; ^ ntreg.c: In function 'import_reg': ntreg.c:3773:11: warning: variable 'valbuf' set but not used [-Wunused-but-set-variable] void *valbuf; ^ gcc -c -DUSEOPENSSL -g -I. -I/usr/include -Wall edlib.c edlib.c: In function 'regedit_interactive': edlib.c:459:18: warning: variable 'cdkey' set but not used [-Wunused-but-set-variable] struct nk_key *cdkey; ^ gcc -DUSEOPENSSL -g -I. -I/usr/include -Wall -o chntpw chntpw.o ntreg.o edlib.o -L/usr/lib64 /usr/lib64/libcrypto.a gcc -static -DUSEOPENSSL -g -I. -I/usr/include -Wall -o chntpw.static chntpw.o ntreg.o edlib.o -L/usr/lib64 /usr/lib64/libcrypto.a gcc -c -DUSEOPENSSL -g -I. -I/usr/include -Wall cpnt.c gcc -DUSEOPENSSL -g -I. -I/usr/include -Wall -o cpnt cpnt.o -L/usr/lib64 /usr/lib64/libcrypto.a gcc -c -DUSEOPENSSL -g -I. -I/usr/include -Wall reged.c gcc -DUSEOPENSSL -g -I. -I/usr/include -Wall -o reged reged.o ntreg.o edlib.o gcc -static -DUSEOPENSSL -g -I. -I/usr/include -Wall -o reged.static reged.o ntreg.o edlib.o cp chntpw /usr/src/slapt-src/misc/chntpw/package-chntpw/usr/bin/. cp chntpw.static /usr/src/slapt-src/misc/chntpw/package-chntpw/usr/bin/. cp cpnt /usr/src/slapt-src/misc/chntpw/package-chntpw/usr/bin/. cp reged /usr/src/slapt-src/misc/chntpw/package-chntpw/usr/bin/. cp reged.static /usr/src/slapt-src/misc/chntpw/package-chntpw/usr/bin/. Slackware package maker, version 3.141593. Searching for symbolic links: No symbolic links were found, so we won't make an installation script. You can make your own later in ./install/doinst.sh and rebuild the package if you like. This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src/misc/chntpw/chntpw-110511-x86_64-1salix.txz ./ usr/ usr/bin/ usr/bin/reged.static usr/bin/reged usr/bin/cpnt usr/bin/chntpw usr/bin/chntpw.static usr/doc/ usr/doc/chntpw-110511/ usr/doc/chntpw-110511/regedit.txt usr/doc/chntpw-110511/INSTALL.txt usr/doc/chntpw-110511/README.txt usr/doc/chntpw-110511/syskey.txt usr/doc/chntpw-110511/chntpw.SlackBuild usr/doc/chntpw-110511/GPL.txt usr/doc/chntpw-110511/LGPL.txt usr/doc/chntpw-110511/COPYING.txt usr/doc/chntpw-110511/HISTORY.txt usr/doc/chntpw-110511/WinReg.txt install/ install/slack-desc Slackware package /usr/src/slapt-src/misc/chntpw/chntpw-110511-x86_64-1salix.txz created. Installing package chntpw-110511-x86_64-1salix... | chntpw (Change NT Passwords) | | View some information and change user passwords in a Windows | (NT/XP/Vista/win7) etc SAM userdatabase file. You do not need to | know the old passwords.Ophcrack is a free Windows password cracker | based on rainbow tables. | | Homepage: http://pogostick.net/~pnh/ntpasswd/ | | | | |