Fix search string as bytes (#104)

pull/106/head
Takumi Akiyama 9 years ago committed by Zach Riggle
parent 27bd04b07a
commit 5ae7e241ed

@ -97,7 +97,7 @@ def search(type, hex, string, executable, writable, value, mapping):
# Null-terminate strings
elif type == 'string':
value += '\x00'
value += b'\x00'
# Perform the search
print_search(value, mapping=mapping, executable=executable, writable=writable)

Loading…
Cancel
Save