Linux s17.hosterpk.com 6.12.0-124.55.3.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:54:02 EDT 2026 x86_64
LiteSpeed
Server IP : 192.169.89.90 & Your IP : 216.73.216.41
Domains :
Cant Read [ /etc/named.conf ]
User : hamzalar
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
libexec /
Delete
Unzip
Name
Size
Permission
Date
Action
awk
[ DIR ]
drwxr-xr-x
2026-03-12 14:43
coreutils
[ DIR ]
drwxr-xr-x
2026-05-27 07:00
dovecot
[ DIR ]
drwxr-xr-x
2026-03-12 16:08
gcc
[ DIR ]
drwxr-xr-x
2026-02-26 00:00
getconf
[ DIR ]
drwxr-xr-x
2026-05-28 07:02
git-core
[ DIR ]
drwxr-xr-x
2026-05-27 07:00
openldap
[ DIR ]
drwxr-xr-x
2025-12-11 00:00
openssh
[ DIR ]
drwxr-xr-x
2026-05-27 07:02
passenger
[ DIR ]
drwxr-xr-x
2026-05-27 07:02
utempter
[ DIR ]
drwxr-xr-x
2026-03-12 14:43
fips-crypto-policy-overlay
2.49
KB
-rwxr-xr-x
2026-02-16 13:12
fips-setup-helper
215
B
-rwxr-xr-x
2026-02-16 13:12
grepconf.sh
257
B
-rwxr-xr-x
2024-10-29 00:00
Save
Rename
#!/usr/bin/bash # SPDX-License-Identifier: LGPL-2.1-or-later set -u policyfile=/etc/crypto-policies/config fipspolicyfile=/usr/share/crypto-policies/default-fips-config backends=/etc/crypto-policies/back-ends fipsbackends=/usr/share/crypto-policies/back-ends/FIPS if ! mountpoint -q /proc; then echo "/proc is not mounted" 1>&2 exit 1 fi if ! [[ $(cat /proc/sys/crypto/fips_enabled) == 1 ]]; then echo "FIPS mode is not enabled." 1>&2 exit 1 fi if mountpoint -q "${policyfile}"; then if grep -qF " ${fipspolicyfile} ${policyfile} " /proc/self/mountinfo then echo "${fipspolicyfile} is already mounted over ${policyfile}" \ 1>&2 exit 0 fi echo "Warning: ${policyfile} is already mounted over." 1>&2 fi if mountpoint -q "${backends}"; then if grep -qF " ${fipsbackends} ${backends} " /proc/self/mountinfo; then echo "${fipsbackends} is already mounted over ${backends}" \ 1>&2 exit 0 fi echo "Warning: ${backends} is already mounted over." 1>&2 fi # When in FIPS mode, check the active crypto policy by reading the # /etc/crypto-policies/config file. If it is not "FIPS", or does not start # with "FIPS:", automatically switch to the FIPS policy by creating # bind-mounts. if ! [ -f "${policyfile}" ]; then echo "${policyfile} is missing." 1>&2 exit 1 fi policy=$(cat "${policyfile}") if [[ "${policy}" == "FIPS" || "${policy}" =~ ^FIPS: ]]; then echo "System-wide crypto-policy is already set to ${policy}." 1>&2 exit 0 fi # Current crypto policy is not FIPS or FIPS-based, but the system is in FIPS # mode; this is an inconsistent configuration. Automatically bind-mount a FIPS # configuration over this. if ! mount -o bind,ro "${fipsbackends}" "${backends}"; then echo -n "Failed to bind-mount FIPS policy over ${backends} " 1>&2 echo "(the system is in FIPS mode, but the crypto-policy is not)." 1>&2 exit 1 fi # Also mount a file containing `FIPS\n` over /etc/crypto-policies/config. if [ ! -f "${fipspolicyfile}" ]; then echo -n "${fipspolicyfile} is missing." 1>&2 exit 1 fi if ! mount -o bind,ro "${fipspolicyfile}" "${policyfile}" then echo -n "Failed to bind-mount FIPS crypto-policy state file " 1>&2 echo -n "over ${policyfile} " 1>&2 echo "(the system is in FIPS mode, but the crypto-policy is not)." 1>&2 exit 1 fi