[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.137.182.206: ~ $
#!/bin/bash
# rhel-import-state: import state files from initramfs (e.g. network config)

# Copy state into root folder:
# ============================
cd /run/initramfs/state

IFS_backup=$IFS
IFS=$'\n'                 # Process find's results line by line

dirs_found=$(find . -type d)

for dir in $dirs_found; do
  pushd "$dir" > /dev/null

  # Remove initial '.' char from the find's result:
  dest_dir="${dir/\./}"

  # Create destination folder if it does not exist (with the same rights):
  if [[ -n "$dest_dir" && ! -d "$dest_dir" ]]; then
    mkdir -p "$dest_dir"
    chmod --reference="$PWD" "$dest_dir"
    chown --reference="$PWD" "$dest_dir"
  fi

  # Copy all files that are not directory:
  find . -mindepth 1 -maxdepth 1 -not -type d -exec cp -av -t "$dest_dir" {} \; > /dev/null

  popd > /dev/null
done

IFS=$IFS_backup


# Run restorecon on the copied files:
# ===================================
if [ -e /sys/fs/selinux/enforce -a -x /usr/sbin/restorecon ]; then
    find . -mindepth 1 -print0 | { cd / && xargs --null restorecon -iF; }
fi

Filemanager

Name Type Size Permission Actions
catalog Folder 0755
ntp-units.d Folder 0755
scripts Folder 0755
system Folder 0755
system-generators Folder 0755
system-preset Folder 0755
system-shutdown Folder 0755
system-sleep Folder 0755
user Folder 0755
user-generators Folder 0755
user-preset Folder 0755
import-pubring.gpg File 9.33 KB 0644
rhel-autorelabel File 2.31 KB 0755
rhel-configure File 399 B 0755
rhel-dmesg File 110 B 0755
rhel-domainname File 158 B 0755
rhel-import-state File 1.03 KB 0755
rhel-loadmodules File 233 B 0755
rhel-readonly File 5.77 KB 0755
systemd File 1.56 MB 0755
systemd-ac-power File 23.41 KB 0755
systemd-activate File 68.52 KB 0755
systemd-backlight File 73.02 KB 0755
systemd-binfmt File 60.73 KB 0755
systemd-bootchart File 125.05 KB 0755
systemd-cgroups-agent File 35.91 KB 0755
systemd-coredump File 129.86 KB 0755
systemd-cryptsetup File 101.28 KB 0755
systemd-fsck File 331.23 KB 0755
systemd-hibernate-resume File 39.95 KB 0755
systemd-hostnamed File 367.16 KB 0755
systemd-importd File 367.75 KB 0755
systemd-initctl File 309.84 KB 0755
systemd-journald File 338.05 KB 0755
systemd-localed File 375.22 KB 0755
systemd-logind File 624.84 KB 0755
systemd-machine-id-commit File 52.19 KB 0755
systemd-machined File 482.01 KB 0755
systemd-modules-load File 64.8 KB 0755
systemd-pull File 183.14 KB 0755
systemd-quotacheck File 43.96 KB 0755
systemd-random-seed File 48.13 KB 0755
systemd-readahead File 97.51 KB 0755
systemd-remount-fs File 56.52 KB 0755
systemd-reply-password File 35.93 KB 0755
systemd-rfkill File 60.74 KB 0755
systemd-shutdown File 146.76 KB 0755
systemd-shutdownd File 64.52 KB 0755
systemd-sleep File 89.16 KB 0755
systemd-socket-proxyd File 105.52 KB 0755
systemd-sysctl File 64.83 KB 0755
systemd-sysv-install File 40.22 KB 0755
systemd-timedated File 375.91 KB 0755
systemd-udevd File 406.45 KB 0755
systemd-update-done File 44.07 KB 0755
systemd-update-utmp File 309.87 KB 0755
systemd-user-sessions File 44.16 KB 0755
systemd-vconsole-setup File 52.2 KB 0755