Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.6
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
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
README
+ Create Folder
+ Create File
/
etc /
[ HOME SHELL ]
Name
Size
Permission
Action
Acronis
[ DIR ]
drwxr-xr-x
ImageMagick6
[ DIR ]
drwxr-xr-x
NetworkManager
[ DIR ]
drwxr-xr-x
PackageKit
[ DIR ]
drwxr-xr-x
X11
[ DIR ]
drwxr-xr-x
alternatives
[ DIR ]
drwxr-xr-x
audit
[ DIR ]
drwxr-x---
authselect
[ DIR ]
drwxr-xr-x
awstats
[ DIR ]
drwxr-xr-x
bash_completion.d
[ DIR ]
drwxr-xr-x
binfmt.d
[ DIR ]
drwxr-xr-x
chkconfig.d
[ DIR ]
drwxr-xr-x
cifs-utils
[ DIR ]
drwxr-xr-x
clamd.d
[ DIR ]
drwxr-xr-x
cockpit
[ DIR ]
drwxr-xr-x
cron.d
[ DIR ]
drwxr-xr-x
cron.daily
[ DIR ]
drwxr-xr-x
cron.hourly
[ DIR ]
drwxr-xr-x
cron.monthly
[ DIR ]
drwxr-xr-x
cron.weekly
[ DIR ]
drwxr-xr-x
crypto-policies
[ DIR ]
drwxr-xr-x
csf
[ DIR ]
drw-------
cyberdesktopagent
[ DIR ]
drwxr-xr-x
dbus-1
[ DIR ]
drwxr-xr-x
debuginfod
[ DIR ]
drwxr-xr-x
default
[ DIR ]
drwxr-xr-x
depmod.d
[ DIR ]
drwxr-xr-x
dhcp
[ DIR ]
drwxr-x---
dkms
[ DIR ]
drwxr-xr-x
dnf
[ DIR ]
drwxr-xr-x
dovecot
[ DIR ]
drwxr-xr-x
dracut.conf.d
[ DIR ]
drwxr-xr-x
environment-modules
[ DIR ]
drwxr-xr-x
fail2ban
[ DIR ]
drwxr-xr-x
firewalld
[ DIR ]
drwxr-x---
fonts
[ DIR ]
drwxr-xr-x
gcrypt
[ DIR ]
drwxr-xr-x
gnupg
[ DIR ]
drwxr-xr-x
groff
[ DIR ]
drwxr-xr-x
grub.d
[ DIR ]
drwx------
gss
[ DIR ]
drwxr-xr-x
httpd
[ DIR ]
drwxr-xr-x
init.d
[ DIR ]
drwxr-xr-x
iproute2
[ DIR ]
drwxr-xr-x
issue.d
[ DIR ]
drwxr-xr-x
jailkit
[ DIR ]
drwxr-xr-x
kdump
[ DIR ]
drwxr-xr-x
kernel
[ DIR ]
drwxr-xr-x
krb5.conf.d
[ DIR ]
drwxr-xr-x
ld.so.conf.d
[ DIR ]
drwxr-xr-x
letsencrypt
[ DIR ]
drwxr-xr-x
libibverbs.d
[ DIR ]
drwxr-xr-x
libnl
[ DIR ]
drwxr-xr-x
libpaper.d
[ DIR ]
drwxr-xr-x
libreport
[ DIR ]
drwxr-xr-x
libssh
[ DIR ]
drwxr-xr-x
logrotate.d
[ DIR ]
drwxr-xr-x
lsm
[ DIR ]
drwxr-xr-x
lvm
[ DIR ]
drwxr-xr-x
mail
[ DIR ]
drwxr-xr-x
mcelog
[ DIR ]
drwxr-xr-x
microcode_ctl
[ DIR ]
drwxr-xr-x
modprobe.d
[ DIR ]
drwxr-xr-x
modulefiles
[ DIR ]
drwxr-xr-x
modules-load.d
[ DIR ]
drwxr-xr-x
motd.d
[ DIR ]
drwxr-xr-x
my.cnf.d
[ DIR ]
drwxr-xr-x
named
[ DIR ]
drwxr-x---
nftables
[ DIR ]
drwx------
nginx
[ DIR ]
drwxr-xr-x
opendkim
[ DIR ]
drwxr-xr-x
openldap
[ DIR ]
drwxr-xr-x
opt
[ DIR ]
drwxr-xr-x
pam.d
[ DIR ]
drwxr-xr-x
pcp
[ DIR ]
drwxr-xr-x
pear
[ DIR ]
drwxr-xr-x
percona-toolkit
[ DIR ]
drwxr-xr-x
php-fpm.d
[ DIR ]
drwxr-xr-x
php-zts.d
[ DIR ]
drwxr-xr-x
php.d
[ DIR ]
drwxr-xr-x
pkcs11
[ DIR ]
drwxr-xr-x
pki
[ DIR ]
drwxr-xr-x
pm
[ DIR ]
drwxr-xr-x
polkit-1
[ DIR ]
drwxr-xr-x
popt.d
[ DIR ]
drwxr-xr-x
postfix
[ DIR ]
drwxr-xr-x
prelink.conf.d
[ DIR ]
drwxr-xr-x
profile.d
[ DIR ]
drwxr-xr-x
proftpd
[ DIR ]
drwxr-xr-x
rc.d
[ DIR ]
drwxr-xr-x
rc0.d
[ DIR ]
drwxr-xr-x
rc1.d
[ DIR ]
drwxr-xr-x
rc2.d
[ DIR ]
drwxr-xr-x
rc3.d
[ DIR ]
drwxr-xr-x
rc4.d
[ DIR ]
drwxr-xr-x
rc5.d
[ DIR ]
drwxr-xr-x
rc6.d
[ DIR ]
drwxr-xr-x
rdma
[ DIR ]
drwxr-xr-x
remotixagent
[ DIR ]
drwxr-xr-x
rhsm
[ DIR ]
drwxr-xr-x
rpm
[ DIR ]
drwxr-xr-x
rsyslog.d
[ DIR ]
drwxr-xr-x
rwtab.d
[ DIR ]
drwxr-xr-x
samba
[ DIR ]
drwxr-xr-x
sasl2
[ DIR ]
drwxr-xr-x
scl
[ DIR ]
drwxr-xr-x
security
[ DIR ]
drwxr-xr-x
selinux
[ DIR ]
drwxr-xr-x
setroubleshoot
[ DIR ]
drwxr-xr-x
skel
[ DIR ]
drwxr-xr-x
smartmontools
[ DIR ]
drwxr-xr-x
sos
[ DIR ]
drwxr-xr-x
ssh
[ DIR ]
drwxr-xr-x
ssl
[ DIR ]
drwxr-xr-x
sssd
[ DIR ]
drwx------
sudoers.d
[ DIR ]
drwxr-x---
sysconfig
[ DIR ]
drwxr-xr-x
sysctl.d
[ DIR ]
drwxr-xr-x
systemd
[ DIR ]
drwxr-xr-x
terminfo
[ DIR ]
drwxr-xr-x
tmpfiles.d
[ DIR ]
drwxr-xr-x
tuned
[ DIR ]
drwxr-xr-x
udev
[ DIR ]
drwxr-xr-x
unbound
[ DIR ]
drwxr-xr-x
usermin
[ DIR ]
drwxr-xr-x
webmin
[ DIR ]
drwxr-xr-x
xdg
[ DIR ]
drwxr-xr-x
xinetd.d
[ DIR ]
drwxr-xr-x
yum
[ DIR ]
drwxr-xr-x
yum.repos.d
[ DIR ]
drwxr-xr-x
zabbix
[ DIR ]
drwxr-xr-x
.pwd.lock
0
B
-rw-------
.updated
208
B
-rw-r--r--
DIR_COLORS
4.43
KB
-rw-r--r--
DIR_COLORS.256color
5.09
KB
-rw-r--r--
DIR_COLORS.lightbgcolor
4.51
KB
-rw-r--r--
GREP_COLORS
94
B
-rw-r--r--
adjtime
18
B
-rw-r--r--
aliases
1.49
KB
-rw-r--r--
aliases.db
12
KB
-rw-r--r--
almalinux-release
42
B
-rw-r--r--
almalinux-release-upstream
52
B
-rw-r--r--
anacrontab
541
B
-rw-r--r--
at.deny
1
B
-rw-r--r--
bashrc
2.85
KB
-rw-r--r--
bindresvport.blacklist
535
B
-rw-r--r--
blacklist.dat
1.25
MB
-rw-r--r--
centos-release
42
B
-rw-r--r--
chrony.conf
1.06
KB
-rw-r--r--
chrony.keys
540
B
-rw-r-----
cron.deny
0
B
-rw-r--r--
crontab
451
B
-rw-r--r--
crypttab
0
B
-rw-------
csh.cshrc
1.59
KB
-rw-r--r--
csh.login
1.06
KB
-rw-r--r--
dhparams.pem
9.2
KB
-rw-r--r--
dracut.conf
117
B
-rw-r--r--
environment
0
B
-rw-r--r--
ethertypes
1.33
KB
-rw-r--r--
exports
0
B
-rw-r--r--
favicon.png
226
B
-rw-r--r--
filesystems
66
B
-rw-r--r--
fstab
519
B
-rw-r--r--
ftpusers
99
B
-rw-r--r--
group
1.72
KB
-rw-r--r--
group-
1.71
KB
-rw-r--r--
group.loc_bkp
8
B
-rw-r--r--
gshadow
1.4
KB
----------
gshadow-
1.4
KB
----------
gshadow.loc_bkp
8
B
-rw-r--r--
host.conf
9
B
-rw-r--r--
hostname
24
B
-rw-r--r--
hosts
158
B
-rw-r--r--
hosts.allow
57
B
-rw-r--r--
idmapd.conf
4.74
KB
-rw-r--r--
inittab
490
B
-rw-r--r--
inputrc
942
B
-rw-r--r--
issue
23
B
-rw-r--r--
issue.net
22
B
-rw-r--r--
kdump.conf
8.35
KB
-rw-r--r--
krb5.conf
812
B
-rw-r--r--
ld.so.cache
29.05
KB
-rw-r--r--
ld.so.conf
28
B
-rw-r--r--
libaudit.conf
191
B
-rw-r-----
libuser.conf
2.33
KB
-rw-r--r--
locale.conf
19
B
-rw-r--r--
localtime
3.48
KB
-rw-r--r--
login.defs
2.45
KB
-rw-r--r--
logrotate.conf
491
B
-rw-r--r--
machine-id
33
B
-r--r--r--
magic
111
B
-rw-r--r--
mailcap
272
B
-rw-r--r--
makedumpfile.conf.sample
5
KB
-rw-r--r--
man_db.conf
5.04
KB
-rw-r--r--
mecabrc
291
B
-rw-r--r--
mime.types
58.94
KB
-rw-r--r--
mke2fs.conf
1.08
KB
-rw-r--r--
motd
0
B
-rw-r--r--
mtab
0
B
-r--r--r--
my.cnf
1.78
KB
-rw-r--r--
my.cnf-15-03-2022
447
B
-rw-r--r--
my.cnf-bakk
1.13
KB
-rw-r--r--
my.cnf.rpmnew
193
B
-rw-r--r--
my.cnf_1
202
B
-rw-r--r--
my.cnf_bakjun3
1.51
KB
-rw-r--r--
my.cnf_bakup
202
B
-rw-r--r--
my.cnf_bk
1.67
KB
-rw-r--r--
my.cnf_bkaug6
1.6
KB
-rw-r--r--
my.cnf_duplicate
1.28
KB
-rw-r--r--
my.cnf_mar13-25
1.73
KB
-rw-r--r--
my.cnf_mod
3.63
KB
-rw-r--r--
my.cnf_org_bak
202
B
-rw-r--r--
named.conf
3.39
KB
-rw-r-----
named.rfc1912.zones
1
KB
-rw-r-----
named.root.key
1.04
KB
-rw-r--r--
nanorc
9.23
KB
-rw-r--r--
netconfig
767
B
-rw-r--r--
networks
58
B
-rw-r--r--
nsswitch.conf
2.16
KB
-rw-r--r--
nsswitch.conf.bak
2.15
KB
-rw-r--r--
odbc.ini
0
B
-rw-r--r--
odbcinst.ini
1.1
KB
-rw-r--r--
opendkim.conf
5.1
KB
-rw-r--r--
opendkim.conf.lock
7
B
-rw-r--r--
os-release
585
B
-rw-r--r--
papersize
68
B
-rw-r--r--
passwd
6.65
KB
-rw-r--r--
passwd-
5.74
KB
-rw-r--r--
passwd.lock_bkp
8
B
-rw-r--r--
pcp.conf
6.99
KB
-rw-r--r--
pcp.env
6.51
KB
-rw-r--r--
pear.conf
1.13
KB
-rw-r--r--
php-fpm.conf
3.93
KB
-rw-r--r--
php.ini
61.78
KB
-rw-r--r--
printcap
233
B
-rw-r--r--
procmailrc
389
B
-rw-r--r--
profile
2.07
KB
-rw-r--r--
proftpd.conf
6.55
KB
-rw-r-----
protocols
6.41
KB
-rw-r--r--
rc.local
491
B
-rwxr-xr-x
redhat-release
42
B
-rw-r--r--
resolv.conf
38
B
-rw-r--r--
rkhunter.conf
47.54
KB
-rw-------
rkhunter.conf.11173
47.54
KB
-rw-------
rndc.key
100
B
-rw-r-----
rpc
1.6
KB
-rw-r--r--
rsyslog.conf
3.11
KB
-rw-r--r--
screenrc
6.56
KB
-rw-r--r--
services
676.03
KB
-rw-r--r--
sestatus.conf
216
B
-rw-r--r--
shadow
7.52
KB
----------
shadow-
6.54
KB
----------
shadow.lock_bkp
8
B
-rw-r--r--
shells
101
B
-rw-r--r--
subgid
0
B
-rw-r--r--
subuid
0
B
-rw-r--r--
sudo-ldap.conf
3.11
KB
-rw-r-----
sudo.conf
1.74
KB
-rw-r-----
sudoers
4.23
KB
-r--r-----
sysctl.conf
2.54
KB
-rw-r--r--
system-release
42
B
-rw-r--r--
system-release-cpe
37
B
-rw-r--r--
tcsd.conf
6.88
KB
-rw-r-----
trusted-key.key
375
B
-rw-r--r--
updatedb.conf
587
B
-rw-r--r--
vconsole.conf
28
B
-rw-r--r--
vimrc
1.94
KB
-rw-r--r--
virc
1.18
KB
-rw-r--r--
virtualmin-license
32
B
-rwx------
vnstat.conf
5.93
KB
-rw-r--r--
webalizer.conf
23.12
KB
-rw-r--r--
wgetrc
4.81
KB
-rw-r--r--
xattr.conf
642
B
-rw-r--r--
yum.conf
108
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : pcp.env
# # Copyright (c) 2000,2003 Silicon Graphics, Inc. All Rights Reserved. # Copyright (c) 2010 Aconex. All Rights Reserved. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 2 of the License, or (at your # option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # This file is sourced by PCP scripts to set the environment # variables defined in the file named $PCP_CONF (or /etc/pcp.conf # if $PCP_CONF is not defined). Any variable already defined in # the environment is not changed. # # Note: any variables NOT starting with PCP_ will be ignored. # This is a security issue so don't change it. # if [ -z "$PCP_ENV_DONE" ] then if [ -n "$PCP_CONF" ] then __CONF="$PCP_CONF" elif [ -n "$PCP_DIR" ] then __CONF="$PCP_DIR/etc/pcp.conf" else __CONF=/etc/pcp.conf fi if [ ! -f "$__CONF" ] then echo "pcp.env: Fatal Error: \"$__CONF\" not found" >&2 exit 1 fi eval `sed -e 's/"//g' $__CONF \ | awk -F= ' /^PCP_/ && NF == 2 { exports=exports" "$1 printf "%s=${%s:-\"%s\"}\n", $1, $1, $2 } END { print "export", exports }'` # prevent doing all of this more than once per process ... # export PCP_ENV_DONE=y fi # Always need to set $PATH ... sudo -E leaves $PCP_ENV_DONE set, but # clears/resets $PATH. # # Note when we're adding directories into $PATH (as opposed to the # directory already being in $PATH), the order is important: any # dirs with PCP-specific binaries should end up ahead of more generic # dirs in the final $PATH to avoid conflicts with names of non-pcp # binaries, by ensuring the pcp ones are found first. # # Also, there are a small number of commands that we need, e.g. in # PMDA Install scripts, that are not necessariy on the default $PATH, # e.g. chown in /usr/sbin on *BSD. Put these after the PCP ones, but # ahead of the default $PATH. # for dir in /usr/sbin \ ${PCP_BIN_DIR} ${PCP_BINADM_DIR} \ ${PCP_SHARE_DIR}/bin ${PCP_PLATFORM_PATHS} do if [ -d $dir ] then if echo ":$PATH:" | grep ":$dir:" >/dev/null 2>&1 then : else PATH="$dir:$PATH" fi fi done export PATH # Also need to always do this because it may be resetting things # that sudo has cleared from the environment, e.g. PERL5LIB # # Optionally augment or over-ride settings with per-user configuration # if [ -f $HOME/.pcp/pcp.conf ] then eval `sed -e 's/"//g' -e '/^#/d' $HOME/.pcp/pcp.conf \ | awk -F= ' NF == 2 { exports=exports" "$1 printf "%s=${%s:-\"%s\"}\n", $1, $1, $2 } END { print "export", exports }'` fi # Find PIDs by matching the name ($1) # Executable alias name avoidance algorithm ... # - if name contains a / use it literally and consider nothing else # - if name matches an executable in $PCP_BIN_DIR, use that full pathname # - if name matches an executable in $PCP_BINADM_DIR, use that full pathname # - if find(1) can locate name on this week's $PATH, use that full pathname # - if name matches an executable in $PCP_BIN_DIR and/or $PCP_BINADM_DIR # and/or find(1) matches name, use _all_ of the pathnames in the order # above (needed e.g. for pmlogger in $PCP_BIN_DIR and symlink in # $PCP_BINADM_DIR) # - if -a is specified also match on /name (this was the original behaviour # before the pathname matching was added) # - otherwise use name as is # _get_pids_by_name() { if [ $# -eq 2 -a "X$1" = X-a ] then __all=true shift else __all=false fi if [ $# -ne 1 ] then echo "Usage: _get_pids_by_name [-a] process-name" >&2 exit 1 fi if [ "X$tmp" = X ] then echo "_get_pids_by_name requires a \$tmp setting" >&2 exit 1 elif [ -d "$tmp" ] then __tmp="$tmp/pcp.env" # from mktemp else __tmp=$tmp.pcp.env # from PCP QA fi __name="$1" rm -f $__tmp.* touch $__tmp.path case "$1" in */*) rm -f $__tmp.path ;; *) if [ -n "$PCP_BIN_DIR" -a -x "$PCP_BIN_DIR/$1" ] then if ! grep "$PCP_BIN_DIR/$1" $__tmp.path >/dev/null then echo "$PCP_BIN_DIR/$1" >>$__tmp.path fi fi if [ -n "$PCP_BINADM_DIR" -a -x "$PCP_BINADM_DIR/$1" ] then if ! grep "$PCP_BINADM_DIR/$1" $__tmp.path >/dev/null then echo "$PCP_BINADM_DIR/$1" >>$__tmp.path fi fi __which="`which "$1" 2>/dev/null`" if [ -n "$__which" ] then if ! grep "$__which" $__tmp.path >/dev/null then echo "$__which" >>$__tmp.path fi fi ;; esac # Algorithm ... all ps(1) variants have a time of the form MM:SS # or HH:MM:SS or HH:MM.SS before the psargs field, so we're using # this as the search anchor. # # Matches with $1 (process-name) occur if the first psarg is one # of the paths identified above or ends in /$1 (if -a specified) # or starts ($1) (blame Mac OS X for the last one) # ... the matching uses sed's regular expressions, so passing a # regex into $1 will work. # some preprocessing to condition the ps(1) output lines # cat <<End-of-File >$__tmp.sed s/$/ / s/[ ][ ]*/ /g s/^ // s/^[^ ]* // End-of-File if [ -f $__tmp.path ] then # not a literal use of $1, at least one matching pathname found # sed <$__tmp.path >>$__tmp.sed \ -e 's/\//\\\//g' \ -e 's/.*/\/[0-9][:\\.][0-9][0-9] *& \/s\/ .*\/\/p/' fi # optionally add -a case # if $__all then echo "$1" | sed >>$__tmp.sed \ -e 's/\//\\\//g' \ -e 's/.*/\/[0-9][:\\.][0-9][0-9] *[^ ]*\\\/& \/s\/ .*\/\/p/' fi # add literal cases # # exact match echo "$1" | sed >>$__tmp.sed \ -e 's/\//\\\//g' \ -e 's/.*/\/[0-9][:\\.][0-9][0-9] *& \/s\/ .*\/\/p/' # Mac OS X variant echo "$1" | sed >>$__tmp.sed \ -e 's/\//\\\//g' \ -e 's/.*/\/[0-9][:\\.][0-9][0-9] *(&) \/s\/ .*\/\/p/' # need to sort in case of multiple matches from the sed(1) patterns # $PCP_PS_PROG $PCP_PS_ALL_FLAGS \ | sed -n -f $__tmp.sed \ | sort -n -u rm -f $__tmp.* } # Redundant now ... use _get_pids_by_name -a ... # Maintained here for backwards compatibility. # _get_pids_by_args() { if [ $# -lt 1 ] then echo "Usage: _get_pids_by_args process-name [args...]" >&2 exit 1 fi # Matches on command and its arguments ... note escaping any / in # the process name happens in _get_pids_by_name() # _get_pids_by_name -a "$@" }
Close