From c20c41c50ff992ed05bb2388c3372468861f7565 Mon Sep 17 00:00:00 2001 From: terrtia Date: Tue, 12 Dec 2023 10:30:40 +0100 Subject: [PATCH] fix: [libinjection] memory leak, disable module --- bin/LAUNCH.sh | 4 ++-- bin/modules/LibInjection.py | 3 --- configs/modules.cfg | 7 ++++--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/bin/LAUNCH.sh b/bin/LAUNCH.sh index 1013e546..68c20ac7 100755 --- a/bin/LAUNCH.sh +++ b/bin/LAUNCH.sh @@ -265,8 +265,8 @@ function launching_scripts { sleep 0.1 screen -S "Script_AIL" -X screen -t "SQLInjectionDetection" bash -c "cd ${AIL_BIN}/modules; ${ENV_PY} ./SQLInjectionDetection.py; read x" sleep 0.1 - screen -S "Script_AIL" -X screen -t "LibInjection" bash -c "cd ${AIL_BIN}/modules; ${ENV_PY} ./LibInjection.py; read x" - sleep 0.1 +# screen -S "Script_AIL" -X screen -t "LibInjection" bash -c "cd ${AIL_BIN}/modules; ${ENV_PY} ./LibInjection.py; read x" +# sleep 0.1 # screen -S "Script_AIL" -X screen -t "Pasties" bash -c "cd ${AIL_BIN}/modules; ${ENV_PY} ./Pasties.py; read x" # sleep 0.1 diff --git a/bin/modules/LibInjection.py b/bin/modules/LibInjection.py index eb1174f6..de4d1287 100755 --- a/bin/modules/LibInjection.py +++ b/bin/modules/LibInjection.py @@ -25,9 +25,6 @@ sys.path.append(os.environ['AIL_BIN']) # Import Project packages ################################## from modules.abstract_module import AbstractModule -from lib.ConfigLoader import ConfigLoader -from lib.objects.Items import Item -# from lib import Statistics class LibInjection(AbstractModule): """docstring for LibInjection module.""" diff --git a/configs/modules.cfg b/configs/modules.cfg index 41006974..848fe0b0 100644 --- a/configs/modules.cfg +++ b/configs/modules.cfg @@ -99,9 +99,10 @@ publish = Tags subscribe = Urls publish = Url -[LibInjection] -subscribe = Url -publish = Tags +# disabled +#[LibInjection] +#subscribe = Url +#publish = Tags [SQLInjectionDetection] subscribe = Url