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 patches/chntpw-080526-correct-test-for-failing-open-syscall.patch... 0%100%100%100%100%100%Done Fetching patches/chntpw-110511-detect-failure-to-write-key.patch... 0%100%100%100%100%100%Done Fetching patches/chntpw-110511-reged-no-deref-null.patch... 0%100%100%100%100%100%Done Fetching patches/chntpw-110511-robustness.patch... 0%100%100%100%100%100%Done Fetching patches/chntpw-140201-fix-bogus-errno-use.patch... 0%100%100%100%100%100%Done Fetching patches/chntpw-140201-get_abs_path.patch... 0%100%100%100%100%100%Done Fetching patches/chntpw-140201-port-to-gcrypt-debian.patch... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done Archive: /usr/src/slapt-src-i486/misc/chntpw/chntpw-source-140201.zip creating: chntpw-140201/ inflating: chntpw-140201/edlib.c inflating: chntpw-140201/samusrgrp.c inflating: chntpw-140201/reged.c inflating: chntpw-140201/hash.c inflating: chntpw-140201/ntreg.c inflating: chntpw-140201/libsam.c inflating: chntpw-140201/samusrgrp.static inflating: chntpw-140201/chntpw.c inflating: chntpw-140201/chntpw-presplit.c inflating: chntpw-140201/LGPL.txt inflating: chntpw-140201/chntpw.static inflating: chntpw-140201/README.txt inflating: chntpw-140201/COPYING.txt inflating: chntpw-140201/GPL.txt inflating: chntpw-140201/HISTORY.txt inflating: chntpw-140201/regedit.txt inflating: chntpw-140201/ntreg.h inflating: chntpw-140201/MANUAL.txt inflating: chntpw-140201/cpnt.c inflating: chntpw-140201/sampasswd.c inflating: chntpw-140201/INSTALL.txt inflating: chntpw-140201/sampasswd.static inflating: chntpw-140201/Makefile inflating: chntpw-140201/syskey.txt inflating: chntpw-140201/sam.h inflating: chntpw-140201/reged.static inflating: chntpw-140201/WinReg.txt patching file ntreg.c Hunk #1 succeeded at 4132 (offset 1367 lines). patching file ntreg.c Hunk #1 succeeded at 3492 (offset 103 lines). patching file reged.c patching file ntreg.c Hunk #1 succeeded at 227 (offset 37 lines). Hunk #2 succeeded at 4253 (offset 130 lines). patching file ntreg.c Hunk #1 succeeded at 4240 (offset -1 lines). Hunk #2 succeeded at 4257 (offset -1 lines). patching file ntreg.c Hunk #1 succeeded at 1515 (offset 4 lines). patching file Makefile patching file chntpw.c gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -march=i586 -mtune=i686 chntpw.c chntpw.c: In function ‘handle_syskey’: chntpw.c:872:31: warning: iteration 11 invokes undefined behavior [-Waggressive-loop-optimizations] 872 | ff->syskeyflags1[i] = 0; | ~~~~~~~~~~~~~~~~~~~~^~~ chntpw.c:871:23: note: within this loop 871 | for (i = 0; i < 0x3b; i++) { | ~~^~~~~~ gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -march=i586 -mtune=i686 ntreg.c ntreg.c: In function ‘free_block’: ntreg.c:1236:14: warning: ‘prev’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1236 | prevsz = get_int(hdesc->buffer+prev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c: In function ‘trav_path’: ntreg.c:1734:58: warning: ‘adjust’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1734 | return(trav_path(hdesc, newnkofs, path+plen+adjust, type)); | ^ ntreg.c:1707:13: warning: ‘partptr’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1707 | partw = string_prog2regw(part, partptr-part, &partw_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:1659:36: warning: ‘plen’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1659 | if ((type & TPF_VK_ABS) || (!path[plen] && (type & TPF_VK) && key->no_values) ) { | ^ ntreg.c: In function ‘get_abs_path’: ntreg.c:1534:3: warning: ‘strncpy’ output may be truncated copying between 0 and 4090 bytes from a string of length 4096 [-Wstringop-truncation] 1534 | strncpy(path+len_name+1,tmp,maxlen-6-len_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c: In function ‘del_key’: ntreg.c:2893:28: warning: ‘delnk’ may be used uninitialized in this function [-Wmaybe-uninitialized] 2893 | free_block(hdesc, delnk->ofs_classnam + 0x1000); | ~~~~~^~~~~~~~~~~~~~ ntreg.c:2856:70: warning: ‘delnkofs’ may be used uninitialized in this function [-Wmaybe-uninitialized] 2856 | if (delnkofs) delnk = (struct nk_key *)(delnkofs + hdesc->buffer + 0x1004); | ^ ntreg.c: In function ‘import_reg’: ntreg.c:3946:18: warning: ‘valstr’ may be used uninitialized in this function [-Wmaybe-uninitialized] 3946 | valstr = realloc(valstr, strlen(valstr) + l + 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c: In function ‘openHive’: ntreg.c:4359:29: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized] 4359 | hdesc->lastbin = pofs - p->ofs_next; /* Compensate for loop that added at end above */ | ~^~~~~~~~~~ gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -march=i586 -mtune=i686 edlib.c gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -march=i586 -mtune=i686 libsam.c libsam.c: In function ‘sam_put_grp_members_sid’: libsam.c:514:28: warning: passing argument 1 of ‘hexdump’ from incompatible pointer type [-Wincompatible-pointer-types] 514 | if (gverbose) hexdump(&c->data, 0, c->len, 1); | ^~~~~~~~ | | | int * In file included from libsam.c:47: ntreg.h:394:20: note: expected ‘char *’ but argument is of type ‘int *’ 394 | void hexdump(char *hbuf, int start, int stop, int ascii); | ~~~~~~^~~~ libsam.c:531:56: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘void *’ [-Wformat=] 531 | if (gverbose) printf(" copying : %d len %x, at %x\n",i,sarray[i].len, sidptr); | ~^ ~~~~~~ | | | | unsigned int void * | %p libsam.c:542:27: warning: passing argument 1 of ‘hexdump’ from incompatible pointer type [-Wincompatible-pointer-types] 542 | if (gverbose) hexdump(&c->data, 0, c->len, 1); | ^~~~~~~~ | | | int * In file included from libsam.c:47: ntreg.h:394:20: note: expected ‘char *’ but argument is of type ‘int *’ 394 | void hexdump(char *hbuf, int start, int stop, int ascii); | ~~~~~~^~~~ gcc -DUSELIBGCRYPT -g -I. -Wall -O2 -march=i586 -mtune=i686 -o chntpw chntpw.o ntreg.o edlib.o libsam.o -lgcrypt -lgpg-error gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -march=i586 -mtune=i686 cpnt.c gcc -DUSELIBGCRYPT -g -I. -Wall -O2 -march=i586 -mtune=i686 -o cpnt cpnt.o -lgcrypt -lgpg-error gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -march=i586 -mtune=i686 reged.c reged.c: In function ‘main’: reged.c:218:30: warning: ‘ch’ may be used uninitialized in this function [-Wmaybe-uninitialized] 218 | if (logchange) fprintf(ch,"%s ",hive[il]->filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DUSELIBGCRYPT -g -I. -Wall -O2 -march=i586 -mtune=i686 -o reged reged.o ntreg.o edlib.o gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -march=i586 -mtune=i686 samusrgrp.c gcc -DUSELIBGCRYPT -g -I. -Wall -O2 -march=i586 -mtune=i686 -o samusrgrp samusrgrp.o ntreg.o libsam.o gcc -c -DUSELIBGCRYPT -g -I. -Wall -O2 -march=i586 -mtune=i686 sampasswd.c sampasswd.c: In function ‘main’: sampasswd.c:141:7: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized] 141 | int ret, wret, il; | ^~~ gcc -DUSELIBGCRYPT -g -I. -Wall -O2 -march=i586 -mtune=i686 -o sampasswd sampasswd.o ntreg.o libsam.o Slackware package maker, version 3.14159265. 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-i486/misc/chntpw/chntpw-140201-i586-1salix15.0.txz ./ install/ install/slack-desc usr/ usr/bin/ usr/bin/chntpw usr/bin/cpnt usr/bin/reged usr/doc/ usr/doc/chntpw-140201/ usr/doc/chntpw-140201/COPYING.txt usr/doc/chntpw-140201/GPL.txt usr/doc/chntpw-140201/HISTORY.txt usr/doc/chntpw-140201/INSTALL.txt usr/doc/chntpw-140201/LGPL.txt usr/doc/chntpw-140201/README.txt usr/doc/chntpw-140201/WinReg.txt usr/doc/chntpw-140201/chntpw.SlackBuild usr/doc/chntpw-140201/regedit.txt usr/doc/chntpw-140201/syskey.txt Slackware package /usr/src/slapt-src-i486/misc/chntpw/chntpw-140201-i586-1salix15.0.txz created. Installing package chntpw-140201-i586-1salix15.0... | 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/ | | | | |