base/utils/files.bro

Imports:base/utils/addrs.bro
Source File:/scripts/base/utils/files.bro

Summary

Functions

extract_filename_from_content_disposition: function For CONTENT-DISPOSITION headers, this function can be used to extract the filename.
generate_extraction_filename: function This function can be used to generate a consistent filename for when contents of a file, stream, or connection are being extracted to disk.

Detailed Interface

Functions

extract_filename_from_content_disposition
Type:function (data: string) : string

For CONTENT-DISPOSITION headers, this function can be used to extract the filename.

generate_extraction_filename
Type:function (prefix: string, c: connection, suffix: string) : string

This function can be used to generate a consistent filename for when contents of a file, stream, or connection are being extracted to disk.


Previous Page

base/utils/email.bro

Copyright 2016, The Bro Project. Last updated on December 19, 2018. Created using Sphinx 1.8.2.