From ff776541d7dc3c205028861b01381b6387c3c445 Mon Sep 17 00:00:00 2001 From: adator <85586985+adator85@users.noreply.github.com> Date: Wed, 3 Sep 2025 22:05:34 +0200 Subject: [PATCH 1/2] Fix reputation issue by adding tls_cipher in the datamodel --- config/configuration_unreal6.json | 51 +++++++++++++++++++++++++++++++ core/definition.py | 1 + 2 files changed, 52 insertions(+) create mode 100644 config/configuration_unreal6.json diff --git a/config/configuration_unreal6.json b/config/configuration_unreal6.json new file mode 100644 index 0000000..5e16096 --- /dev/null +++ b/config/configuration_unreal6.json @@ -0,0 +1,51 @@ +{ + "SERVEUR_IP": "172.18.132.244", + "SERVEUR_HOSTNAME": "irc.deb.biz.st", + "SERVEUR_LINK": "defenderdev.deb.biz.st", + "SERVEUR_PORT": 6901, + "SERVEUR_PASSWORD": "devconnexiontodebbizst", + "SERVEUR_ID": "12Z", + "SERVEUR_SSL": true, + "SERVEUR_PROTOCOL": "unreal6", + + "SERVICE_NAME": "defenderdev", + "SERVICE_NICKNAME": "defenderdev", + "SERVICE_REALNAME": "Dev Python Security", + "SERVICE_USERNAME": "Dev-PyDefender", + "SERVICE_HOST": "defenderdev.deb.biz.st", + "SERVICE_INFO": "Network IRC Service", + "SERVICE_CHANLOG": "#services", + "SERVICE_SMODES": "+ioqBS", + "SERVICE_CMODES": "+ntsOP", + "SERVICE_UMODES": "+o", + "SERVICE_PREFIX": "!", + + "LANG": null, + "OWNER": "adator", + "PASSWORD": "qwerty", + + "JSONRPC_URL": "http://172.18.132.244:8600/api", + "JSONRPC_PATH_TO_SOCKET_FILE": "\\\\wsl.localhost\\Ubuntu-18.04\\home\\adator\\unrealircd\\data", + "JSONRPC_METHOD": "socket", + "JSONRPC_USER": "readonly-for-test", + "JSONRPC_PASSWORD": "TUbFAFHF!$+*TnAnNVY#AasER)Wu5ZVw", + + "SALON_JAIL": "#jail", + "SALON_JAIL_MODES": "sS", + "SALON_LIBERER": "#welcome", + + "CLONE_CHANNEL": "#clones", + "CLONE_CMODES": "+nts", + "CLONE_UMODES": "+iwxzr", + "CLONE_LOG_HOST_EXEMPT": ["stats.deb.biz.st"], + "CLONE_CHANNEL_PASSWORD": "clone_Password_12345", + + "API_TIMEOUT": 2, + + "PORTS_TO_SCAN": [3028, 8080, 1080, 1085, 4145, 9050], + "WHITELISTED_IP": ["127.0.0.1", "172.18.128.1"], + "GLINE_DURATION": "30", + + "DEBUG_LEVEL": 10, + "DEBUG_HARD": false +} \ No newline at end of file diff --git a/core/definition.py b/core/definition.py index 5e826af..afb04a7 100644 --- a/core/definition.py +++ b/core/definition.py @@ -93,6 +93,7 @@ class MReputation(MainModel): umodes: str = None vhost: str = None fingerprint: str = None + tls_cipher: str = None isWebirc: bool = False isWebsocket: bool = False remote_ip: str = None From 3dfde9b1aaaf70157ffb9f288758e25c8f788734 Mon Sep 17 00:00:00 2001 From: adator <85586985+adator85@users.noreply.github.com> Date: Wed, 3 Sep 2025 22:09:29 +0200 Subject: [PATCH 2/2] Fix reputation issue by adding tls_cipher in the datamodel --- .gitignore | 1 + config/configuration_unreal6.json | 51 ------------------------------- 2 files changed, 1 insertion(+), 51 deletions(-) delete mode 100644 config/configuration_unreal6.json diff --git a/.gitignore b/.gitignore index 2428eb1..2a9a571 100644 --- a/.gitignore +++ b/.gitignore @@ -5,5 +5,6 @@ db/ logs/ __pycache__/ configuration.json +configuration_unreal6.json *.log test.py \ No newline at end of file diff --git a/config/configuration_unreal6.json b/config/configuration_unreal6.json deleted file mode 100644 index 5e16096..0000000 --- a/config/configuration_unreal6.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "SERVEUR_IP": "172.18.132.244", - "SERVEUR_HOSTNAME": "irc.deb.biz.st", - "SERVEUR_LINK": "defenderdev.deb.biz.st", - "SERVEUR_PORT": 6901, - "SERVEUR_PASSWORD": "devconnexiontodebbizst", - "SERVEUR_ID": "12Z", - "SERVEUR_SSL": true, - "SERVEUR_PROTOCOL": "unreal6", - - "SERVICE_NAME": "defenderdev", - "SERVICE_NICKNAME": "defenderdev", - "SERVICE_REALNAME": "Dev Python Security", - "SERVICE_USERNAME": "Dev-PyDefender", - "SERVICE_HOST": "defenderdev.deb.biz.st", - "SERVICE_INFO": "Network IRC Service", - "SERVICE_CHANLOG": "#services", - "SERVICE_SMODES": "+ioqBS", - "SERVICE_CMODES": "+ntsOP", - "SERVICE_UMODES": "+o", - "SERVICE_PREFIX": "!", - - "LANG": null, - "OWNER": "adator", - "PASSWORD": "qwerty", - - "JSONRPC_URL": "http://172.18.132.244:8600/api", - "JSONRPC_PATH_TO_SOCKET_FILE": "\\\\wsl.localhost\\Ubuntu-18.04\\home\\adator\\unrealircd\\data", - "JSONRPC_METHOD": "socket", - "JSONRPC_USER": "readonly-for-test", - "JSONRPC_PASSWORD": "TUbFAFHF!$+*TnAnNVY#AasER)Wu5ZVw", - - "SALON_JAIL": "#jail", - "SALON_JAIL_MODES": "sS", - "SALON_LIBERER": "#welcome", - - "CLONE_CHANNEL": "#clones", - "CLONE_CMODES": "+nts", - "CLONE_UMODES": "+iwxzr", - "CLONE_LOG_HOST_EXEMPT": ["stats.deb.biz.st"], - "CLONE_CHANNEL_PASSWORD": "clone_Password_12345", - - "API_TIMEOUT": 2, - - "PORTS_TO_SCAN": [3028, 8080, 1080, 1085, 4145, 9050], - "WHITELISTED_IP": ["127.0.0.1", "172.18.128.1"], - "GLINE_DURATION": "30", - - "DEBUG_LEVEL": 10, - "DEBUG_HARD": false -} \ No newline at end of file