summaryrefslogtreecommitdiff
path: root/plugins/python/checksec
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-01-06 22:28:07 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-01-06 22:28:07 (GMT)
commit65d5976a2209e3e9337b565ee385485f6b16f98e (patch)
treeebb944a3586953ca0328222a0730c24ced9f77c2 /plugins/python/checksec
parent24398cb372624bf281ee4d9eb07f2a076b3cc664 (diff)
Updated some Python plugins.
Diffstat (limited to 'plugins/python/checksec')
-rw-r--r--plugins/python/checksec/plugin.py4
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)