Imports: | base/utils/addrs.bro |
---|---|
Source File: | /scripts/base/utils/files.bro |
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. |
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.