60 lines
2.1 KiB
TOML
60 lines
2.1 KiB
TOML
ver = "250325d"
|
|
|
|
#*************************************************#
|
|
# #
|
|
# LANGUAGES #
|
|
# #
|
|
#*************************************************#
|
|
|
|
[LANGUGAE.english]
|
|
|
|
radarStarted = "RADAR Started with in - {}s."
|
|
|
|
|
|
#**************************************************#
|
|
# #
|
|
# LOGS #
|
|
# #
|
|
#**************************************************#
|
|
|
|
[LOGS]
|
|
|
|
processStartMsg = true
|
|
|
|
#**************************************************#
|
|
# #
|
|
# DETECTION #
|
|
# #
|
|
#**************************************************#
|
|
|
|
[DETECTION]
|
|
|
|
watchdogPath = "./"
|
|
SignaturePath = "./signatures"
|
|
|
|
watchdogIgnorePath = ["./signatures"]
|
|
watchdogIgnoreFile = ["main.py"]
|
|
|
|
#**************************************************#
|
|
# #
|
|
# INTEGRATION #
|
|
# #
|
|
#**************************************************#
|
|
|
|
[INTEGRATION.AI]
|
|
|
|
enabled = true
|
|
generate_model = "llama-3.1-8b-instant" # 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 Miner, Shell Access, Nezha Proxy (VPN/Proxy usage), Disk Filling, Tor, DDoS, Abusive Resource Usage. Response format: '**5/10** <your reason>'. 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.
|