diff options
Diffstat (limited to 'plugins/python/checksec')
-rw-r--r-- | plugins/python/checksec/plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/python/checksec/plugin.py b/plugins/python/checksec/plugin.py index 89c392f..f1229bb 100644 --- a/plugins/python/checksec/plugin.py +++ b/plugins/python/checksec/plugin.py @@ -3,7 +3,7 @@ from .mitigations import ElfMitigations from pychrysalide import PluginModule -from pychrysalide.core import log_message, LMT_INFO +from pychrysalide.core import log_message, LogMessageType from pychrysalide.format.elf import ElfFormat @@ -37,4 +37,4 @@ class CheckSec(PluginModule): msg = 'Elf mitigations: NX: <b>%s</b> PIE: <b>%s</b> RelRO: <b>%s</b> Canary: <b>%s</b>' \ % (m._nx, m._pie, m._relro, m._canary) - self.log_message(LMT_INFO, msg) + self.log_message(LogMessageType.INFO, msg) |