<?php

/**
 * HappyFenceNG Total Enterprise Security Plugin
 * HAPPYWPRESS is a RazorVue Trademark.
 *
 * @package     HappyFenceNG
 * @developer   Simonluca Scillitani
 * @copyright   2025 RazorVue di Scillitani Simonluca
 * @link        https://razorvue.it
 * @author      RazorVue di Scillitani Simonluca
 * @brand       HappyWPress
 * @uri         https://happywpress.com
 * @set all
 */
if ( !defined( 'ABSPATH' ) ) {
    exit;
}
/**PHPCS -> code compliance: we put useful comments where needed.. */
class HappyFenceNGSusqPattern extends HappyFenceNGRuntimeExceptions {
    /**PHPCS -> code compliance: we put useful comments where needed..
     *
     * @var array $pattern ...
     */
    private static array $patterns = HappyFenceNGPlaceholder::EMPTY_ARRAY;

    /**PHPCS -> code compliance: we put useful comments where needed.. */
    private static function init() {
        self::$patterns['PHP_T@G'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['SCR1PT_TAG'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['SCR1PT_ENC0DED'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['3VAL_C@LL'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['SUSP3CT_B@S364'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['D@NGER0US_FUNC$'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['PHP_0R_XSS_SNIPP3T'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['B@S364_D3C0D3'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['UN1ON_S3LECT'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['S3LECT_FR0M'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['INF0_SCH3MA'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['B3NCHM@RK_C@LL'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['SL3EP_C@LL'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['0R_1_3QUALS_1'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['P@TH_TRAV3RS@L'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['C0MD_INJ3CTION_C@T'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['C0MMON_RC3_T00LS'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['AWS_K3YS_PR0BE'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['QU3RY_P@RAM_3X3C'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['3NV_F1LE'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['G1T_R3P0'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['G1T_C0NF1G'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['B@SH_H1ST0RY'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['AWS_CR3D3NT1@LS'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['P@SSWD_FIL3'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['SH@D0W_FIL3'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['C0MD_C@T_R0OT'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['C0MD_C@T_@NY'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['RC3_P@YL0ADS'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['D0UBL3_D0T'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['WP_C0NFIG_PROB3'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['C0MPOS3R_JS0N'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['C0MPOS3R_L0CK'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['3NV_ALL'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['3NV_DIST'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['VSCOD3_S3TTINGS'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['VSCOD3'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['ID_RS@'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['PHPUNIT_T3ST'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['T3ST_PHP'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['L@RAV3L_LOG'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['D3BUG_B@R'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['W3LL_KN0WN'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['WS0_SH3LL'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['M@IL3R_PHP'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['DB_B@CKUP_SQL'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['DB_FIL3_3XP0SED'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['C0NFIG_B@CKUP'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['3NV_L0CAL'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['PHP_B@K_F1LES'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['GIT_IGN0R3'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['SVN_3NTR1ES'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['ADMIN3R_PR0BE'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['PHPMY@DMIN_PR0BE'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['S3RVER_PR0BE'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['B@CKEND'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['@PP'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['@PI'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['G1T_CR3DENTI@LS'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['GITL@B'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['DS_ST0R3'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['WEBSH3LL_PR0B3'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['1NPUT_P@RAM_SCRIPT'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['SRC_D@TA_URI'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['ONERROR_1NJECTION'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['IFR@ME_1NJECTION'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['N0DE_MODUL3S'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['V3NDOR_@UTOL0AD'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['ID3A_F0LDER'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['UPL0ADS_PHP_3XEC'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['WP_JS0N_API'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['LIC3NSE_PR0BE'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['R3ST_US3RS_3NUMER@TION'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['UPL0ADED_@RCHIVES'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['BACKUP_F0LDER_PR0B3'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['WP_L0AD_PR0B3'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['INDEX_IN_UPLO@DS'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['FAVIC0N_PR0B3'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['N1KT0'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['D1RBUST3R'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['@CUN3TIX'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['N3TSP@RK3R'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['WPSC@N'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['NM@P'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['PYTH0N-HTTPX'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['S3MRUSH_B0T'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['@I0HTTP'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['S3TUP'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['G0CL13NT'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['WP-LINKS-0PML'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['B@BBAR-TECH'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['0PENAI'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['3NV_CH3CK'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['@RCHIV3-ORG'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['@MAZONB0T'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['GPTB0T'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['AHR3FS'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['C3NSYS'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['SH0DAN'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['Z0OM3YE'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['APPL3B0T'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['WIND0WS_OLD'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['M@C_OLD'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['@NDROID_OLD'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['I0S_OLD'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['TV_0LD'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['W0W64'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['KINDL3'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['0LD_CHROM3'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['0LD_IE'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['0LD_FIR3FOX'] = HappyFenceNGPlaceholder::EMPTY_STRING;
        self::$patterns['0LD_CHR0ME'] = HappyFenceNGPlaceholder::EMPTY_STRING;
    }

    /**PHPCS -> code compliance: we put useful comments where needed.. */
    private static function check() {
    }

    /**PHPCS -> code compliance: we put useful comments where needed.. */
    public static function as_array() : array {
        self::init();
        return self::$patterns;
    }

    /**PHPCS -> code compliance: we put useful comments where needed.. */
    public static function get_selectable_keys() : array {
        self::init();
        $arr = self::$patterns;
        foreach ( $arr as $k => $value ) {
            $arr[$k] = HappyFenceNGWhoAmI::get_instance()->SUSPICIOUSQUERY->{$k};
        }
        return $arr;
    }

}
