mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-03-24 18:16:24 +01:00
remove single qoutes from bytes() in order to Python 3.10 compatibility
This commit is contained in:
parent
728c9cb397
commit
d93a38a604
@ -1777,7 +1777,7 @@ def stdapi_net_config_get_arp_table(request, response):
|
||||
result = GetIpNetTable(ipnet_table, size, False)
|
||||
|
||||
if result == ERROR_INSUFFICIENT_BUFFER:
|
||||
ipnet_table = ctypes.cast(ctypes.create_string_buffer(bytes(''), size.value), ctypes.c_void_p)
|
||||
ipnet_table = ctypes.cast(ctypes.create_string_buffer(bytes(), size.value), ctypes.c_void_p)
|
||||
|
||||
elif result != ERROR_SUCCESS and result != ERROR_NO_DATA:
|
||||
return error_result_windows(result), response
|
||||
|
Loading…
x
Reference in New Issue
Block a user