Skip to content

Commit deec6ec

Browse files
authored
Update hashcarve.rb
1 parent 3e80ee1 commit deec6ec

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

modules/post/windows/manage/hashcarve.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,7 @@ def modify_user_key(hbootkey, rid, user, nthash, lmhash)
126126
hoff = user[0x9c, 4].unpack("V")[0] + 0xcc
127127
#Check if hashes exist (if 20, then we've got a hash)
128128
lm_exists = user[0x9c+4,4].unpack("V")[0] == 20 ? true : false
129-
print_status('%08x' % user[0x9c+4,4].unpack("V")[0])
130129
nt_exists = user[0x9c+16,4].unpack("V")[0] == 20 ? true : false
131-
print_status('%08x' % user[0x9c+16,4].unpack("V")[0])
132130
if !lm_exists and !nt_exists
133131
raise 'No password is currently set for the user'
134132
end

0 commit comments

Comments
 (0)