From 25c839c13cf3f248bbf7b8519c160a5e261ed822 Mon Sep 17 00:00:00 2001 From: Lin Date: Wed, 26 Mar 2025 10:30:47 +0100 Subject: [PATCH] Upload files to "/" --- config.toml | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 config.toml diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..78a9e80 --- /dev/null +++ b/config.toml @@ -0,0 +1,66 @@ + +ver = "250326b-dev/plugin" +machineID = "node1" + +#*************************************************# +# # +# LANGUAGES # +# # +#*************************************************# + +[LANGUGAE.english] + +novelStarted = "Novel's Anti-Abuse Started within - {}s." + + +#**************************************************# +# # +# LOGS # +# # +#**************************************************# + +[LOGS] + +processStartMsg = true +flaggedNoti = true +fileModified = true +fileDeleted = true +fileMoved = true +fileCreated = true + +#**************************************************# +# # +# DETECTION # +# # +#**************************************************# + +[DETECTION] + +watchdogPath = "./" +SignaturePath = "./signatures" + +watchdogIgnorePath = ["./signatures"] +watchdogIgnoreFile = ["./main.py", "./config.toml", "es/common.yara"] + +#**************************************************# +# # +# INTEGRATION # +# # +#**************************************************# + +[INTEGRATION.AI] + +enabled = true +generate_models = ["llama-3.2-90b-vision-preview","llama-3.3-70b-versatile","llama-3.3-70b-specdec","llama-3.2-11b-vision-preview","llama3-70b-8192","llama-3.1-8b-instant","llama3-8b-8192","llama-3.2-3b-preview","llama-3.2-1b-preview"] # for home usage gemma3:1b recommended, for Groq llama-3.1-8b-instant +generate_endpoint = "http://IP:PORT/api/generate" # Can be empty if using groq +use_groq = true +groq_api_token = "" # Get one at https://console.groq.com/keys + + +prompt = "Analyze the given code and return an abuse score (0-10) with a brief reason. Example abuses: Crypto Mining, Shell Access, Nezha Proxy (VPN/Proxy usage), Disk Filling, Tor, DDoS, Abusive Resource Usage. Response format: '**5/10** '. No extra messages." + +[INTEGRATION.DISCORD] + +enabled = true +webhook_url = "" +truncate_text = true # Used only if AI INTEGRATION is enabled, trunclates text if true to maxium allowed characters or when false splits in few webhook messages.