mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 04:05:58 +00:00
Minor patch for parsePasswordHash
This commit is contained in:
parent
5a4a8eed62
commit
8a19966017
3 changed files with 9 additions and 6 deletions
|
|
@ -1464,10 +1464,13 @@ def parsePasswordHash(password):
|
|||
retVal = "%s\n" % password
|
||||
retVal += "%sheader: %s\n" % (blank, password[:6])
|
||||
retVal += "%ssalt: %s\n" % (blank, password[6:14])
|
||||
retVal += "%smixedcase: %s\n" % (blank, password[14:54])
|
||||
|
||||
if password[54:]:
|
||||
retVal += "%suppercase: %s" % (blank, password[54:])
|
||||
if password.startswith("0x0200"):
|
||||
retVal += "%shash: %s\n" % (blank, password[14:])
|
||||
else:
|
||||
retVal += "%smixedcase: %s\n" % (blank, password[14:54])
|
||||
if password[54:]:
|
||||
retVal += "%suppercase: %s" % (blank, password[54:])
|
||||
|
||||
return retVal
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue