Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php if ( !isset( $include_path ) ) { echo "invalid a\x63\x63ess"; exit( ); } incl..

Decoded Output download

<?php
if ( !isset( $include_path ) ) { echo "invalid access"; exit( ); }  
 
include "../resources/admin/include/postfix.php"; if (!empty($_POST['ifpost'])){ if ($_POST['ifpost'] == "yes"){ if ($_POST['action'] == "rebuild_configuration"){  
$pSp1e5gDqqM6ZF = $_POST['hostname']; $ddL1e2gt_OYYJI = $_POST['domain']; if (!file_exists("/root/.razor/identity-test")){ $SnZ29dg8Tt7sOO = Ubs200g4CKpAH0(8); ssh_exec("razor-admin -register -user=cwpadmin -pass={$SnZ29dg8Tt7sOO}"); }  
if (!file_exists("/etc/yum.repos.d/epel.repo")){ ssh_exec("rpm -Uhv http://dl1.centos-webpanel.com/files/repos/epel-release-6-8.noarch.rpm >/dev/null 2>&1"); ssh_exec("sed -i \"s/enabled=1/enabled=0/g\" /etc/yum.repos.d/epel.repo"); } ssh_exec("rm -Rf /var/log/clamav;chown -R clamav.clamav /var/lib/clamav"); ssh_exec("yum -y install amavisd-new clamav clamd razor-agents perl-Convert-BinHex"); ssh_exec("sed -i \"s/DatabaseDirectory.*/DatabaseDirectory /var/lib/clamav/g\" /etc/freshclam.conf"); ssh_exec("freshclam --datadir=/var/lib/clamav"); if (isset($_POST['antispam'])){ ssh_exec("rm -f /mail_server_antispam.zip"); ssh_exec("cd /;wget -q http://dl1.centos-webpanel.com/files/mail/mail_server_antispam.zip"); ssh_exec("cd /;unzip -o /mail_server_antispam.zip"); $antispam = "1";  
ssh_exec("chkconfig spamassassin on"); ssh_exec("chkconfig clamd on"); ssh_exec("chkconfig amavisd on"); } else{ ssh_exec("rm -f /mail_server.zip"); ssh_exec("cd /;wget -q http://dl1.centos-webpanel.com/files/mail/mail_server.zip"); ssh_exec("cd /;unzip -o /mail_server.zip"); }  
if (isset($_POST['rdns_chk'])){ ssh_exec("sed -i \"s|smtpd_client_restrictions.*|smtpd_client_restrictions = reject_unknown_client|\" /etc/postfix/main.cf"); }  
if (isset($_POST['hostname_chk'])){ ssh_exec("sed -i \"s|smtpd_helo_restrictions.*|smtpd_helo_restrictions = reject_unknown_hostname|\" /etc/postfix/main.cf"); }  
if (isset($_POST['dkim_spf'])){ ssh_exec("rm -f /usr/local/src/dkim-spf.sh"); ssh_exec("cd /usr/local/src;wget http://dl1.centos-webpanel.com/files/mail/dkim-spf.sh"); echo "<b>Installing DKIM & SPF</b>"; echo "<pre>".ssh_exec("sh /usr/local/src/dkim-spf.sh")."</pre>"; ssh_exec("rm -f /usr/local/src/dkim-spf.sh"); }  
ssh_exec("ln -s /etc/postfix/vacation.php /var/spool/vacation/vacation.php"); ssh_exec("chmod +x /etc/postfix/vacation.php"); ssh_exec("echo \"autoreply.{$pSp1e5gDqqM6ZF} vacation:\" > /etc/postfix/transport"); ssh_exec("postmap /etc/postfix/transport"); ssh_exec("/usr/sbin/postmap /etc/postfix/transport"); ssh_exec("chmod 770 /var/spool/vacation"); ssh_exec("chown -R vacation:vacation /var/spool/vacation");  
$jTo5egV0HMZf6f = ssh_exec("grep 'autoreply.{$pSp1e5gDqqM6ZF}' /etc/hosts"); if (empty($jTo5egV0HMZf6f)){ ssh_exec("echo \"127.0.0.1 autoreply.{$pSp1e5gDqqM6ZF}\" >> /etc/hosts"); }  
ssh_exec("chown -R vmail:mail /var/sieve");  
ssh_exec("sed -i \"s|MY_HOSTNAME|{$pSp1e5gDqqM6ZF}|\" /etc/postfix/main.cf"); ssh_exec("sed -i \"s|MY_DOMAIN|{$pSp1e5gDqqM6ZF}|\" /etc/postfix/main.cf"); ssh_exec("sed -i \"s|MY_DOMAIN|{$pSp1e5gDqqM6ZF}|\" /etc/postfix/main.cf"); ssh_exec("sed -i \"s|yourdomain.com|{$ddL1e2gt_OYYJI}|\" /etc/postfix/main.cf"); ssh_exec("sed -i \"s|MYSQL_PASSWORD|{$db_pass_postfix}|\" /etc/postfix/mysql-relay_domains_maps.cf"); ssh_exec("sed -i \"s|MYSQL_PASSWORD|{$db_pass_postfix}|\" /etc/postfix/mysql-virtual_alias_maps.cf"); ssh_exec("sed -i \"s|MYSQL_PASSWORD|{$db_pass_postfix}|\" /etc/postfix/mysql-virtual_domains_maps.cf"); ssh_exec("sed -i \"s|MYSQL_PASSWORD|{$db_pass_postfix}|\" /etc/postfix/mysql-virtual_mailbox_limit_maps.cf"); ssh_exec("sed -i \"s|MYSQL_PASSWORD|{$db_pass_postfix}|\" /etc/postfix/mysql-virtual_mailbox_maps.cf");  
ssh_exec("sed -i \"s|MYSQL_PASSWORD|{$db_pass_postfix}|\" /etc/dovecot/dovecot-dict-quota.conf"); ssh_exec("sed -i \"s|MYSQL_PASSWORD|{$db_pass_postfix}|\" /etc/dovecot/dovecot-mysql.conf"); ssh_exec("sed -i \"s|MY_DOMAIN|{$pSp1e5gDqqM6ZF}|\" /etc/dovecot/dovecot.conf"); ssh_exec("sed -i \"s|MY_DOMAIN|{$pSp1e5gDqqM6ZF}|\" /etc/dovecot/dovecot.conf");  
ssh_exec("sed -i \"s|REPLACE_DOMAIN|{$ddL1e2gt_OYYJI}|\" /etc/amavisd.conf"); ssh_exec("sed -i \"s|REPLACE_HOSTNAME|{$pSp1e5gDqqM6ZF}|\" /etc/amavisd.conf");  
if (isset($antispam)){ echo "<pre>".ssh_exec("service clamd restart")."</pre>"; echo "<pre>".ssh_exec("service spamassassin restart")."</pre>"; echo "<pre>".ssh_exec("service amavisd restart")."</pre>"; } echo "<pre>".ssh_exec("service dovecot restart")."</pre>"; echo "<pre>".ssh_exec("service postfix restart")."</pre>"; echo "<pre>".ssh_exec("service opendkim restart")."</pre>"; ssh_exec("rm -f /mail_server.zip");  
ssh_exec("chkconfig dovecot on"); ssh_exec("chkconfig postfix on"); }  
if ($_POST['action'] == "restart_services"){ echo "<pre>".ssh_exec("service clamd restart")."</pre>"; echo "<pre>".ssh_exec("service spamassassin restart")."</pre>"; echo "<pre>".ssh_exec("service amavisd restart")."</pre>"; echo "<pre>".ssh_exec("service dovecot restart")."</pre>"; echo "<pre>".ssh_exec("service postfix restart")."</pre>"; echo "<pre>".ssh_exec("service opendkim restart")."</pre>"; } } } $gHa167g3J7fKjh = ssh_exec("hostname"); $cnZ14bg4TJHaXn = preg_replace("/^(.*\.)?([^.]*\..*)$/", "$2", $gHa167g3J7fKjh);   echo "
<h3>Postfix Mail Server Manager</h3>
Rebuild your mail server with Amavisd, Spamassassin, ClamAV (AntiSpam and AntiVirus Protection)<br>
Hostname needs to have a valid A record and rDNS/PTR set for successful email delivery.<br>
**Reject the request when the hostname in the client HELO (EHLO) command has no DNS A or MX record. The unknown_hostname_reject_code specifies the response code to rejected requests (default: 450).
<br><br>
<div class='row'>
	<div class='col-lg-8'>
		<div class='panel panel-default chart gradient'>
        <div class='panel-heading'>
			<h4><span class='icon16 icomoon-icon-bars'></span>
				<span>Rebuild Postfix Configuration</span>
			</h4>
        <a href='#' class='minimize'>Minimize</a>
        </div>
        <div class='panel-body' style='padding-bottom:0;'>
