Expand description
Universal content-to-bytes encoding for vyre-compatible pattern sets.
encodex converts higher-level content representations into byte patterns
suitable for literal matching. Supported conversions are intentionally
explicit so callers can see which inputs are implemented and which are not.
The semantic module extends this to ML embedding vectors, producing
hierarchical byte hashes where prefix matching yields semantic category
search through the warpscan pipeline.
Re-exports§
pub use content_type::ContentType;pub use content_type::Language;pub use error::Error;pub use error::Result;pub use file::decode_iwf_hashes;pub use file::load_pattern_file;
Modules§
- base64
- Base64 decoding support.
- content_
type - Structured content types.
- detect
- Encoding detection for raw byte streams. Encoding detection for raw byte streams.
- error
- Error definitions for encodex.
- file
- File-based pattern loading and IWF hash decoding.
- hex
- Hex decoding and YARA hex parsing support.
- ioc_
expand - IOC variant expansion for URL and domain indicators. IOC variant expansion for URLs and domains.
- ioc_
hash - Semantic IOC hashing. Semantic hashing for IOCs (Indicators of Compromise).
- json
- JSON string literal extraction.
- perceptual
- Perceptual hash handling.
- raw
- Raw bytes pass-through encoding.
- regex
- Regex pattern string handling.
- semantic
- ML embedding semantic hash capabilities. Hierarchical semantic hashing for embedding-to-byte-pattern conversion.
- variants
- Compile-time pattern variant expansion (base64, hex, URL-encode, unicode, reverse). Compile-time pattern variant expansion.
- yaml
- YAML string value and matchers extraction.
- yara_
literals - YARA pattern literals parsing