Update: strings.py Version 0.0.7
2021-01-24 09:00:47 Author: blog.didierstevens.com(查看原文) 阅读量:320 收藏

Update: strings.py Version 0.0.7

This new version brings an update to the Pascal feature of strings.py, my tool to extract strings from arbitrary files.

I had to analyze compiled Lua code (compiled with Lua 5.2): Lua 5.2 byte code stores strings like C strings and Pascal strings.

The strings are terminated by a NULL byte, like C strings, and they are prefixed with a length counter, like Pascal strings. Since the length includes the NULL byte, my strings.py tool didn’t match compiled Lua 5.2 strings:

I need to subtract 1 from the counter, so that it matches the length of the string without NULL byte. This can now be done as follows:

strings_V0_0_7.zip (https)
MD5: 2533BF3E7CBD5526718CDE5E150039D2
SHA256: FFBE686A2E41B22858023898580419806A789349D408C24EF25E8BEBCD33A418

No comments yet.


文章来源: https://blog.didierstevens.com/2021/01/24/update-strings-py-version-0-0-7/
如有侵权请联系:admin#unsafe.sh