public function GetBannedCharacters($_Okzcm65r2xk7cnyn7alwl, $_Or6k3lwvtvdppv1b)
 {
     if ($_Okzcm65r2xk7cnyn7alwl <= 1) {
         throw new Exception("This overload should only be called for lengths of 2 or more: " . $_Okzcm65r2xk7cnyn7alwl . $_Or6k3lwvtvdppv1b);
     }
     $_im9j74wzyx79r29ib3iag = array();
     if (is_null($this->_Ohh8em9j7ndbqkmkx8c467yu0v) || !array_key_exists($_Okzcm65r2xk7cnyn7alwl, $this->_Ohh8em9j7ndbqkmkx8c467yu0v)) {
         return $_im9j74wzyx79r29ib3iag;
     }
     $_1mq0tclph52i90tbzqb58qdxah = $this->_Ohh8em9j7ndbqkmkx8c467yu0v[$_Okzcm65r2xk7cnyn7alwl];
     foreach ($_1mq0tclph52i90tbzqb58qdxah as $_0f7jfn8h7rk1r656 => $_l16irsu8n54p75bd) {
         if (LBD_StringHelper::StartsWith($_l16irsu8n54p75bd, $_Or6k3lwvtvdppv1b)) {
             $_im9j74wzyx79r29ib3iag[] = mb_substr($_l16irsu8n54p75bd, $_Okzcm65r2xk7cnyn7alwl - 1, 1, LBD_StringHelper::Encoding);
         }
     }
     return $_im9j74wzyx79r29ib3iag;
 }
 public function GetBannedCharacters($_oq5kkrjs5mqzxa0grel22, $_1o8cpgb47fpwslk3)
 {
     if ($_oq5kkrjs5mqzxa0grel22 <= 1) {
         throw new Exception("This overload should only be called for lengths of 2 or more: " . $_oq5kkrjs5mqzxa0grel22 . $_1o8cpgb47fpwslk3);
     }
     $_04ka7se68ay9xoqty4vf1mgkll = array();
     if (is_null($this->_Ii4p9ftbcgttyk68) || !array_key_exists($_oq5kkrjs5mqzxa0grel22, $this->_Ii4p9ftbcgttyk68)) {
         return $_04ka7se68ay9xoqty4vf1mgkll;
     }
     $_0xxgm4ywrtwn5fqpcalt7rv39d = $this->_Ii4p9ftbcgttyk68[$_oq5kkrjs5mqzxa0grel22];
     foreach ($_0xxgm4ywrtwn5fqpcalt7rv39d as $_Ih3yudrya77up193zqtlj => $_lmyzduy4ue5y527nd6mra) {
         if (LBD_StringHelper::StartsWith($_lmyzduy4ue5y527nd6mra, $_1o8cpgb47fpwslk3)) {
             $_04ka7se68ay9xoqty4vf1mgkll[] = mb_substr($_lmyzduy4ue5y527nd6mra, $_oq5kkrjs5mqzxa0grel22 - 1, 1, LBD_StringHelper::Encoding);
         }
     }
     return $_04ka7se68ay9xoqty4vf1mgkll;
 }
 public function GetBannedCharacters($_Olfpezxj6plyh5j5, $_1c6b90pmduvj9yq8nvb50)
 {
     if ($_Olfpezxj6plyh5j5 <= 1) {
         throw new Exception("This overload should only be called for lengths of 2 or more: " . $_Olfpezxj6plyh5j5 . $_1c6b90pmduvj9yq8nvb50);
     }
     $_128n2e66je32k6m3xs80luwsud = array();
     if (is_null($this->_Idt4k2m8kesuqvku21eza) || !array_key_exists($_Olfpezxj6plyh5j5, $this->_Idt4k2m8kesuqvku21eza)) {
         return $_128n2e66je32k6m3xs80luwsud;
     }
     $_1ja2sqyo9jos5n7svxlug = $this->_Idt4k2m8kesuqvku21eza[$_Olfpezxj6plyh5j5];
     foreach ($_1ja2sqyo9jos5n7svxlug as $_itowttczsmynsi3e => $_0nxr4hc7u6wtke79y41hf) {
         if (LBD_StringHelper::StartsWith($_0nxr4hc7u6wtke79y41hf, $_1c6b90pmduvj9yq8nvb50)) {
             $_128n2e66je32k6m3xs80luwsud[] = mb_substr($_0nxr4hc7u6wtke79y41hf, $_Olfpezxj6plyh5j5 - 1, 1, LBD_StringHelper::Encoding);
         }
     }
     return $_128n2e66je32k6m3xs80luwsud;
 }
