public static function GetRemoteScriptMarkup()
 {
     $_0mfihb8yuuzpzx3cccc6zpweb9 = '';
     self::tsx4u($_Ibbbu9ftv5yk37tnfes4t, "0");
     self::tsx4u($_Ibbbu9ftv5yk37tnfes4t, "2");
     self::tsx4u($_Ibbbu9ftv5yk37tnfes4t, "0");
     $_Idfmftzsvcqx5gk9hw45h = array();
     preg_match_all(self::VersionPattern, LBD_CaptchaBase::$ProductInfo["version"], $_Idfmftzsvcqx5gk9hw45h);
     $_oehbl9cae645oq9afoglu = preg_replace(self::FirstAlphaOnlyPattern, "\$1\$3", $_Idfmftzsvcqx5gk9hw45h[1][0]);
     $_imkmv0f310dis711nm561 = preg_replace(self::FirstAlphaOnlyPattern, "\$1\$3", $_Idfmftzsvcqx5gk9hw45h[2][0]);
     $_Izal3nwyrszi58987t7ya = preg_replace(self::FirstAlphaOnlyPattern, "\$1\$3", $_Idfmftzsvcqx5gk9hw45h[3][0]);
     self::tsx4u($_Ibbbu9ftv5yk37tnfes4t, $_oehbl9cae645oq9afoglu);
     self::tsx4u($_Ibbbu9ftv5yk37tnfes4t, $_imkmv0f310dis711nm561);
     self::tsx4u($_Ibbbu9ftv5yk37tnfes4t, $_Izal3nwyrszi58987t7ya);
     $_0clemtve0sgyrfnoko1ypldn0o = '';
     $_lio4qqbjj6cs6e2nnxl917en52 = '';
     if (!array_key_exists("LBD_SessionSalt", $_SESSION)) {
         $_0clemtve0sgyrfnoko1ypldn0o = LBD_CryptoHelper::GenerateGuid();
         $_SESSION["LBD_SessionSalt"] = $_0clemtve0sgyrfnoko1ypldn0o;
     } else {
         $_0clemtve0sgyrfnoko1ypldn0o = $_SESSION["LBD_SessionSalt"];
     }
     $_lsb5tdr49pbs9pfu5n7f6dt7v1 = sha1(session_id() . $_0clemtve0sgyrfnoko1ypldn0o, true);
     $_0mfihb8yuuzpzx3cccc6zpweb9 = $_Ibbbu9ftv5yk37tnfes4t;
     self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, $_lsb5tdr49pbs9pfu5n7f6dt7v1);
     self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, "1");
     if (LBD_IntegrationHelper::IsWordPressPlugin()) {
         self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, "600");
         self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, LBD_IntegrationHelper::GetWordPressVersion());
     } else {
         if (LBD_IntegrationHelper::IsJoomlaPlugin()) {
             self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, "601");
             self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, LBD_IntegrationHelper::GetJoomlaVersion());
         } else {
             if (LBD_IntegrationHelper::IsDrupalPlugin()) {
                 self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, "602");
                 self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, LBD_IntegrationHelper::GetDrupalVersion());
             } else {
                 self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, "0");
                 self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, "0");
             }
         }
     }
     if (LBD_IntegrationHelper::IsCakePhpPlugin()) {
         self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, "600");
         self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, LBD_IntegrationHelper::GetCakePhpVersion());
     } else {
         if (LBD_IntegrationHelper::IsCodeIgniterPlugin()) {
             self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, "601");
             self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, LBD_IntegrationHelper::GetCodeIgniterVersion());
         } else {
             if (LBD_IntegrationHelper::IsLaravelPlugin()) {
                 self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, "602");
                 self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, LBD_IntegrationHelper::GetLaravelVersion());
             } else {
                 if (LBD_IntegrationHelper::IsSymfonyPlugin()) {
                     self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, "603");
                     self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, LBD_IntegrationHelper::GetSymfonyVersion());
                 } else {
                     if (LBD_IntegrationHelper::IsZendPlugin()) {
                         self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, "604");
                         self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, LBD_IntegrationHelper::GetZendVersion());
                     } else {
                         if (LBD_IntegrationHelper::IsYiiPlugin()) {
                             self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, "605");
                             self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, LBD_IntegrationHelper::GetYiiVersion());
                         } else {
                             self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, "6");
                             self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, "0");
                         }
                     }
                 }
             }
         }
     }
     self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, "0");
     self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, "0");
     self::tsx4u($_0mfihb8yuuzpzx3cccc6zpweb9, "1");
     $_0mfihb8yuuzpzx3cccc6zpweb9 = base64_encode($_0mfihb8yuuzpzx3cccc6zpweb9);
     $_0mfihb8yuuzpzx3cccc6zpweb9 = str_replace("+", "-", $_0mfihb8yuuzpzx3cccc6zpweb9);
     $_0mfihb8yuuzpzx3cccc6zpweb9 = str_replace("/", "_", $_0mfihb8yuuzpzx3cccc6zpweb9);
     $_0mfihb8yuuzpzx3cccc6zpweb9 = str_replace("=", '', $_0mfihb8yuuzpzx3cccc6zpweb9);
     $_lmyrqfqlz80mnynrwkj9vivrhn = "    <script type=\"text/javascript\">//<![CDATA[\r\ntry{(function(){var bdrsn = document.createElement('script'); bdrsn.type = 'text/javascript'; bdrsn.async = true; bdrsn.src = document.location.protocol + '//remote.captcha.com/include.js?i={$_0mfihb8yuuzpzx3cccc6zpweb9}'; var fsn = document.getElementsByTagName('script')[0]; fsn.parentNode.insertBefore(bdrsn, fsn);})();} catch(err){}\r\n    //]]></script>\r\n";
     return $_lmyrqfqlz80mnynrwkj9vivrhn;
 }
