shadowcp.bat C:\Windows\NTDS.dit ntds.dit
shadowcp.bat C:\Windows\System32\config\SAM SAM
shadowcp.bat C:\Windows\System32\config\SECURITY SECURITY# cd ~/libesedb-20120102/esedbtools;
# ./esedbexport ~/abraham-2012-03-26/ntds_dump/ntds.dit# john --wordlist=Wordlists-20031009/all.lst --rules /root/password_hashes.txt
# john --wordlist=Wordlists-20031009/all.lst --single /root/password_hashes.txt # john --incremental /root/password_hashes.txtroot@bt:/pentest/passwords/john# john -i=Custom /root/password_hashes.txtjohn.pot: sed 's/^/:/' < passwords.lst> john.potjohn --make-charset=...” as usual# chkconfig --list | grep :on
Schedule a return to your previous ruleset in 5 minutes.
# pfctl -f /etc/pf.conf | at now + 5 minutes
Now it’s safe to activate a ruleset you’d like to test:
# pfctl -f /etc/pf.test
This can come in handy when you have to configure PF remotely (a risky endeavor; something you should avoid doing).