![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit a749b0611ef82b0eba083b36df21065c58092725 Author: Danny Rawlins <monster.romster@gmail.com> Date: Fri Jan 13 10:43:07 2017 +1100 chntpw: initial commit diff --git a/chntpw/.footprint b/chntpw/.footprint new file mode 100644 index 0000000..2ce7543 --- /dev/null +++ b/chntpw/.footprint @@ -0,0 +1,7 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/chntpw +-rwxr-xr-x root/root usr/bin/cpnt +-rwxr-xr-x root/root usr/bin/reged +-rwxr-xr-x root/root usr/bin/sampasswd +-rwxr-xr-x root/root usr/bin/samusrgrp diff --git a/chntpw/.md5sum b/chntpw/.md5sum new file mode 100644 index 0000000..68eb425 --- /dev/null +++ b/chntpw/.md5sum @@ -0,0 +1 @@ +d60bc657206b07ad84d926649d6417dc chntpw-source-140201.zip diff --git a/chntpw/Pkgfile b/chntpw/Pkgfile new file mode 100644 index 0000000..5752a01 --- /dev/null +++ b/chntpw/Pkgfile @@ -0,0 +1,20 @@ +# Description: Offline NT Password Editor - reset passwords in a Windows NT SAM user database file. +# Maintainer: Danny Rawlins, crux at romster dot me +# Packager: Danny Rawlins, crux at romster dot me +# Depends on: + +name=chntpw +version=140201 +release=1 +source=(http://pogostick.net/~pnh/ntpasswd/$name-source-$version.zip) + +build() { + cd $name-$version + + sed -i 's/^CFLAGS= \(.*\) -m32 $/CFLAGS= \1/' Makefile + + make chntpw cpnt reged samusrgrp sampasswd + + install -d $PKG/usr/bin + install -m 0755 -t $PKG/usr/bin chntpw cpnt reged samusrgrp sampasswd +}