define('LBD_INCLUDE_PATH', $LBD_Include_Path);
define('LBD_URL_ROOT', $LBD_Url_Root);
define('LBD_CONFIG_OVERRIDE_PATH', $LBD_Config_Override_Path);
function LBD_NormalizePath($p_Path)
{
    // replace backslashes with forward slashes
    $canonical = str_replace('\\', '/', $p_Path);
    // ensure ending slash
    $canonical = rtrim($canonical, '/');
    $canonical .= '/';
    return $canonical;
}
// 2. include required base class declarations
require_once LBD_INCLUDE_PATH . 'CaptchaIncludes.php';
// 3. include BotDetect configuration
// a) mandatory global config, located in lib path
require_once LBD_INCLUDE_PATH . 'CaptchaConfig.php';
// b) optional config override
$LBD_ConfigOverridePath = LBD_CONFIG_OVERRIDE_PATH . 'CaptchaConfig.php';
if (is_file($LBD_ConfigOverridePath)) {
    include_once $LBD_ConfigOverridePath;
}
// 4. determine is this file included in a form/class, or requested directly
$LBD_RequestFilename = basename($_SERVER['REQUEST_URI']);
if (LBD_StringHelper::StartsWith($LBD_RequestFilename, 'botdetect.php')) {
    // direct access, proceed as Captcha handler (serving images and sounds)
    require_once LBD_INCLUDE_PATH . 'CaptchaHandler.php';
} else {
    // included in another file, proceed as Captcha class (form helper)
    require_once LBD_INCLUDE_PATH . 'CaptchaClass.php';
}
Esempio n. 5
0
 public function GetBannedCharacters($_im1v02owhtdl831aus8f3, $_1ua6l0gkodpge1ihuwsxay6val)
 {
     if ($_im1v02owhtdl831aus8f3 <= 1) {
         throw new Exception("This overload should only be called for lengths of 2 or more: " . $_im1v02owhtdl831aus8f3 . $_1ua6l0gkodpge1ihuwsxay6val);
     }
     $_oephqoz3e1e587cfnxjglbcjff = array();
     if (is_null($this->_lpe45ucuohp3w4123ornnxywy8) || !array_key_exists($_im1v02owhtdl831aus8f3, $this->_lpe45ucuohp3w4123ornnxywy8)) {
         return $_oephqoz3e1e587cfnxjglbcjff;
     }
     $_1b9d2rluvz7zcldqbwfo92dxde = $this->_lpe45ucuohp3w4123ornnxywy8[$_im1v02owhtdl831aus8f3];
     foreach ($_1b9d2rluvz7zcldqbwfo92dxde as $_1kvhbllamjqq27pf => $_ozz4m5nwv4njk41s) {
         if (LBD_StringHelper::StartsWith($_ozz4m5nwv4njk41s, $_1ua6l0gkodpge1ihuwsxay6val)) {
             $_oephqoz3e1e587cfnxjglbcjff[] = mb_substr($_ozz4m5nwv4njk41s, $_im1v02owhtdl831aus8f3 - 1, 1, LBD_StringHelper::Encoding);
         }
     }
     return $_oephqoz3e1e587cfnxjglbcjff;
 }