1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: Write to the HIVE file
Enable the experimental function that writes to the HIVE
the user password
Patch available at: https://github.com/rescatux/chntpw/commit/dcab306dbf49ace2e38e6874ce46bef10ee604da
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803888
Forwarded: yes
Origin: other
Author: Adrian Gibanel Lopez <adrian15sgd@gmail.com>
Reviewed-by: Javier Fernández-Sanguino
--- a/sampasswd.c
+++ b/sampasswd.c
@@ -243,7 +243,7 @@
wret = 0;
for (il = 0; il < no_hives; il++) {
- // wret |= writeHive(hive[il]);
+ wret |= writeHive(hive[il]);
if (hive[il]->state & HMODE_DIDEXPAND)
fprintf(stderr," WARNING: Registry file %s was expanded! Experimental! Use at own risk!\n",hive[il]->filename);
while (no_hives > 0)
|