mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00

Fixed most @load dependency issues in the process. The test is still failing in a "known" way due to hot.conn.bro and scan.bro. Adressess #545
16 lines
421 B
Text
16 lines
421 B
Text
##! This script extracts and logs variables from the requested URI
|
|
|
|
@load base/protocols/http/main
|
|
@load base/protocols/http/utils
|
|
|
|
module HTTP;
|
|
|
|
redef record Info += {
|
|
uri_vars: vector of string &optional &log;
|
|
};
|
|
|
|
event http_request(c: connection, method: string, original_URI: string,
|
|
unescaped_URI: string, version: string) &priority=2
|
|
{
|
|
c$http$uri_vars = extract_keys(original_URI, /&/);
|
|
}
|