Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
backup /
extensions /
ConfirmEdit /
Delete
Unzip
Name
Size
Permission
Date
Action
Captcha.php
25.3
KB
-rw-r--r--
2011-04-24 19:33
CaptchaStore.php
2.29
KB
-rw-r--r--
2011-04-24 18:49
ConfirmEdit.alias.php
1.8
KB
-rw-r--r--
2011-05-14 02:11
ConfirmEdit.i18n.php
381.17
KB
-rw-r--r--
2011-07-13 21:43
ConfirmEdit.php
8.46
KB
-rw-r--r--
2011-09-13 02:21
ConfirmEditHooks.php
2
KB
-rw-r--r--
2011-04-24 13:41
FancyCaptcha.class.php
6.63
KB
-rw-r--r--
2012-01-03 20:34
FancyCaptcha.i18n.php
132.9
KB
-rw-r--r--
2011-07-18 22:05
FancyCaptcha.php
1.75
KB
-rw-r--r--
2010-08-29 15:31
HTMLCaptchaField.php
2.37
KB
-rw-r--r--
2011-04-24 13:47
MathCaptcha.class.php
1.79
KB
-rw-r--r--
2011-07-13 01:11
MathCaptcha.php
512
B
-rw-r--r--
2010-06-06 17:12
QuestyCaptcha.class.php
2.05
KB
-rw-r--r--
2012-01-03 20:34
QuestyCaptcha.i18n.php
100.98
KB
-rw-r--r--
2011-07-11 21:37
QuestyCaptcha.php
1.8
KB
-rw-r--r--
2011-02-09 00:39
README
1.21
KB
-rw-r--r--
2011-09-13 02:21
ReCaptcha.i18n.php
31.76
KB
-rw-r--r--
2011-07-13 21:43
ReCaptcha.php
3.78
KB
-rw-r--r--
2011-09-29 23:37
captcha.py
7.66
KB
-rw-r--r--
2010-06-21 15:45
recaptchalib.php
9.68
KB
-rw-r--r--
2011-09-29 23:37
Save
Rename
<?php /** * HTMLFormField for inserting Captchas into a form. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * * @class */ class HTMLCaptchaField extends HTMLFormField { /** * @var Captcha */ private $captcha; public $prefix = ''; /** * @var Bool|Array */ private $validationResult; public function __construct( $params ){ parent::__construct( $params ); // For differentiating the type of form, mainly if( isset( $params['prefix'] ) ){ $this->prefix = $params['prefix']; } } /** * Get the captcha body. Don't include any of the surrounding table cells/rows * * @param $value String * @return String */ public function getInputHTML( $value ){ # TODO } public function validate( $data, $alldata ){ // We sent back the exists status of the captcha before. If it *doesn't* exist // we actually want to validate this as true, because we don't want an angry red // error message, just for the user to put the captcha in again if( $data === false ){ return true; } } /** * @param $request WebRequest * @return void */ public function loadDataFromRequest( $request ){ $this->captcha = Captcha::factory(); $this->captcha->loadFromRequest( $request, $this ); if( !$this->captcha->exists() ){ // The captcha doesn't exist; probably because it's already been used and // then deleted for security. Load the field up with a new captcha which // will be shown to the user when the validation of said new object fails $this->captcha = Captcha::newRandom(); } // This will be useful as the difference between "the captcha doesn't exist" and // "you answered the captcha wrongly" return $this->captcha->exists(); } }