mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
9 lines
312 B
Text
9 lines
312 B
Text
# @TEST-EXEC: bro -C -r $TRACES/http/multipart.trace %INPUT
|
|
# @TEST-EXEC: btest-diff http.log
|
|
# @TEST-EXEC: cat extract_files/http-item-* | sort > extractions
|
|
|
|
event file_new(f: fa_file)
|
|
{
|
|
local fname = fmt("http-item-%s", f$id);
|
|
Files::add_analyzer(f, Files::ANALYZER_EXTRACT, [$extract_filename=fname]);
|
|
}
|