[0e48a2]: plugins / raw_strings.py Maximize Restore History

Download this file

raw_strings.py    15 lines (9 with data), 366 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#-*-python-*-
#import os.path
from plugins import core
###################################################
# Print hexa code of characters in given strref,
# without conversion
def print_raw_str (strref):
print core.strrefs.strref_list[strref]['string_raw']
print map (lambda c: c + " (%02x)" %ord (c), core.strrefs.strref_list[strref]['string_raw'])