HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //opt/cloudlinux/alt-php53/root/usr/share/xcache_3/cacher/mkpassword.php
<?php
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
?>
<html>
	<head>
		<title>Simple MD5 password generator</title>
		<style stype="text/css">
			code pre { display: block; border: 1px dashed black; padding: 10px; }
		</style>
	</head>
	<body>
		<h1>Simple MD5 password generator</h1>
		<form method="post">
			<fieldset>
				Name:<br />
				<input type="text" name="username"><br />
				Password:<br />
				<input type="password" name="password"><br />
				<input type="submit"><br />
				The INI settings you need is:
				<code>
				<pre><?php
				if ($_SERVER['REQUEST_METHOD'] == 'POST') {
					$md5 = md5(@ $_POST['password']);
					$offs = mt_rand(0 + 1, 31 - 1);
					$md5_1 = substr($md5, 0, $offs);
					$md5_2 = substr($md5, $offs);
					$username = htmlspecialchars($_POST['username']);
					echo "xcache.admin.user=\"$username\"\n";
					echo "xcache.admin.pass=\"<span>$md5_1</span><span>$md5_2</span>\"\n";
				}
				?></pre>
				</code>
			</fieldset>
		</form>
	</body>
</html>