mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
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".
This commit is contained in:
parent
3cbef60f57
commit
705a84d688
24 changed files with 235 additions and 174 deletions
|
@ -0,0 +1 @@
|
|||
test2
|
|
@ -0,0 +1 @@
|
|||
test
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"data": "",
|
||||
"form": {
|
||||
"example": "test",
|
||||
"example2": "test2",
|
||||
"example3": "test3"
|
||||
},
|
||||
"origin": "141.142.228.5",
|
||||
"json": null,
|
||||
"url": "http://httpbin.org/post",
|
||||
"args": {},
|
||||
"headers": {
|
||||
"Content-Type": "multipart/form-data; boundary=----------------------------4ebf00fbcf09",
|
||||
"User-Agent": "curl/7.30.0",
|
||||
"Connection": "close",
|
||||
"Accept": "*/*",
|
||||
"Content-Length": "350",
|
||||
"Host": "httpbin.org"
|
||||
},
|
||||
"files": {}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
test3
|
|
@ -0,0 +1,10 @@
|
|||
#separator \x09
|
||||
#set_separator ,
|
||||
#empty_field (empty)
|
||||
#unset_field -
|
||||
#path http
|
||||
#open 2013-05-21-21-31-32
|
||||
#fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p trans_depth method host uri referrer user_agent request_body_len response_body_len status_code status_msg info_code info_msg filename tags username password proxied mime_type md5 extracted_request_files extracted_response_files
|
||||
#types time string addr port addr port count string string string string string count count count string count string string table[enum] string string table[string] string string vector[string] vector[string]
|
||||
1369159408.455878 UWkUyAuUGXf 141.142.228.5 57262 54.243.88.146 80 1 POST httpbin.org /post - curl/7.30.0 370 465 200 OK - - - (empty) - - - text/plain - http-item-TJdltRTxco1.dat,http-item-QJO04kPdawk.dat,http-item-dDH5dHdsRH4.dat http-item-TaUJcEIboHh.dat
|
||||
#close 2013-05-21-21-31-32
|
Loading…
Add table
Add a link
Reference in a new issue