fix: [libinjection] memory leak, disable module

This commit is contained in:
terrtia 2023-12-12 10:30:40 +01:00
parent 4529a76d13
commit c20c41c50f
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0
3 changed files with 6 additions and 8 deletions

View file

@ -265,8 +265,8 @@ function launching_scripts {
sleep 0.1 sleep 0.1
screen -S "Script_AIL" -X screen -t "SQLInjectionDetection" bash -c "cd ${AIL_BIN}/modules; ${ENV_PY} ./SQLInjectionDetection.py; read x" screen -S "Script_AIL" -X screen -t "SQLInjectionDetection" bash -c "cd ${AIL_BIN}/modules; ${ENV_PY} ./SQLInjectionDetection.py; read x"
sleep 0.1 sleep 0.1
screen -S "Script_AIL" -X screen -t "LibInjection" bash -c "cd ${AIL_BIN}/modules; ${ENV_PY} ./LibInjection.py; read x" # screen -S "Script_AIL" -X screen -t "LibInjection" bash -c "cd ${AIL_BIN}/modules; ${ENV_PY} ./LibInjection.py; read x"
sleep 0.1 # sleep 0.1
# screen -S "Script_AIL" -X screen -t "Pasties" bash -c "cd ${AIL_BIN}/modules; ${ENV_PY} ./Pasties.py; read x" # screen -S "Script_AIL" -X screen -t "Pasties" bash -c "cd ${AIL_BIN}/modules; ${ENV_PY} ./Pasties.py; read x"
# sleep 0.1 # sleep 0.1

View file

@ -25,9 +25,6 @@ sys.path.append(os.environ['AIL_BIN'])
# Import Project packages # Import Project packages
################################## ##################################
from modules.abstract_module import AbstractModule from modules.abstract_module import AbstractModule
from lib.ConfigLoader import ConfigLoader
from lib.objects.Items import Item
# from lib import Statistics
class LibInjection(AbstractModule): class LibInjection(AbstractModule):
"""docstring for LibInjection module.""" """docstring for LibInjection module."""

View file

@ -99,9 +99,10 @@ publish = Tags
subscribe = Urls subscribe = Urls
publish = Url publish = Url
[LibInjection] # disabled
subscribe = Url #[LibInjection]
publish = Tags #subscribe = Url
#publish = Tags
[SQLInjectionDetection] [SQLInjectionDetection]
subscribe = Url subscribe = Url