struct

ECS::LogEntry::Registry::Data

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new

Initialize all values as nil

Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

bytes(new_value : String)

A chainable setter for bytes

Source
bytes

registry.data.bytes

Original bytes written with base64 encoding.

For Windows registry operations, such as SetValueEx and RegQueryValueEx, this corresponds to the data pointed by lp_data. This is optional but provides better recoverability and should be populated for REG_BINARY encoded values.

Level: Extended Type: Keyword Example:

ZQBuAC0AVQBTAAAAZQBuAAAAAAA=
Source
bytes=(bytes : String | Nil)

registry.data.bytes

Original bytes written with base64 encoding.

For Windows registry operations, such as SetValueEx and RegQueryValueEx, this corresponds to the data pointed by lp_data. This is optional but provides better recoverability and should be populated for REG_BINARY encoded values.

Level: Extended Type: Keyword Example:

ZQBuAC0AVQBTAAAAZQBuAAAAAAA=
Source
strings(new_value : String)

A chainable setter for strings

Source
strings

registry.data.strings

Content when writing string types.

Populated as an array when writing string data to the registry. For single string registry types (REG_SZ, REG_EXPAND_SZ), this should be an array with one string. For sequences of string with REG_MULTI_SZ, this array will be variable length. For numeric data, such as REG_DWORD and REG_QWORD, this should be populated with the decimal representation (e.g "1").

Level: Core Type: Keyword Example:

["C:\rta\red_ttp\bin\myapp.exe"]
Source
strings=(strings : String | Nil)

registry.data.strings

Content when writing string types.

Populated as an array when writing string data to the registry. For single string registry types (REG_SZ, REG_EXPAND_SZ), this should be an array with one string. For sequences of string with REG_MULTI_SZ, this array will be variable length. For numeric data, such as REG_DWORD and REG_QWORD, this should be populated with the decimal representation (e.g "1").

Level: Core Type: Keyword Example:

["C:\rta\red_ttp\bin\myapp.exe"]
Source
type(new_value : String)

A chainable setter for type

Source
type

registry.data.type

Standard registry type for encoding contents

Level: Core Type: Keyword Example:

REG_SZ
Source
type=(type : String | Nil)

registry.data.type

Standard registry type for encoding contents

Level: Core Type: Keyword Example:

REG_SZ
Source