Identifier extraction operations.
- Copyright:
-
- Crown Copyright 2016
- License:
-
- Apache-2.0
- Source:
Members
-
<static, constant> MIN_STRING_LEN
-
- Default Value:
-
- 3
- Source:
-
<static, constant> DISPLAY_TOTAL
-
- Source:
-
<static, constant> INCLUDE_IPV4
-
- Default Value:
-
- true
- Source:
-
<static, constant> INCLUDE_IPV6
-
- Source:
-
<static, constant> REMOVE_LOCAL
-
- Source:
-
<static, constant> INCLUDE_WIN_PATH
-
- Default Value:
-
- true
- Source:
-
<static, constant> INCLUDE_UNIX_PATH
-
- Default Value:
-
- true
- Source:
Methods
-
<private, static> _search(input, search_regex, remove_regex, include_total)
-
Runs search operations across the input data using refular expressions.
Parameters:
Name Type Description input
string search_regex
RegExp remove_regex
RegExp A regular expression defining results to remove from the
final listinclude_total
boolean Whether or not to include the total number of results
- Source:
Returns:
- Type
- string
-
<static> run_strings(input, args)
-
Strings operation.
Parameters:
Name Type Description input
string args
Array.<Object> - Source:
Returns:
- Type
- string
-
<static> run_ip(input, args)
-
Extract IP addresses operation.
Parameters:
Name Type Description input
string args
Array.<Object> - Source:
Returns:
- Type
- string
-
<static> run_email(input, args)
-
Extract email addresses operation.
Parameters:
Name Type Description input
string args
Array.<Object> - Source:
Returns:
- Type
- string
-
<static> run_mac(input, args)
-
Extract MAC addresses operation.
Parameters:
Name Type Description input
string args
Array.<Object> - Source:
Returns:
- Type
- string
-
<static> run_urls(input, args)
-
Extract URLs operation.
Parameters:
Name Type Description input
string args
Array.<Object> - Source:
Returns:
- Type
- string
-
<static> run_domains(input, args)
-
Extract domains operation.
Parameters:
Name Type Description input
string args
Array.<Object> - Source:
Returns:
- Type
- string
-
<static> run_file_paths(input, args)
-
Extract file paths operation.
Parameters:
Name Type Description input
string args
Array.<Object> - Source:
Returns:
- Type
- string
-
<static> run_dates(input, args)
-
Extract dates operation.
Parameters:
Name Type Description input
string args
Array.<Object> - Source:
Returns:
- Type
- string
-
<static> run_all_idents(input, args)
-
Extract all identifiers operation.
Parameters:
Name Type Description input
string args
Array.<Object> - Source:
Returns:
- Type
- string