mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-03-06 09:13:02 +01:00
set 0 instead of None in memory addresses - ext_server_stdapi.py
Co-authored-by: Spencer McIntyre <58950994+smcintyre-r7@users.noreply.github.com>
This commit is contained in:
parent
2453e2703a
commit
0289d70ed2
@ -1756,8 +1756,8 @@ def stdapi_sys_process_memory_query(request, response):
|
||||
if size == 0:
|
||||
return error_result_windows(), response
|
||||
|
||||
response += tlv_pack(TLV_TYPE_BASE_ADDRESS, info.BaseAddress)
|
||||
response += tlv_pack(TLV_TYPE_ALLOC_BASE_ADDRESS, info.AllocationBase)
|
||||
response += tlv_pack(TLV_TYPE_BASE_ADDRESS, info.BaseAddress or 0)
|
||||
response += tlv_pack(TLV_TYPE_ALLOC_BASE_ADDRESS, info.AllocationBase or 0)
|
||||
response += tlv_pack(TLV_TYPE_ALLOC_PROTECTION, info.AllocationProtect)
|
||||
response += tlv_pack(TLV_TYPE_LENGTH, info.RegionSize)
|
||||
response += tlv_pack(TLV_TYPE_MEMORY_STATE, info.State)
|
||||
|
Loading…
x
Reference in New Issue
Block a user