From 44ec44ea5cf1cfd082bd6ad9edc12546c21b84cd Mon Sep 17 00:00:00 2001 From: mariocandela Date: Thu, 20 Feb 2025 18:20:17 +0100 Subject: [PATCH] Fix LLM model name typo --- README.md | 4 ++-- configurations/services/ssh-2222.yaml | 2 +- plugins/beelzebub-cloud_test.go | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4db2c2d..8972ef9 100644 --- a/README.md +++ b/README.md @@ -229,7 +229,7 @@ passwordRegex: "^(root|qwerty|Smoker666|123456|jenkins|minecraft|sinus|alex|post deadlineTimeoutSeconds: 60 plugin: llmProvider: "openai" - llmModel: "gpt4-o" #Models https://platform.openai.com/docs/models + llmModel: "gpt-4o" #Models https://platform.openai.com/docs/models openAISecretKey: "sk-proj-123456" ``` @@ -268,7 +268,7 @@ passwordRegex: "^(root|qwerty|Smoker666|123456|jenkins|minecraft|sinus|alex|post deadlineTimeoutSeconds: 60 plugin: llmProvider: "openai" - llmModel: "gpt4-o" + llmModel: "gpt-4o" openAISecretKey: "sk-proj-123456" prompt: "You will act as an Ubuntu Linux terminal. The user will type commands, and you are to reply with what the terminal should show. Your responses must be contained within a single code block." ``` diff --git a/configurations/services/ssh-2222.yaml b/configurations/services/ssh-2222.yaml index 53c5447..aabadae 100644 --- a/configurations/services/ssh-2222.yaml +++ b/configurations/services/ssh-2222.yaml @@ -11,5 +11,5 @@ passwordRegex: "^(root|qwerty|Smoker666|123456|jenkins|minecraft|sinus|alex|post deadlineTimeoutSeconds: 6000 plugin: llmProvider: "openai" - llmModel: "gpt4-o" + llmModel: "gpt-4o" openAISecretKey: "sk-proj-12345" \ No newline at end of file diff --git a/plugins/beelzebub-cloud_test.go b/plugins/beelzebub-cloud_test.go index 0cb207f..5d36548 100644 --- a/plugins/beelzebub-cloud_test.go +++ b/plugins/beelzebub-cloud_test.go @@ -85,7 +85,7 @@ func TestGetHoneypotsConfigurationsWithResults(t *testing.T) { resp, err := httpmock.NewJsonResponse(200, &[]HoneypotConfigResponseDTO{ { ID: "123456", - Config: "apiVersion: \"v1\"\nprotocol: \"ssh\"\naddress: \":2222\"\ndescription: \"SSH interactive ChatGPT\"\ncommands:\n - regex: \"^(.+)$\"\n plugin: \"LLMHoneypot\"\nserverVersion: \"OpenSSH\"\nserverName: \"ubuntu\"\npasswordRegex: \"^(root|qwerty|Smoker666|123456|jenkins|minecraft|sinus|alex|postgres|Ly123456)$\"\ndeadlineTimeoutSeconds: 60\nplugin:\n llmModel: \"gpt4-o\"\n openAISecretKey: \"1234\"\n", + Config: "apiVersion: \"v1\"\nprotocol: \"ssh\"\naddress: \":2222\"\ndescription: \"SSH interactive ChatGPT\"\ncommands:\n - regex: \"^(.+)$\"\n plugin: \"LLMHoneypot\"\nserverVersion: \"OpenSSH\"\nserverName: \"ubuntu\"\npasswordRegex: \"^(root|qwerty|Smoker666|123456|jenkins|minecraft|sinus|alex|postgres|Ly123456)$\"\ndeadlineTimeoutSeconds: 60\nplugin:\n llmModel: \"gpt-4o\"\n openAISecretKey: \"1234\"\n", TokenID: "1234567", }, }) @@ -120,7 +120,7 @@ func TestGetHoneypotsConfigurationsWithResults(t *testing.T) { PasswordRegex: "^(root|qwerty|Smoker666|123456|jenkins|minecraft|sinus|alex|postgres|Ly123456)$", DeadlineTimeoutSeconds: 60, Plugin: parser.Plugin{ - LLMModel: "gpt4-o", + LLMModel: "gpt-4o", OpenAISecretKey: "1234", }, },