mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
14 lines
513 B
Text
14 lines
513 B
Text
# @TEST-EXEC: zeek -C -r $TRACES/http/cooper-grill-dvwa.pcapng -b %INPUT >output
|
|
# @TEST-EXEC: btest-diff output
|
|
# @TEST-EXEC: zeek-cut -m uid method host uri tags < http.log > http.log.cut
|
|
# @TEST-EXEC: btest-diff http.log.cut
|
|
|
|
@load base/protocols/http
|
|
# Remove in v8.1: Remove this test when detect-sqli is gone sql-injection-plus-dvwa2.zeek tests detect-sql-injection.
|
|
@load protocols/http/detect-sqli
|
|
|
|
event connection_state_remove(c: connection)
|
|
{
|
|
if ( c?$http )
|
|
print c$uid, c$id, cat(c$http$tags);
|
|
}
|