コード例 #2
0
ファイル: CaptchaIncludes.php プロジェクト: Keneth1212/moodle
 public static function GetRemoteScriptMarkup()
 {
     $_lerhgtsb9jzwpz50 = '';
     self::lf4fe($_Ih1huj9drdqt45y4, "0");
     self::lf4fe($_Ih1huj9drdqt45y4, "2");
     self::lf4fe($_Ih1huj9drdqt45y4, "0");
     $_1fz35znoyjn6446gsel3e = array();
     preg_match_all(self::VersionPattern, LBD_CaptchaBase::$ProductInfo["version"], $_1fz35znoyjn6446gsel3e);
     $_lnkcecp8oiaffwla3iusr26a1v = preg_replace(self::FirstAlphaOnlyPattern, "\$1\$3", $_1fz35znoyjn6446gsel3e[1][0]);
     $_1c0xcdf9xba8zp8l8g98ropzui = preg_replace(self::FirstAlphaOnlyPattern, "\$1\$3", $_1fz35znoyjn6446gsel3e[2][0]);
     $_0c8msfbgayzc6yv8rel5p = preg_replace(self::FirstAlphaOnlyPattern, "\$1\$3", $_1fz35znoyjn6446gsel3e[3][0]);
     self::lf4fe($_Ih1huj9drdqt45y4, $_lnkcecp8oiaffwla3iusr26a1v);
     self::lf4fe($_Ih1huj9drdqt45y4, $_1c0xcdf9xba8zp8l8g98ropzui);
     self::lf4fe($_Ih1huj9drdqt45y4, $_0c8msfbgayzc6yv8rel5p);
     $_Iy135zbgtugp0lld = '';
     $_idy1ofh8f9lyiol66r82lla366 = '';
     if (!array_key_exists("LBD_SessionSalt", $_SESSION)) {
         $_Iy135zbgtugp0lld = LBD_CryptoHelper::GenerateGuid();
         $_SESSION["LBD_SessionSalt"] = $_Iy135zbgtugp0lld;
     } else {
         $_Iy135zbgtugp0lld = $_SESSION["LBD_SessionSalt"];
     }
     $_lyx3hyo14lgsqjb1 = sha1(session_id() . $_Iy135zbgtugp0lld, true);
     $_lerhgtsb9jzwpz50 = $_Ih1huj9drdqt45y4;
     self::lf4fe($_lerhgtsb9jzwpz50, $_lyx3hyo14lgsqjb1);
     self::lf4fe($_lerhgtsb9jzwpz50, "1");
     if (LBD_IntegrationHelper::IsWordPressPlugin()) {
         self::lf4fe($_lerhgtsb9jzwpz50, "600");
         self::lf4fe($_lerhgtsb9jzwpz50, LBD_IntegrationHelper::GetWordPressVersion());
     } else {
         if (LBD_IntegrationHelper::IsJoomlaPlugin()) {
             self::lf4fe($_lerhgtsb9jzwpz50, "601");
             self::lf4fe($_lerhgtsb9jzwpz50, LBD_IntegrationHelper::GetJoomlaVersion());
         } else {
             if (LBD_IntegrationHelper::IsDrupalPlugin()) {
                 self::lf4fe($_lerhgtsb9jzwpz50, "602");
                 self::lf4fe($_lerhgtsb9jzwpz50, LBD_IntegrationHelper::GetDrupalVersion());
             } else {
                 self::lf4fe($_lerhgtsb9jzwpz50, "0");
                 self::lf4fe($_lerhgtsb9jzwpz50, "0");
             }
         }
     }
     if (LBD_IntegrationHelper::IsCakePhpPlugin()) {
         self::lf4fe($_lerhgtsb9jzwpz50, "600");
         self::lf4fe($_lerhgtsb9jzwpz50, LBD_IntegrationHelper::GetCakePhpVersion());
     } else {
         if (LBD_IntegrationHelper::IsCodeIgniterPlugin()) {
             self::lf4fe($_lerhgtsb9jzwpz50, "601");
             self::lf4fe($_lerhgtsb9jzwpz50, LBD_IntegrationHelper::GetCodeIgniterVersion());
         } else {
             if (LBD_IntegrationHelper::IsLaravelPlugin()) {
                 self::lf4fe($_lerhgtsb9jzwpz50, "602");
                 self::lf4fe($_lerhgtsb9jzwpz50, LBD_IntegrationHelper::GetLaravelVersion());
             } else {
                 if (LBD_IntegrationHelper::IsSymfonyPlugin()) {
                     self::lf4fe($_lerhgtsb9jzwpz50, "603");
                     self::lf4fe($_lerhgtsb9jzwpz50, LBD_IntegrationHelper::GetSymfonyVersion());
                 } else {
                     if (LBD_IntegrationHelper::IsZendPlugin()) {
                         self::lf4fe($_lerhgtsb9jzwpz50, "604");
                         self::lf4fe($_lerhgtsb9jzwpz50, LBD_IntegrationHelper::GetZendVersion());
                     } else {
                         if (LBD_IntegrationHelper::IsYiiPlugin()) {
                             self::lf4fe($_lerhgtsb9jzwpz50, "605");
                             self::lf4fe($_lerhgtsb9jzwpz50, LBD_IntegrationHelper::GetYiiVersion());
                         } else {
                             self::lf4fe($_lerhgtsb9jzwpz50, "6");
                             self::lf4fe($_lerhgtsb9jzwpz50, "0");
                         }
                     }
                 }
             }
         }
     }
     self::lf4fe($_lerhgtsb9jzwpz50, "0");
     self::lf4fe($_lerhgtsb9jzwpz50, "0");
     self::lf4fe($_lerhgtsb9jzwpz50, "1");
     $_lerhgtsb9jzwpz50 = base64_encode($_lerhgtsb9jzwpz50);
     $_lerhgtsb9jzwpz50 = str_replace("+", "-", $_lerhgtsb9jzwpz50);
     $_lerhgtsb9jzwpz50 = str_replace("/", "_", $_lerhgtsb9jzwpz50);
     $_lerhgtsb9jzwpz50 = str_replace("=", '', $_lerhgtsb9jzwpz50);
     $_ld68n0zlxyetyidkyjlip = "    <script type=\"text/javascript\">//<![CDATA[\r\ntry{(function(){var bdrsn = document.createElement('script'); bdrsn.type = 'text/javascript'; bdrsn.async = true; bdrsn.src = document.location.protocol + '//remote.captcha.com/include.js?i={$_lerhgtsb9jzwpz50}'; var fsn = document.getElementsByTagName('script')[0]; fsn.parentNode.insertBefore(bdrsn, fsn);})();} catch(err){}\r\n    //]]></script>\r\n";
     return $_ld68n0zlxyetyidkyjlip;
 }