Skip to content

Commit

Permalink
fix: [libinjection] memory leak, disable module
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Dec 12, 2023
1 parent 4529a76 commit c20c41c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions bin/LAUNCH.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 0 additions & 3 deletions bin/modules/LibInjection.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
# 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."""
Expand Down
7 changes: 4 additions & 3 deletions configs/modules.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,10 @@ publish = Tags
subscribe = Urls
publish = Url

[LibInjection]
subscribe = Url
publish = Tags
# disabled
#[LibInjection]
#subscribe = Url
#publish = Tags

[SQLInjectionDetection]
subscribe = Url
Expand Down

0 comments on commit c20c41c

Please sign in to comment.