base/protocols/ftp/utils.bro

FTP

Utilities specific for FTP processing.

Namespace:FTP
Imports:base/protocols/ftp/info.bro, base/utils/addrs.bro, base/utils/paths.bro
Source File:/scripts/base/protocols/ftp/utils.bro

Summary

Functions

FTP::build_url: function Creates a URL from an FTP::Info record.
FTP::build_url_ftp: function Creates a URL from an FTP::Info record.
FTP::describe: function Create an extremely shortened representation of a log line.

Detailed Interface

Functions

FTP::build_url
Type:function (rec: FTP::Info) : string

Creates a URL from an FTP::Info record.

Rec:An FTP::Info record.
Returns:A URL, not prefixed by "ftp://".
FTP::build_url_ftp
Type:function (rec: FTP::Info) : string

Creates a URL from an FTP::Info record.

Rec:An FTP::Info record.
Returns:A URL prefixed with "ftp://".
FTP::describe
Type:function (rec: FTP::Info) : string

Create an extremely shortened representation of a log line.


Copyright 2016, The Bro Project. Last updated on December 08, 2017. Created using Sphinx 1.5.2.