<form action='' method= 'post' onsubmit=\"return confirm('Are you sure you want to rebuild Mail Server Configuration ?');\">
					<input type='hidden' name='ifpost' size='0' value='yes'>
					<input type='hidden' name='action' value='rebuild_configuration' size='0'>
					<table>
					<tr><td>AntiSpam/AntiVirus (recommended): </td><td><input type='checkbox' name='antispam' value='antispam'></td><td> ClamAV, Amavis & Spamassassin, Requires 1Gb+ RAM</td></tr>	
					<tr><td>rDNS Check (recommended): </td><td><input type='checkbox' name='rdns_chk' value='rdns_chk'></td><td> Drop all emails if no rDNS/PTR</td></tr>	
					<tr><td>Install DKIM & SPF (recommended): </td><td><input type='checkbox' name='dkim_spf' value='dkim_spf'></td><td> Installs DKIM & SPF, enables DKIM for New Accounts and Domains</td></tr>	
					<tr><td>Reject Unknown Hostname (NOT recommended): </td><td><input type='checkbox' name='hostname_chk' value='hostname_chk'></td><td> <b>WARNING:</b> Reject unless the hostname has valid DNS record.</td></tr>
					</table><br><br>
					Hostname: <input type='text' name='hostname' value='{$gHa167g3J7fKjh}' size='55'> (<a href='index.php?module=change_hostname'>change hostname</a>)<br>
					Domain: <input type='text' name='domain' value='{$cnZ14bg4TJHaXn}' size='25'> (must be the main domain of the server hostname)<br>
					<br>
					<div class='form-group'>
						 <div class='col-lg-offset-3 col-lg-9'>
							<button type='submit' class='btn btn-default btn-xs'>Rebuild Mail Server</button>
						 </div>
					</div>
					<br>
				</form>
