Linux server1.sbs.cy 5.14.0-362.18.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan 29 07:05:48 EST 2024 x86_64
Apache
: 199.192.25.12 | : 172.69.59.117
28 Domain
8.1.31
administrator
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
lib /
rpm /
[ HOME SHELL ]
Name
Size
Permission
Action
fileattrs
[ DIR ]
drwxr-xr-x
lua
[ DIR ]
drwxr-xr-x
macros.d
[ DIR ]
drwxr-xr-x
platform
[ DIR ]
drwxr-xr-x
redhat
[ DIR ]
drwxr-xr-x
brp-boot-efi-times
1.43
KB
-rwxr-xr-x
brp-scl-compress
1.77
KB
-rwxr-xr-x
brp-scl-python-bytecompile
3.04
KB
-rwxr-xr-x
gstreamer1.prov
950
B
-rwxr-xr-x
macros
43.12
KB
-rw-r--r--
rpm.daily
296
B
-rw-r--r--
rpm.log
61
B
-rw-r--r--
rpm.supp
688
B
-rw-r--r--
rpm2cpio.sh
1.56
KB
-rwxr-xr-x
rpmdb_dump
41
B
-rwxr-xr-x
rpmdb_load
41
B
-rwxr-xr-x
rpmpopt-4.16.1.3
11.83
KB
-rw-r--r--
rpmrc
17.24
KB
-rw-r--r--
scldeps.sh
258
B
-rwxr-xr-x
sysusers.generate-pre.sh
2.22
KB
-rwxr-xr-x
sysusers.prov
605
B
-rwxr-xr-x
tgpg
937
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : sysusers.generate-pre.sh
#!/usr/bin/bash # -*- mode: shell-script; indent-tabs-mode: true; tab-width: 4; -*- # This script turns sysuser.d files into scriptlets mandated by Fedora # packaging guidelines. The general idea is to define users using the # declarative syntax but to turn this into traditional scriptlets. user() { user="$1" uid="$2" desc="$3" group="$4" home="$5" shell="$6" [ "$desc" = '-' ] && desc= { [ "$home" = '-' ] || [ "$home" = '' ]; } && home=/ { [ "$shell" = '-' ] || [ "$shell" = '' ]; } && shell=/usr/sbin/nologin if [ "$uid" = '-' ] || [ "$uid" = '' ]; then cat <<-EOF getent passwd '$user' >/dev/null || \\ useradd -r -g ${group@Q} -d ${home@Q} -s ${shell@Q} -c ${desc@Q} ${user@Q} || : EOF else cat <<-EOF if ! getent passwd ${user@Q} >/dev/null; then if ! getent passwd ${uid@Q} >/dev/null; then useradd -r -u ${uid@Q} -g ${group@Q} -d ${home@Q} -s ${shell@Q} -c ${desc@Q} ${user@Q} || : else useradd -r -g ${group@Q} -d ${home@Q} -s ${shell@Q} -c ${desc@Q} ${user@Q} || : fi fi EOF fi } group() { group="$1" gid="$2" if [ "$gid" = '-' ]; then cat <<-EOF getent group ${group@Q} >/dev/null || groupadd -r ${group@Q} || : EOF else cat <<-EOF getent group ${group@Q} >/dev/null || groupadd -f -g ${gid@Q} -r ${group@Q} || : EOF fi } usermod() { user="$1" group="$2" cat <<-EOF if getent group ${group@Q} >/dev/null; then usermod -a -G ${group@Q} '$user' || : fi EOF } parse() { while read -r line || [ -n "$line" ] ; do { [ "${line:0:1}" = '#' ] || [ "${line:0:1}" = ';' ]; } && continue line="${line## *}" [ -z "$line" ] && continue eval "arr=( $line )" case "${arr[0]}" in ('u') if [[ "${arr[2]}" == *":"* ]]; then user "${arr[1]}" "${arr[2]%:*}" "${arr[3]}" "${arr[2]#*:}" "${arr[4]}" "${arr[5]}" else group "${arr[1]}" "${arr[2]}" user "${arr[1]}" "${arr[2]}" "${arr[3]}" "${arr[1]}" "${arr[4]}" "${arr[5]}" fi ;; ('g') group "${arr[1]}" "${arr[2]}" ;; ('m') group "${arr[2]}" "-" user "${arr[1]}" "-" "" "${arr[1]}" "" "" usermod "${arr[1]}" "${arr[2]}" ;; esac done } for fn in "$@"; do [ -e "$fn" ] || continue echo "# generated from $(basename "$fn")" parse <"$fn" done
Close