Skip to content

Tamper: Base64 Encode/Decode

Plugin ID: eca_tamper_condition:token_eca_alter_base64

Available since: 1.0.0

Base64 Encode (or Decode) the field contents.

Fields

Comparison operator — config key: operator

The available comparison operators like equals or less than.
When using the "Defined by token" option, make sure there is a token with this name: eca_tamper_condition:token_eca_alter_base64_operator

Type: select · Required: no · Default: equal

Allowed values: equal, beginswith, endswith, contains, greaterthan, lessthan, atmost, atleast, _eca_token, ''

Comparison type — config key: type

The type of the comparison.
When using the "Defined by token" option, make sure there is a token with this name: eca_tamper_condition:token_eca_alter_base64_type

Type: select · Required: no · Default: value

Allowed values: value, natural, numeric, lexical, count, _eca_token, ''

Case sensitive comparison — config key: case

Compare the values based on case sensitivity.

Type: checkbox · Required: no · Default: false

Negate the condition — config key: negate

Negates the condition. Makes TRUE to FALSE and vice versa.

Type: checkbox · Required: no · Default: false

Serialization mode: — config key: mode

Type: radios · Required: no · Default: serialize

Allowed values: base64_encode, base64_decode

Data to be tampered — config key: left

Type: textarea · Required: yes · Default: empty string

Data to compare with — config key: right

Type: textarea · Required: yes · Default: empty string