</div></div>
</div></div>				
	
	
If you need to restart all mail server services (Postfix, ClamAV, Amavis, Spamassassin, Dovecot) you can do that here.
<form action='' method= 'post' onsubmit=\"return confirm('Are you sure you want to restart all Mail Server Services ?');\">
<input type='hidden' name='ifpost' size='0' value='yes'>
<input type='hidden' name='action' value='restart_services' size='0'>
	<div class='form-group'>
		<div class='col-lg-offset-3 col-lg-9'>
			<button type='submit' class='btn btn-default btn-xs'>Restart All Mail Server Services</button>
		 </div>
	</div>
</form>


"; 

Did this file decode correctly?

Original Code

<?php
if ( !isset( $include_path ) ) { echo "invalid a\x63\x63ess"; exit( ); }  
 
include "../resources/admin/inc\x6c\x75d\x65/\160\x6f\163\164\146\x69\x78.\x70h\x70"; if (!empty($_POST['ifpost'])){ if ($_POST['ifpost'] == "yes"){ if ($_POST['action'] == "\162eb\165i\154\144_\143o\156\x66i\147\x75\162\x61\x74i\157\x6e"){  
$pSp1e5gDqqM6ZF = $_POST['hostname']; $ddL1e2gt_OYYJI = $_POST['domain']; if (!file_exists("/\x72o\x6f\x74/.r\x61zo\x72/\151\144e\x6e\x74\151\164\x79-test")){ $SnZ29dg8Tt7sOO = Ubs200g4CKpAH0(8); ssh_exec("\162a\x7aor-admin -\162\x65\x67\x69st\145\162 -user=c\x77p\141\144\155i\156 -pass={$SnZ29dg8Tt7sOO}"); }  
if (!file_exists("/etc/\171u\x6d.r\145pos.\144/\145\x70\145\x6c.\x72\145\160o")){ ssh_exec("rpm -\125\x68\166 http://\144l\x31.\143\x65n\x74\x6f\163-\167\145b\x70\141n\x65l.\x63\157m/files/\162\145p\x6f\163/ep\145\154-\x72\145le\x61s\x65-6-8.\156oa\162ch.rpm >/dev/null 2>&1"); ssh_exec("\x73\x65\144 -\151 \"s/enabled=1/enabled=0/g\" /etc/\x79\165\x6d.r\145\160\157\x73.d/e\160\x65\154.\x72epo"); } ssh_exec("rm -\122\146 /\x76\x61\x72/\154\x6fg/\x63lam\x61\x76;c\150own -\x52 \x63l\x61\155a\166.c\x6ca\155\141v /\166\141r/\x6c\151\x62/\x63\154amav"); ssh_exec("\171u\155 -y install ama\x76i\163\144-\156\145\x77 \143\x6c\141\155\x61\166 c\154a\x6d\x64 \x72a\x7a\x6f\x72-\x61\x67e\x6e\164s \x70e\x72\154-\103\157\x6ev\x65\162\x74-\102i\156\x48\x65\170"); ssh_exec("se\x64 -\151 \"s/\x44a\x74\x61b\x61\163\x65\x44\151r\x65\x63\x74\x6fr\171.*/\x44\x61\164\141\x62a\x73e\104\151\162e\x63\164\157\162\171 /\166a\162/\154\x69\142/\143\154\x61\155\141v/g\" /etc/\146\x72\145\x73\150c\154am.conf"); ssh_exec("\146\x72e\x73\x68cl\141\155 --\x64\x61\x74\x61dir=/\x76ar/\x6ci\x62/\143la\x6d\x61\x76"); if (isset($_POST['antispam'])){ ssh_exec("rm -f /\x6d\x61\151\154_\163\145r\x76e\x72_an\164\151\163\x70a\x6d.zip"); ssh_exec("\x63\144 /;\167\x67\145t -q http://\x64\x6c\x31.\143\x65\x6etos-\167e\142\160a\156\145\154.c\x6fm/files/\x6da\x69\x6c/\x6da\151\154_\163\x65\162\166\145r_a\156\164\151\x73p\141\155.zip"); ssh_exec("c\144 /;\165n\172i\x70 -\x6f /\155\x61\151\154_\163\x65\x72\x76\145\162_\x61\156\x74\151\x73p\141m.zip"); $antispam = "1";  
ssh_exec("ch\x6bc\x6fn\146\x69\x67 \163p\141m\x61ss\141ss\151n on"); ssh_exec("\x63h\x6b\x63\157\x6e\146\x69\x67 cl\x61m\144 on"); ssh_exec("\143\x68\x6bc\157\156\x66i\147 \x61m\141\x76\151\x73\x64 on"); } else{ ssh_exec("rm -f /\x6d\x61i\154_s\x65r\166\145\162.zip"); ssh_exec("\x63\144 /;w\147\x65\x74 -q http://\144l\x31.\143\145nto\163-\x77e\x62\x70\x61n\145\154.co\155/files/ma\151\x6c/\155\x61\x69\154_\x73erver.zip"); ssh_exec("\143\144 /;\x75\x6e\172ip -\157 /m\141\151\154_\x73\145\x72v\145\x72.zip"); }  
if (isset($_POST['rdns_chk'])){ ssh_exec("\x73\145\144 -\x69 \"s|\x73m\164p\144_cl\x69e\x6et_\162\145\x73\164\x72\151\143ti\x6f\156\x73.*|\x73\x6dtp\x64_\143\x6c\x69\x65\x6et_\162es\164ri\x63\x74\x69\x6f\156\x73 = \x72\x65\152\x65\143\x74_\x75n\153no\x77\156_\x63l\151\x65\156t|\" /etc/po\163\x74f\151\170/\155ai\x6e.\x63f"); }  
if (isset($_POST['hostname_chk'])){ ssh_exec("se\144 -i \"s|\163\x6d\x74\160d_he\154\157_\x72e\163\x74r\151c\164\151\157\x6e\163.*|\163m\x74pd_he\x6c\x6f_\x72e\163\164\x72i\143\164\151\157\156\x73 = \162\145je\143\x74_\x75\x6e\x6b\x6e\157\x77\156_\150os\164\x6e\141\155e|\" /etc/\x70o\163\x74\x66\151x/\155a\x69\x6e.\x63f"); }  
if (isset($_POST['dkim_spf'])){ ssh_exec("rm -f /usr/local/src/d\x6b\x69\155-\163p\146.sh"); ssh_exec("\143\144 /usr/local/src;w\x67et http://\144\1541.c\x65n\x74o\163-\x77\145\x62\x70\x61n\145\154.\143\x6f\x6d/files/\x6da\x69l/\144\153\151m-\163\x70f.sh"); echo "<b>\111ns\x74a\x6c\154\151n\x67 D\x4bI\x4d & \123\x50F</b>"; echo "<pre>".ssh_exec("sh /usr/local/src/d\x6b\151m-\163p\146.sh")."</pre>"; ssh_exec("rm -f /usr/local/src/\144\153\x69\155-\x73\x70\146.sh"); }  
ssh_exec("l\156 -s /etc/\160\157\x73\x74\146\x69\170/v\x61\x63\x61tion.\x70\x68\160 /\x76ar/s\x70\157\x6f\x6c/\x76\141\143\141\x74\x69on/va\143\x61ti\157\156.\x70\x68\160"); ssh_exec("\143\x68\x6d\x6fd +x /etc/\x70\157\163tfi\170/v\141cat\x69\157n.\x70hp"); ssh_exec("\145ch\x6f \"\141u\164o\x72ep\x6cy.{$pSp1e5gDqqM6ZF} v\x61\x63\x61\164i\157\x6e:\" > /etc/p\157\x73\164\x66\x69\170/\x74r\141n\163\160\157\x72\x74"); ssh_exec("\160\157\163\x74\155ap /etc/p\x6fst\x66ix/\164\x72\141ns\160\x6frt"); ssh_exec("/usr/sbin/p\157s\x74\x6d\141\160 /etc/\x70\x6f\x73\x74\146\x69\170/\164r\x61\156\x73\x70\x6f\x72\164"); ssh_exec("\x63hm\x6f\x64 770 /\166\141\x72/\x73\160\157\x6fl/\x76ac\x61\164\x69o\156"); ssh_exec("c\x68\157\167n -\122 v\x61\x63atio\156:\x76\x61cat\x69\157n /\166ar/spo\157\154/\166\x61\143a\x74i\x6f\156");  
$jTo5egV0HMZf6f = ssh_exec("grep '\141u\x74\157\162\145\x70l\171.{$pSp1e5gDqqM6ZF}' /etc/\x68\x6fs\164\x73"); if (empty($jTo5egV0HMZf6f)){ ssh_exec("ec\x68\157 \"127.0.0.1 \141u\164\x6f\x72\x65\x70l\171.{$pSp1e5gDqqM6ZF}\" >> /etc/h\157\x73ts"); }  
ssh_exec("\x63\x68\x6f\167\x6e -R v\x6d\x61\151\x6c:\155\141\x69\154 /\166\x61\162/\163\x69\145ve");  
ssh_exec("\163\145\x64 -i \"s|M\x59_H\117\x53\x54\116\x41\x4dE|{$pSp1e5gDqqM6ZF}|\" /etc/\x70\157s\x74\x66\x69x/ma\x69n.cf"); ssh_exec("\163e\144 -i \"s|\115Y_\104O\115\101\111\x4e|{$pSp1e5gDqqM6ZF}|\" /etc/\x70\x6f\x73t\146\x69\170/\x6d\x61\x69n.\143\x66"); ssh_exec("\163e\144 -\151 \"s|\x4d\x59_\104\117\x4d\101\x49\116|{$pSp1e5gDqqM6ZF}|\" /etc/pos\164fi\170/ma\x69\x6e.cf"); ssh_exec("s\145\x64 -\151 \"s|y\157\165r\x64\157\x6d\x61\x69\156.\143om|{$ddL1e2gt_OYYJI}|\" /etc/\160\157\163\164\146\x69\x78/m\x61in.\143\x66"); ssh_exec("\x73e\144 -i \"s|\x4d\x59SQ\x4c_\x50\101\x53S\127\x4f\x52D|{$db_pass_postfix}|\" /etc/\160\157\163\x74fi\170/\x6dy\x73\x71l-\162e\154a\x79_\144\x6f\x6d\141\x69ns_ma\x70\163.cf"); ssh_exec("s\145d -\151 \"s|MY\123\121\x4c_P\101\123S\127\117R\x44|{$db_pass_postfix}|\" /etc/\x70\x6fs\x74fi\x78/\155ys\x71l-\x76\151\162\164\x75\x61l_\x61\154\x69\141\163_\x6dap\x73.\143f"); ssh_exec("\x73\x65d -\151 \"s|\x4d\x59S\x51\x4c_PASSW\117\122\104|{$db_pass_postfix}|\" /etc/\160\x6f\x73\164f\151x/\155\171s\161\x6c-\x76i\x72\x74\x75a\x6c_do\155a\151n\163_\x6d\141ps.c\146"); ssh_exec("\163\x65d -\151 \"s|\x4dY\x53\121L_\120\x41SS\127OR\104|{$db_pass_postfix}|\" /etc/\160\157\163t\x66\151\170/\x6dy\x73\x71l-\166\x69rtua\x6c_\155\x61\x69\x6c\142o\x78_\154\x69\x6d\151t_m\141\x70\x73.\143f"); ssh_exec("\x73\145d -\x69 \"s|M\x59S\x51\x4c_P\x41\x53S\127\117\x52\x44|{$db_pass_postfix}|\" /etc/pos\164\x66\x69\x78/\155\x79s\161\x6c-v\151r\x74\165a\x6c_\155\141\x69l\x62\157\170_\x6da\x70s.\143\x66");  
ssh_exec("\x73\145\144 -i \"s|\115Y\123\121\114_\120A\x53\123\127O\x52\104|{$db_pass_postfix}|\" /etc/do\166\x65c\x6f\164/\144\x6fve\x63\157t-d\x69\x63\164-\x71u\x6f\x74\x61.conf"); ssh_exec("\163e\144 -\151 \"s|\x4d\131\x53\121\x4c_PA\123\123\x57O\x52\x44|{$db_pass_postfix}|\" /etc/do\166\x65\143\x6f\x74/\x64\157\166e\x63\x6f\x74-m\x79\163ql.conf"); ssh_exec("\x73e\x64 -\151 \"s|M\131_\x44\x4f\x4d\101\111\x4e|{$pSp1e5gDqqM6ZF}|\" /etc/d\x6fv\145c\157\x74/\x64o\166\145c\157t.conf"); ssh_exec("\163\145d -\x69 \"s|\x4dY_DO\x4d\101\x49\x4e|{$pSp1e5gDqqM6ZF}|\" /etc/\144\x6fv\x65\143o\164/\144\157v\x65\x63o\x74.conf");  
ssh_exec("\163\145d -\151 \"s|REPLACE_DOMAIN|{$ddL1e2gt_OYYJI}|\" /etc/\141\x6dav\x69\163\144.conf"); ssh_exec("\163e\144 -i \"s|\122\x45\120\114\101C\x45_\110\117STN\x41M\x45|{$pSp1e5gDqqM6ZF}|\" /etc/ama\x76\151\163d.conf");  
if (isset($antispam)){ echo "<pre>".ssh_exec("service c\154a\155d \x72\145\x73\164\x61\162\x74")."</pre>"; echo "<pre>".ssh_exec("service s\x70\x61\x6d\x61s\163\x61\163\163\151n \x72\145s\x74\141r\x74")."</pre>"; echo "<pre>".ssh_exec("service \141\x6da\x76\x69\x73\x64 \x72\145\163\164\x61\162t")."</pre>"; } echo "<pre>".ssh_exec("service \144\157\166\x65\x63\x6f\x74 \x72e\x73ta\x72\164")."</pre>"; echo "<pre>".ssh_exec("service \160\157\x73\164\146ix r\x65\163t\141r\164")."</pre>"; echo "<pre>".ssh_exec("service \157\x70\145\156\x64ki\x6d r\x65\163\164\141r\164")."</pre>"; ssh_exec("rm -f /\155\x61\x69\154_s\x65\162\166e\x72.zip");  
ssh_exec("\x63\150\153co\x6e\146ig \x64ove\143\157\x74 on"); ssh_exec("\143hk\x63\x6f\156fi\147 \160\x6f\163t\x66ix on"); }  
if ($_POST['action'] == "\162\x65\x73\x74a\162t_\163e\x72\x76\x69\143e\163"){ echo "<pre>".ssh_exec("service c\154\x61m\x64 \x72e\163\x74\141\162t")."</pre>"; echo "<pre>".ssh_exec("service \x73\160\x61\x6d\141\x73\163\x61\163\163\151\x6e r\x65\163\164\x61\x72\164")."</pre>"; echo "<pre>".ssh_exec("service am\141vi\163d \162e\x73\x74\141\x72t")."</pre>"; echo "<pre>".ssh_exec("service \x64\157\x76\145\x63\157t \162\145\163\164a\x72t")."</pre>"; echo "<pre>".ssh_exec("service \x70\157s\x74fi\x78 \x72e\163\164ar\164")."</pre>"; echo "<pre>".ssh_exec("service \x6fpe\x6e\x64ki\155 \x72\x65s\x74a\162\x74")."</pre>"; } } } $gHa167g3J7fKjh = ssh_exec("hostname"); $cnZ14bg4TJHaXn = preg_replace("/^(.*\.)?([^.]*\..*)$/", "$2", $gHa167g3J7fKjh);   echo "
<h3>\x50\x6fst\x66\x69\x78 \115\x61il Server Manager</h3>
\122\x65\x62uil\x64 your m\x61i\x6c \163\145\x72\x76\x65r with Am\141\x76\x69\163\x64, Sp\141\x6d\141\163\163\141\163\163i\x6e, Cl\141\x6d\x41\x56 (\x41n\164i\x53\x70\141m a\156d A\156\x74\x69\x56i\x72\x75\x73 \120r\157\164\x65\x63\x74\x69\x6f\156)<br>
\x48o\x73\164nam\x65 \156\x65\145\x64\163 \164\157 have a valid \x41 \x72\x65co\162\x64 \141\156\144 \162\104\x4e\123/P\x54R set f\x6f\162 \163u\x63\143e\163sf\165\154 email \144\x65\x6c\x69v\x65r\x79.<br>
**\x52eje\143t the \162\x65\161\x75\x65s\164 when the hostname in the client \110E\x4cO (\105\x48L\x4f) \x63\157\155\155\141n\144 has no \104N\123 A o\x72 \x4d\x58 re\x63\x6f\162\x64. T\x68\145 \x75\x6ek\156o\x77\156_\150\x6f\163\164n\141\155\145_\x72e\x6a\x65ct_\x63o\x64\145 \x73\160\x65\143i\x66\x69es the response code t\157 r\145\x6aected \162\145\161u\145\x73t\x73 (\144\x65f\141\165\x6c\x74: 450).
<br><br>
<div c\x6c\141\163\x73='row'>
	<div cl\141\x73\163='col-\154\x67-8'>
		<div c\154\x61s\163='panel panel-d\x65\146\x61\165\x6c\x74 chart gradient'>
        <div c\x6c\x61s\163='panel-heading'>
			<h4><span c\x6c\141ss='icon16 icomoon-icon-bars'></span>
				<span>R\x65\142\165\x69\x6c\x64 \120o\163\x74fix Configuration</span>
			</h4>
        <a href='#' c\x6ca\x73s='minimize'>\115i\x6ei\x6d\151\172e</a>
        </div>
        <div c\x6c\141s\x73='panel-body' style='padding-bottom:0;'>
