mirror of
https://github.com/mariocandela/beelzebub.git
synced 2025-07-01 18:47:26 -04:00
Feat: add MCP honeypot support (#199)
* Add MCP honeypot * Add http headers in plain text * Improve code coverage * Refactor README.md
This commit is contained in:
@ -106,6 +106,7 @@ func TestUpdatePrometheusCounters(t *testing.T) {
|
||||
eventsSSHTotal: mockCounter{},
|
||||
eventsTCPTotal: mockCounter{},
|
||||
eventsHTTPTotal: mockCounter{},
|
||||
eventsMCPTotal: mockCounter{},
|
||||
}
|
||||
|
||||
tracer.updatePrometheusCounters(SSH.String())
|
||||
@ -116,4 +117,7 @@ func TestUpdatePrometheusCounters(t *testing.T) {
|
||||
|
||||
tracer.updatePrometheusCounters(TCP.String())
|
||||
assert.Equal(t, 6, counter)
|
||||
|
||||
tracer.updatePrometheusCounters(MCP.String())
|
||||
assert.Equal(t, 8, counter)
|
||||
}
|
||||
|
Reference in New Issue
Block a user