base/bif/plugins/Bro_HTTP.functions.bif.bro

GLOBAL
Namespace:GLOBAL
Source File:/scripts/base/bif/plugins/Bro_HTTP.functions.bif.bro

Summary

Functions

skip_http_entity_data: function Skips the data of the HTTP entity.
unescape_URI: function Unescapes all characters in a URI (decode every %xx group).

Detailed Interface

Functions

skip_http_entity_data
Type:function (c: connection, is_orig: bool) : any

Skips the data of the HTTP entity.

C:The HTTP connection.
Is_orig:If true, the client data is skipped, and the server data otherwise.

See also: skip_smtp_data

unescape_URI
Type:function (URI: string) : string

Unescapes all characters in a URI (decode every %xx group).

URI:The URI to unescape.
Returns:The unescaped URI with all %xx groups decoded.

Note

Unescaping reserved characters may cause loss of information. RFC 2396: A URI is always in an “escaped” form, since escaping or unescaping a completed URI might change its semantics. Normally, the only time escape encodings can safely be made is when the URI is being created from its component parts.

Copyright 2016, The Bro Project. Last updated on January 10, 2019. Created using Sphinx 1.7.5.