<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
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 &lt;adrian15sgd@gmail.com&gt;
Reviewed-by: Javier FernÃ¡ndez-Sanguino

--- a/sampasswd.c
+++ b/sampasswd.c
@@ -243,7 +243,7 @@
 
   wret = 0;
   for (il = 0; il &lt; no_hives; il++) {
-    //    wret |= writeHive(hive[il]);
+    wret |= writeHive(hive[il]);
     if (hive[il]-&gt;state &amp; HMODE_DIDEXPAND)
       fprintf(stderr," WARNING: Registry file %s was expanded! Experimental! Use at own risk!\n",hive[il]-&gt;filename);  
     while (no_hives &gt; 0)
</pre></body></html>