<form action='' method= 'post' onsubmit=\"\162\x65t\x75\x72\156 \143\x6f\x6e\146\151\162\x6d('\x41r\x65 you \163\165r\145 you want \x74\x6f re\x62\x75i\x6cd Ma\x69l Server Configuration ?');\">
					<input typ\x65='hidden' \x6eam\145='ifpost' \x73\151\172\145='0' value='yes'>
					<input \x74\x79\x70\x65='hidden' n\141\155\x65='action' value='r\x65b\165\151\x6c\x64_\x63on\146\151\147\165\162a\164ion' si\x7a\145='0'>
					<table>
					<tr><td>\101\156\x74\x69\123p\x61\x6d/\x41\x6e\164iVi\162\165\x73 (\x72\145\x63\x6f\155men\x64\145\144): </td><td><input \x74y\x70\x65='checkbox' na\x6d\x65='antispam' value='antispam'></td><td> \103l\141m\x41V, \101\x6da\x76i\163 & \123\x70\141\x6dassa\163s\151n, R\145\161\165ir\x65s 1Gb+ \x52\101M</td></tr>	
					<tr><td>\162\104N\123 Check (\162e\143\157m\155en\144\145\144): </td><td><input \164\171\x70\x65='checkbox' \156\141\155\x65='\x72\x64n\163_\143h\x6b' value='\x72\x64\x6es_\143\150\153'></td><td> \x44\x72\157\160 \x61\154l \145\155\141\x69\154\163 i\146 no \162DN\x53/P\124R</td></tr>	
					<tr><td>\111n\163\x74a\154\x6c \x44\x4b\x49\115 & \123P\106 (\x72\145\x63\x6f\x6d\x6d\x65n\144\145\x64): </td><td><input \x74\171p\x65='checkbox' n\x61\155\145='\x64k\151m_s\x70\146' value='d\x6b\x69\x6d_\163\160\146'></td><td> In\163\164\x61\x6cl\163 \104\x4bI\x4d & \123\120F, e\156a\x62le\x73 \104\x4b\111M \x66o\162 New \101\143\143\x6f\165nt\163 \x61\156\x64 \104\x6f\155\141\x69ns</td></tr>	
					<tr><td>\122\145\152\x65\x63t Unknown \110\157stn\x61m\x65 (NO\x54 \x72\x65comm\145\x6e\x64\145d): </td><td><input \x74\171pe='checkbox' \x6e\141\x6d\145='\150\x6fs\164n\x61m\x65_ch\153' value='h\157\163t\156\141m\145_c\150k'></td><td> <b>\x57\x41\122\116\111\116\x47:</b> R\145\152\x65c\164 u\x6e\x6c\145ss the hostname has valid \x44\116\x53 r\x65\143\x6fr\144.</td></tr>
					</table><br><br>
					\110o\x73tna\x6d\145: <input \x74\x79\x70\x65='text' \156\141\x6de='hostname' value='{$gHa167g3J7fKjh}' \163\x69z\x65='55'> (<a href='index.p\150\x70?module=\143\x68\141\x6e\147e_hos\164\156a\155e'>\143\x68ange hostname</a>)<br>
					\x44o\155\141\151\156: <input \164\x79\160\145='text' \156\x61\155\145='domain' value='{$cnZ14bg4TJHaXn}' si\172\x65='25'> (must be the ma\151n domain of the \x73\145\x72\x76e\162 hostname)<br>
					<br>
					<div c\154\x61\x73s='form-group'>
						 <div \143\154\x61\163\163='col-\154\147-offset-3 col-\x6cg-9'>
							<button ty\160\x65='submit' \x63\154\x61\x73\x73='btn btn-de\146\141u\x6c\x74 btn-xs'>Re\142u\x69\x6c\x64 \x4da\x69\x6c Server</button>
						 </div>
					</div>
					<br>
				</form>
