Remove null bytes from passwords returned
git-svn-id: file:///home/svn/framework3/trunk@13478 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
1373d1043d
commit
dca3aa9d6a
|
@ -77,7 +77,7 @@ class Metasploit3 < Msf::Post
|
|||
aes.padding = 0
|
||||
aes.decrypt
|
||||
aes.key = "hdfzpysvpzimorhk"
|
||||
password = aes.update(cipher) + aes.final
|
||||
password = (aes.update(cipher) + aes.final).gsub(/\x00/,'')
|
||||
return password
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue