#!/bin/bash
#
# Configuration file for pwX
#
# Usage: ./t2plconf
#
# Enter configurations items as follows:
#
#   "NAME" "TYPE" "DEPENDENCIES" "DESCRIPTION"
#
#   - TYPE can be:
#       - check (boolean),
#       - radio (set of values),
#       - range (min <= val <= max)
#       - text
#
#   - DEPENDENCIES MUST be numeric, e.g., "A == 1 && (B < 4 || C >= 1)"
#
#   - DESCRIPTION for type 'check' MUST NOT contain tabs ('\t')
#   - DESCRIPTION for TYPE 'range' MUST NOT contain '\t' or ':'
#   - DESCRIPTION for TYPE 'radio' MUST NOT contain '\t', ':' or ';'
#   - DESCRIPTION for TYPE 'text'  MUST NOT contain '\t'
#
#   - DESCRIPTION MUST be formatted according to the type (see examples below):
#       - check: description
#       - radio: description ';' val1 ':' description1 ';' valN ':' descriptionN
#       - range: description ':' min ' ' max
#       - text : description

ITEMS=(
    PE_OUTPUT_USERNAME    check "" "Output the username"
    PE_OUTPUT_PASSWORD    check "" "Output the password"
    PE_EXTRACT_FTP        check "" "Extract FTP authentication"
    PE_EXTRACT_POP3       check "" "Extract POP3 authentication"
    PE_EXTRACT_IMAP       check "" "Extract IMAP authentication"
    PE_EXTRACT_SMTP       check "" "Extract SMTP authentication"
    PE_EXTRACT_HTTP_BASIC check "" "Extract HTTP Basic Authorization"
    PE_EXTRACT_HTTP_PROXY check "" "Extract HTTP Proxy Authorization"
    PE_EXTRACT_HTTP_GET   check "" "Extract HTTP GET authentication"
    PE_EXTRACT_HTTP_POST  check "" "Extract HTTP POST authentication"
    PE_EXTRACT_IRC        check "" "Extract IRC authentication"
    PE_EXTRACT_TELNET     check "" "Extract Telnet authentication"
    PE_EXTRACT_LDAP       check "" "Extract LDAP bind request authentication"
    PWXDEBUG              check "" "Activate debug output"
)

# Source the main config file
source ../scripts/t2conf/t2plconf
