mirror of
https://github.com/rapid7/metasploit-payloads
synced 2024-11-26 17:41:08 +01:00
add case insensivity
This commit is contained in:
parent
c364b1e5ee
commit
4d8cd58e76
@ -483,7 +483,7 @@ def get_system_arch():
|
||||
ctypes.windll.kernel32.GetNativeSystemInfo(ctypes.byref(sysinfo))
|
||||
values = {0:'x86', 5:'armle', 6:'IA64', 9:'x64'}
|
||||
arch = values.get(sysinfo.wProcessorArchitecture, uname_info[4])
|
||||
if arch == 'x86_64' or arch == 'AMD64':
|
||||
if arch == 'x86_64' or arch.lower() == 'amd64':
|
||||
arch = 'x64'
|
||||
return arch
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user