This repository has been archived on 2025-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
Novel/config.toml

64 lines
2.5 KiB
TOML
Raw Normal View History

2025-03-24 20:07:14 +00:00
2025-03-24 18:03:56 +00:00
ver = "250325d"
2025-03-24 20:07:14 +00:00
machineID = "node1"
2025-03-23 19:03:28 +01:00
#*************************************************#
# #
# LANGUAGES #
# #
#*************************************************#
[LANGUGAE.english]
2025-03-24 20:07:14 +00:00
novelStarted = "Novel(Anti Abuse) Started within - {}s."
2025-03-23 19:03:28 +01:00
#**************************************************#
# #
# LOGS #
# #
#**************************************************#
[LOGS]
processStartMsg = true
#**************************************************#
# #
# DETECTION #
# #
#**************************************************#
[DETECTION]
watchdogPath = "./"
SignaturePath = "./signatures"
2025-03-24 18:03:56 +00:00
watchdogIgnorePath = ["./signatures"]
2025-03-24 20:07:14 +00:00
watchdogIgnoreFile = ["./main.py", "./config.toml", "es/common.yara"]
2025-03-23 19:03:28 +01:00
#**************************************************#
# #
# INTEGRATION #
# #
#**************************************************#
[INTEGRATION.AI]
2025-03-24 18:03:56 +00:00
enabled = true
2025-03-24 20:07:14 +00:00
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
2025-03-23 19:03:28 +01:00
generate_endpoint = "http://IP:PORT/api/generate" # Can be empty if using groq
use_groq = true
2025-03-24 20:07:14 +00:00
groq_api_token = "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" # Get one at https://console.groq.com/keys
2025-03-24 20:08:25 +00:00
# Example API key
2025-03-23 19:03:28 +01:00
2025-03-24 20:07:14 +00:00
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** <your reason>'. No extra messages."
2025-03-23 19:03:28 +01:00
[INTEGRATION.DISCORD]
2025-03-24 18:03:56 +00:00
enabled = true
2025-03-24 20:07:14 +00:00
webhook_url = "https://discord.com/api/webhooks/1353420407511973948/knrSGrfLDvi_60Mese1LAIBmkrK05a_L4PmyyE7R7wvGZEXiWdzrRT8pdicj0aHe88m4"
2025-03-24 20:08:25 +00:00
# Example webhook
2025-03-23 19:03:28 +01:00
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.