diff options
Diffstat (limited to 'src/detect/agents/kilo.rs')
| -rw-r--r-- | src/detect/agents/kilo.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/detect/agents/kilo.rs b/src/detect/agents/kilo.rs new file mode 100644 index 00000000..1ab3651a --- /dev/null +++ b/src/detect/agents/kilo.rs @@ -0,0 +1,9 @@ +use super::super::AgentState; + +pub(super) fn detect(content: &str) -> AgentState { + if content.to_lowercase().contains("esc interrupt") { + return AgentState::Working; + } + + super::opencode::detect(content) +} |
