Feat: Improve LMM SSH Honeypot (#112)

* add LMM Honeypot HTTP Server

* improve unit test code coverage

* integrate LLM plugin into http honeypot strategy

* improve code coverage

* fix typos

* improve OpenAI plugin with gpt-4, adpt new API amd map new object

* improve LLM SSH honeypot, fix updated README.md
This commit is contained in:
Mario Candela
2024-06-23 16:00:31 +02:00
committed by GitHub
parent 93d7804ba3
commit 59f40a166b
3 changed files with 5 additions and 4 deletions

View File

@ -71,7 +71,8 @@ func (sshStrategy *SSHStrategy) Init(beelzebubServiceConfiguration parser.Beelze
}
}
histories = append(histories, plugins.Message{Role: plugins.USER.String(), Content: commandOutput})
histories = append(histories, plugins.Message{Role: plugins.USER.String(), Content: commandInput})
histories = append(histories, plugins.Message{Role: plugins.ASSISTANT.String(), Content: commandOutput})
term.Write(append([]byte(commandOutput), '\n'))