chntpw: import version 140201

This is a utility to reset the password of any user that has a valid local
account on your Windows system.

It supports all Windows from NT3.5 to Win8.1, also 64 bit and also the Server
versions (like 2003, 2008, 2012)

Knowing the old password is not needed to set a new one.

It will detect and offer to unlock locked or disabled out user accounts!

There is also a registry editor and other registry utilities that works under
linux/unix, and can be used for other things than password editing.
This commit is contained in:
Pierre Pronchery 2020-02-10 06:26:27 +01:00
parent a55fef11b6
commit 5e8314210d
5 changed files with 72 additions and 0 deletions

View File

@ -384,6 +384,7 @@ SUBDIR+= chems
SUBDIR+= cherokee
SUBDIR+= chezscheme
SUBDIR+= chibi-scheme
SUBDIR+= chntpw
SUBDIR+= choosefont
SUBDIR+= chora
SUBDIR+= chromium

12
chntpw/DESCR Normal file
View File

@ -0,0 +1,12 @@
This is a utility to reset the password of any user that has a valid local
account on your Windows system.
It supports all Windows from NT3.5 to Win8.1, also 64 bit and also the Server
versions (like 2003, 2008, 2012)
Knowing the old password is not needed to set a new one.
It will detect and offer to unlock locked or disabled out user accounts!
There is also a registry editor and other registry utilities that works under
linux/unix, and can be used for other things than password editing.

37
chntpw/Makefile Normal file
View File

@ -0,0 +1,37 @@
# $NetBSD$
DISTNAME= chntpw-source-140201
PKGNAME= ${DISTNAME:S/-source//}
CATEGORIES= security
MASTER_SITES= https://pogostick.net/~pnh/ntpasswd/
EXTRACT_SUFX= .zip
MAINTAINER= khorben@defora.org
HOMEPAGE= https://pogostick.net/~pnh/ntpasswd/
COMMENT= Offline registry tools and password resetter
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
MAKE_FLAGS+= CFLAGS="-DUSEOPENSSL -g -I. -Wall"
MAKE_FLAGS+= LIBS=
BUILD_TARGET= chntpw cpnt reged sampasswd samusrgrp
INSTALLATION_DIRS+= bin
INSTALLATION_DIRS+= share/doc/chntpw
BINFILES= chntpw cpnt reged sampasswd samusrgrp
DOCFILES= COPYING.txt GPL.txt HISTORY.txt INSTALL.txt LGPL.txt MANUAL.txt
DOCFILES+= README.txt WinReg.txt regedit.txt syskey.txt
do-install:
.for file in ${BINFILES}
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/bin
.endfor
.for file in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/share/doc/chntpw
.endfor
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

16
chntpw/PLIST Normal file
View File

@ -0,0 +1,16 @@
@comment $NetBSD$
bin/chntpw
bin/cpnt
bin/reged
bin/sampasswd
bin/samusrgrp
share/doc/chntpw/COPYING.txt
share/doc/chntpw/GPL.txt
share/doc/chntpw/HISTORY.txt
share/doc/chntpw/INSTALL.txt
share/doc/chntpw/LGPL.txt
share/doc/chntpw/MANUAL.txt
share/doc/chntpw/README.txt
share/doc/chntpw/WinReg.txt
share/doc/chntpw/regedit.txt
share/doc/chntpw/syskey.txt

6
chntpw/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (chntpw-source-140201.zip) = a28bef3fc4e333cd1d4abe40e07c3a75348bdd8d
RMD160 (chntpw-source-140201.zip) = 3932e7184c20d9398d99b4864697307909395f20
SHA512 (chntpw-source-140201.zip) = a26d747f6e077d1bb3e9b8077781f8c37dd978e07b7426495862f15c9004572b706c34736fc4d1ed8856b1a43335d726b4d87c688f7f9a11fd6cc3a74d71a7fa
Size (chntpw-source-140201.zip) = 1404098 bytes