zeek/testing/btest/scripts/base/protocols/http/multipart-extract.bro
Jon Siwek 705a84d688 Improve tracking of HTTP file extraction (addresses #988).
http.log now has files taken from request and response bodies in
different fields for each, and can now track multiple files per body.
That is, the "extraction_file" field is now "extracted_request_files"
and "extracted_response_files".
2013-05-21 16:42:35 -05:00

8 lines
339 B
Text

# @TEST-EXEC: bro -C -r $TRACES/http/multipart.trace %INPUT
# @TEST-EXEC: btest-diff http.log
# @TEST-EXEC: btest-diff http-item-TJdltRTxco1.dat
# @TEST-EXEC: btest-diff http-item-QJO04kPdawk.dat
# @TEST-EXEC: btest-diff http-item-dDH5dHdsRH4.dat
# @TEST-EXEC: btest-diff http-item-TaUJcEIboHh.dat
redef HTTP::extract_file_types += /.*/;