Skip to content

Commit

Permalink
Merge pull request #140 from byehack/patch-3
Browse files Browse the repository at this point in the history
Build 22000 Uses `LSA_x64_6`
  • Loading branch information
skelsec authored Jan 22, 2024
2 parents 4ff5d89 + aad9fb1 commit b8d91b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pypykatz/alsadecryptor/lsa_template_nt6.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def get_template(sysinfo):
elif sysinfo.buildnumber < WindowsBuild.WIN_10_1809.value:
template = templates['nt6']['x64']['5']

elif WindowsBuild.WIN_10_1809.value <= sysinfo.buildnumber < WindowsMinBuild.WIN_11.value:
elif WindowsBuild.WIN_10_1809.value <= sysinfo.buildnumber <= WindowsMinBuild.WIN_11.value:
template = templates['nt6']['x64']['6']
else:
template = templates['nt6']['x64']['8']
Expand Down Expand Up @@ -544,4 +544,4 @@ def __init__(self):
'7' : LSA_x86_7(),
}
}
}
}
4 changes: 2 additions & 2 deletions pypykatz/lsadecryptor/lsa_template_nt6.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def get_template(sysinfo):
logger.debug('using x64 - 5')
template = templates['nt6']['x64']['5']

elif WindowsBuild.WIN_10_1809.value <= sysinfo.buildnumber < WindowsMinBuild.WIN_11.value:
elif WindowsBuild.WIN_10_1809.value <= sysinfo.buildnumber <= WindowsMinBuild.WIN_11.value:
logger.debug('using x64 - 6')
template = templates['nt6']['x64']['6']
else:
Expand Down Expand Up @@ -468,4 +468,4 @@ def __init__(self):
'7' : LSA_x86_7(),
}
}
}
}

0 comments on commit b8d91b4

Please sign in to comment.