update layout
This commit is contained in:
12
Documents/IDAExportAddrConv.py
Normal file
12
Documents/IDAExportAddrConv.py
Normal file
@ -0,0 +1,12 @@
|
||||
def Conv(strl: str):
|
||||
if len(strl) & 3 != 0:
|
||||
print('Invalid length!')
|
||||
return
|
||||
|
||||
idaBytes = tuple(strl[i:i+2] for i in range(0, len(strl), 2))
|
||||
for i in range(0, len(idaBytes), 4):
|
||||
print(idaBytes[i+3] + idaBytes[i+2] + idaBytes[i+1] + idaBytes[i])
|
||||
|
||||
while True:
|
||||
Conv(input("data> "))
|
||||
|
Reference in New Issue
Block a user