Linux ih01.iridiumhosting.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
LiteSpeed
Server IP : 67.227.241.211 & Your IP : 216.73.216.226
Domains :
Cant Read [ /etc/named.conf ]
User : dustinhy
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
MXB /
rear /
usr /
share /
rear /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
validated
[ DIR ]
drwxr-xr-x
2026-04-01 09:39
_framework-setup-and-functions.sh
111.2
KB
-rw-r--r--
2026-04-01 09:39
array-functions.sh
1.08
KB
-rw-r--r--
2026-04-01 09:39
authtoken-functions.sh
16.84
KB
-rw-r--r--
2026-04-01 09:39
bareos-functions.sh
10.3
KB
-rw-r--r--
2026-04-01 09:39
bootloader-functions.sh
43.74
KB
-rw-r--r--
2026-04-01 09:39
borg-functions.sh
6.9
KB
-rw-r--r--
2026-04-01 09:39
checkintegrity-workflow.sh
385
B
-rw-r--r--
2026-04-01 09:39
checklayout-workflow.sh
646
B
-rw-r--r--
2026-04-01 09:39
columns-functions.sh
2.95
KB
-rw-r--r--
2026-04-01 09:39
config-functions.sh
7.88
KB
-rw-r--r--
2026-04-01 09:39
cove-functions.sh
2.61
KB
-rw-r--r--
2026-04-01 09:39
drlm-functions.sh
2.6
KB
-rw-r--r--
2026-04-01 09:39
dump-workflow.sh
7.63
KB
-rw-r--r--
2026-04-01 09:39
filesystems-functions.sh
12.08
KB
-rw-r--r--
2026-04-01 09:39
finalizeonly-workflow.sh
1.22
KB
-rw-r--r--
2026-04-01 09:39
format-workflow.sh
3.79
KB
-rw-r--r--
2026-04-01 09:39
global-functions.sh
49.92
KB
-rw-r--r--
2026-04-01 09:39
help-workflow.sh
3.6
KB
-rw-r--r--
2026-04-01 09:39
hp_raid-functions.sh
871
B
-rw-r--r--
2026-04-01 09:39
layout-functions.sh
64.96
KB
-rw-r--r--
2026-04-01 09:39
layoutonly-workflow.sh
803
B
-rw-r--r--
2026-04-01 09:39
linux-functions.sh
14.6
KB
-rw-r--r--
2026-04-01 09:39
mail-functions.sh
1.39
KB
-rw-r--r--
2026-04-01 09:39
mkbackup-workflow.sh
585
B
-rw-r--r--
2026-04-01 09:39
mkbackuponly-workflow.sh
368
B
-rw-r--r--
2026-04-01 09:39
mkboot-workflow.sh
1.13
KB
-rw-r--r--
2026-04-01 09:39
mkopalpba-workflow.sh
890
B
-rw-r--r--
2026-04-01 09:39
mkrescue-functions.sh
5.72
KB
-rw-r--r--
2026-04-01 09:39
mkrescue-workflow.sh
461
B
-rw-r--r--
2026-04-01 09:39
mksystemstate-workflow.sh
539
B
-rw-r--r--
2026-04-01 09:39
mountonly-workflow.sh
1.7
KB
-rw-r--r--
2026-04-01 09:39
network-functions.sh
8.53
KB
-rw-r--r--
2026-04-01 09:39
opal-functions.sh
15.67
KB
-rw-r--r--
2026-04-01 09:39
opaladmin-workflow.sh
18.37
KB
-rw-r--r--
2026-04-01 09:39
output-functions.sh
3.17
KB
-rw-r--r--
2026-04-01 09:39
progresssubsystem.nosh
2.32
KB
-rw-r--r--
2026-04-01 09:39
rear-shell.bashrc
2.68
KB
-rw-r--r--
2026-04-01 09:39
recover-workflow.sh
1.59
KB
-rw-r--r--
2026-04-01 09:39
restoreonly-workflow.sh
832
B
-rw-r--r--
2026-04-01 09:39
rsync-functions.sh
4.56
KB
-rw-r--r--
2026-04-01 09:39
savelayout-workflow.sh
643
B
-rw-r--r--
2026-04-01 09:39
serial-functions.sh
3.98
KB
-rw-r--r--
2026-04-01 09:39
sesam-functions.sh
1.18
KB
-rw-r--r--
2026-04-01 09:39
shell-workflow.sh
648
B
-rw-r--r--
2026-04-01 09:39
tpmpwd-functions.sh
625
B
-rw-r--r--
2026-04-01 09:39
udev-workflow.sh
3.27
KB
-rw-r--r--
2026-04-01 09:39
uefi-functions.sh
9.69
KB
-rw-r--r--
2026-04-01 09:39
validate-workflow.sh
4.91
KB
-rw-r--r--
2026-04-01 09:39
write-protect-functions.sh
7.75
KB
-rw-r--r--
2026-04-01 09:39
Save
Rename
CategoriseDev () { ################## # Purpose is to find out to which device category a device belongs to # input: /dev/hda1, /dev/md0, /dev/vg00/lvol01 # output: MD | LVM | NORMAL Log "CategoriseDevice called with '$@'" local dev=${1} if [ -f ${dev} ]; then DevMajorNr="-1" # a normal file else # see linux/Documentation/devices.txt DevMajorNr=`ls -Ll ${1} | awk '{print $5}' | cut -d"," -f 1` fi case ${DevMajorNr} in 9) # Software RAID md device echo 'MD' ;; 58|253|254) # LVM echo 'LVM' ;; *) # default echo 'NORMAL' ;; esac } FindPhysicalDevice () { Log "FindPhysicalDevice called with '$@'" ################## # Purpose is to find physical device underneath a meta device or lvm # input: /dev/hda1, /dev/vg00/lvol1, /dev/md0 (arg1), MD, LVM, NORMAL (arg2) # output: /dev/hda, /dev/sdb, /dev/cciss/c0d1 local mdline local VG case "${2}" in "NORMAL") # IDE, SCSI, RAID disk # input=$1, output=$Dev (hda1) ParseDevice ${1} StopIfError "Parsing device failed: $1" # input=$Dev, output=$dsk ParseDisk $Dev StopIfError "Parsing disk failed: $Dev" echo "/dev/$dsk" ;; "MD") # software Raid - find disks under /dev/md? ParseDevice ${1} StopIfError "Parsing device failed: $1" cat /proc/mdstat | grep "${Dev}" | cut -d" " -f 5- | tr " " "\n" | \ while read mdline do local Dev=`echo "${mdline}" | sed -e 's;\[.*;;'` ParseDisk ${Dev} StopIfError "Parsing disk failed: $Dev" echo "/dev/${dsk}" done ;; "LVM") # LVM - find disks under /dev/vg??/lvol?? [ -c /dev/mapper/control ] StopIfError "LVM version 1 not supported" for disk in $(lvm vgdisplay -v 2>/dev/null | awk -F\ + '/PV Name/ {print $4}'); do local devcat=$(CategoriseDev ${disk}) if [ ${devcat} = 'NORMAL' ]; then ParseDisk ${disk} StopIfError "Parsing disk ${disk} failed" else FindPhysicalDevice ${disk} ${devcat} fi echo "${dsk}" done ;; esac } ParseDevice () { ########### # input $1 is a line containing as 1st argument a file system device, eg. # /dev/hda1, /dev/sdb1, /dev/md0, /dev/disk/c1t0d0, or even devfs alike # /dev/ide/host0/bus0/target0/lun0/part2 # Output: Dev: hda1, sdb1, md0, md/0, disk/c1t0d0, vg_sd/lvol1 # _Dev: hda1, sdb1, md0, md_0, disk_c1t0d0, vg%137sd_lvol1 #Dev=`echo ${1} | awk '{print $1}' | cut -d"/" -f 3-` #_Dev=`echo ${Dev} | sed -e 's/_/%137/' | tr "/" "_"` Dev=${1#*/dev/} Dev=${Dev// /} _Dev=${Dev//_/%137} _Dev=${_Dev//\//_} } ParseDisk () { Log "ParseDisk called with '$@'" ######### # input is $1 (most likely $Dev as arg.; e.g. sda1, disk/c1t0d0) # output is dsk (e.g. sda, disk/c1t0) and _dsk (e.g. sda, disk_c1t0) # is it one of those with "p" at the end? # this will match: Mylex (rd/c?d?p?), Compaq IDA (ida/c?d?p?), # Compaq Smart (cciss/c?d?p?), AMI Hyperdisk (amiraid/ar?p?), # IDE Raid (e.g. Promise Fastrak) (ataraid/d?p?), EMD (emd/?p?) and # Carmel 8-port SATA (carmel/?p?) local DEVwP local disc #DEVwP=`expr "${1}" : "\(\(cciss\|rd\|ida\)/c[0-9]\+d[0-9]\+p[0-9]\+\|amiraid/ar[0-9]\+p[0-9]\+\|ataraid/d[0-9]\+p[0-9]\+\|\(emd\|carmel\)/[0-9]\+p[0-9]\+\)"` case "$1" in *rd[/!]c[0-9]d[0-9]p*|*cciss[/!]c[0-9]d[0-9]p*|*ida[/!]c[0-9]d[0-9]p*|*amiraid[/!]ar[0-9]p*|*emd[/!][0-9]p*|*ataraid[/!]d[0-9]p*|*carmel[/!][0-9]p*) DEVwP=1 Log "ParseDisk recognized DEVwP for $1" ;; *) DEVwP= ;; esac if [ -c /dev/.devfsd ]; then # e.g. disc=ide/host0/bus0/target0/lun0/disc disc=`echo ${1} | cut -d"p" -f 1`disc if [ -b /dev/${disc} ]; then # I'm paranoid I know # to please sfdisk we have to backtrace the old style name (sda) dsk=`ls -l /dev | grep ${disc} | awk '{print $9}'` else # maybe devfs was configured in old style only? if [ -z $DEVwP ]; then dsk=`echo ${1} | sed -e 's/[0-9]//g'` # sda else dsk=`echo ${1} | sed -e 's/p[0-9]\+$//g'` # cXdX fi fi else if [ -z $DEVwP ]; then dsk=`echo ${1} | sed -e 's/[0-9]//g'` # sda else dsk=`echo ${1} | sed -e 's/p[0-9]\+$//g'` # cXdX fi fi _dsk=`echo ${dsk} | tr "/" "_"` } #-----<--------->------- Find_Root_Partition() { echo $1 | cut -d"p" -f2- | sed -e 's/[a-zA-Z\/]//g' } #-----<--------->------- Divide () { ######### num1=$1 num2=$2 # divide with floating numbering bc -l <<EOF ${num1}/${num2} EOF } #-----<--------->------- Multiply () { ########### num1=$1 num2=$2 bc -l <<EOF ${num1}*${num2} EOF } #-----<--------->------- FixSfdiskPartitionFile () { #^^^^^^^^^^^^^^^^^^^^^^ # Sometimes we have a warning message in the partitions.$_dsk file which # makes sfdisk fail at restore time (we will remove those lines) # parameter: $1 is the sfdisk output file to fix grep -Evi '(^warning|^dos)' "$1" > "${TMP_DIR}/partitions.tmp" # If LANG is not set to C (it should be) and sfdisk is producing locale specific comments # for example in French something like "N<degree sign (U+00B0)> table de partition de " # where <degree sign (U+00B0)> means one unicode character (in UTF-8 two bytes 0xC2 0xB0) # then we should replace the "N" with hash(#) sign. sed -e 's/^N/#/' <"${TMP_DIR}/partitions.tmp" >"$1" rm -f $v "${TMP_DIR}/partitions.tmp" >&2 } #-----<--------->------- CheckForSwapLabel () { ################### # Swap devices may have LABELs too - need to trace label if set # Input: /dev/swap-dev # Output: SWAPLABEL="" for no label, or "-L LABEL-swap" if label found SWAPLABEL="" # LABEL=SWAP-dev swap swap defaults 0 0 while read LABEL junk do LABEL="${LABEL/*=/}" if dd if=$1 bs=1024 count=10 2>/dev/null | strings | grep -q "${LABEL}" ; then SWAPLABEL="-L ${LABEL}" Log "Found swap label $LABEL on $1" fi done < <(grep "LABEL=" /etc/fstab | grep swap) }