base/bif/plugins/Zeek_HTTP.functions.bif.zeek

GLOBAL
Namespace:

GLOBAL

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.

Parameters:
  • 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).

Parameters:

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.