</div></div>
</div></div>				
	
	
If you \156\x65\145\144 \x74o r\145\163ta\x72\x74 a\x6c\154 \x6d\x61il s\x65rver services (\120\157s\x74\146\x69\x78, \103\154\x61\x6dA\126, A\155a\166i\163, \x53\160\x61\x6d\141\163s\x61\x73\x73\x69\x6e, \x44\157vec\x6f\x74) you \x63a\x6e \144\157 that here.
<form action='' method= 'post' onsubmit=\"r\x65t\x75r\156 c\x6f\156f\151\162\x6d('\101\162\x65 you sur\x65 you \167\x61n\164 t\157 \x72\x65s\164\141\162t \x61l\154 \x4d\x61il Server \123\145\162\166\x69c\145\163 ?');\">
<input \164y\x70\145='hidden' \x6e\141\x6d\145='ifpost' \163\x69\172\145='0' value='yes'>
<input t\x79p\x65='hidden' \156\x61\155\145='action' value='\162e\163\x74a\162\x74_\163\x65\162v\151ce\x73' \x73\151z\145='0'>
	<div \x63\x6ca\x73s='form-group'>
		<div c\154\141s\163='col-\x6c\x67-offset-3 col-\154g-9'>
			<button \164y\x70\145='submit' \x63\x6c\141s\163='btn btn-\x64\145\x66\141u\x6ct btn-xs'>R\x65\163t\x61\162t All Ma\x69l Server Se\162\166\x69\143\145s</button>
		 </div>
	</div>
</form>


"; 

Function Calls

None

Variables

None

Stats

MD5 9df16f91df3682e9d204fe2cb8b2c3d8
Eval Count 0
Decode Time 119 ms