Skip to content

Hashing Custom JSON Based Pattern Identifier Payload #520

@MFMokbel

Description

@MFMokbel

Hello,

Using the C/C++ API, I'm exposing certain bytes as a JSON array by defining and setting a global variable (pattern identifier) using the APIs yrx_compiler_define_global_json() and yrx_scanner_set_global_json().

I'm able to iterate over those bytes and "question" them. However, my issue is with the hash module. Can it be updated to take such a JSON array to hash the data inside it? I'm already passing the size of the array in a separate global variable. For the record, the symbol "#" doesn't work with a user-defined global JSON array to retrieve the array size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions