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 class MathCaptcha extends SimpleCaptcha { /** Validate a captcha response */ function keyMatch( $answer, $info ) { return (int)$answer == (int)$info['answer']; } function addCaptchaAPI( &$resultArr ) { list( $sum, $answer ) = $this->pickSum(); $index = $this->storeCaptcha( array( 'answer' => $answer ) ); $resultArr['captcha']['type'] = 'math'; $resultArr['captcha']['mime'] = 'text/tex'; $resultArr['captcha']['id'] = $index; $resultArr['captcha']['question'] = $sum; } /** Produce a nice little form */ function getForm() { list( $sum, $answer ) = $this->pickSum(); $index = $this->storeCaptcha( array( 'answer' => $answer ) ); $form = '<table><tr><td>' . $this->fetchMath( $sum ) . '</td>'; $form .= '<td>' . Xml::input( 'wpCaptchaWord', false, false, array( 'tabindex' => '1' ) ) . '</td></tr></table>'; $form .= Html::hidden( 'wpCaptchaId', $index ); return $form; } /** Pick a random sum */ function pickSum() { $a = mt_rand( 0, 100 ); $b = mt_rand( 0, 10 ); $op = mt_rand( 0, 1 ) ? '+' : '-'; $sum = "{$a} {$op} {$b} = "; $ans = $op == '+' ? ( $a + $b ) : ( $a - $b ); return array( $sum, $ans ); } /** Fetch the math */ function fetchMath( $sum ) { // class_exists() unfortunately doesn't work with HipHop, and // its replacement, MWInit::classExists(), wasn't added until // MW 1.18, and is thus unusable here - so instead, we'll // just duplicate the code of MWInit::classExists(). try { $r = new ReflectionClass( 'MathRenderer' ); } catch( ReflectionException $r ) { throw new MWException( 'MathCaptcha requires the Math extension for MediaWiki versions 1.18 and above.' ); } $math = new MathRenderer( $sum ); $math->setOutputMode( MW_MATH_PNG ); $html = $math->render(); return preg_replace( '/alt=".*?"/', '', $html ); } }