Created
July 9, 2017 18:07
-
-
Save jantore/d365d9aee73a824833ea5aff9cf6daab to your computer and use it in GitHub Desktop.
IDAPython script for defining identified strings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import idc | |
import idautils | |
strings = idautils.Strings() | |
strings.setup(strtypes=idautils.Strings.STR_C, ignore_instructions=True, minlen=8) | |
strings.refresh(ea1=MinEA()) | |
for s in strings: | |
if not idc.GetStringType(s.ea): | |
idc.MakeStr(s.ea, s.ea + s.length) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment