/
usr
/
libexec
/
/usr/libexec
mkdir
upload
Name
Size
Mode
Actions
awk/
-
0755
rm
coreutils/
-
0755
rm
cpanel-pdns/
-
0755
rm
dbus-1/
-
0755
rm
docker/
-
0755
rm
dovecot/
-
0755
rm
gawk/
-
0755
rm
gcc/
-
0755
rm
getconf/
-
0755
rm
git-core/
-
0755
rm
grubby/
-
0755
rm
hostname/
-
0755
rm
imunify-notifier/
-
0755
rm
initscripts/
-
0755
rm
installkernel/
-
0755
rm
iptables/
-
0755
rm
linux-boot-probes/
-
0755
rm
man-db/
-
0755
rm
microcode_ctl/
-
0755
rm
nfs-utils/
-
0755
rm
oddjob/
-
0755
rm
openldap/
-
0755
rm
openssh/
-
0755
rm
os-prober/
-
0755
rm
os-probes/
-
0755
rm
p11-kit/
-
0755
rm
plymouth/
-
0755
rm
selinux/
-
0755
rm
smartmontools/
-
0755
rm
sudo/
-
0755
rm
systemtap/
-
0755
rm
tuned/
-
0755
rm
utempter/
-
0755
rm
audit-functions
990
0750
edit
dl
rm
chrony-helper
7347
0755
edit
dl
rm
dirmngr_ldap
89424
0755
edit
dl
rm
dnf-utils
3702
0755
edit
dl
rm
ebtables
1362
0755
edit
dl
rm
exim.daemon
758
0755
edit
dl
rm
gdb
11527648
0755
edit
dl
rm
generate-rndc-key.sh
546
0755
edit
dl
rm
gpg-check-pattern
114592
0755
edit
dl
rm
gpg-preset-passphrase
89320
0755
edit
dl
rm
gpg-protect-tool
211336
0755
edit
dl
rm
gpg-wks-client
232680
0755
edit
dl
rm
grepconf.sh
253
0755
edit
dl
rm
import-state
1058
0755
edit
dl
rm
imunify-message-gateway
8340872
0755
edit
dl
rm
loadmodules
233
0755
edit
dl
rm
netconsole
4569
0755
edit
dl
rm
nfsrahead
38024
0755
edit
dl
rm
nm-daemon-helper
12904
0755
edit
dl
rm
nm-dhcp-helper
16592
0755
edit
dl
rm
nm-dispatcher
67752
0755
edit
dl
rm
nm-ifdown
1093
0755
edit
dl
rm
nm-ifup
1062
0755
edit
dl
rm
nm-initrd-generator
758144
0755
edit
dl
rm
no-python
157
0755
edit
dl
rm
platform-python
11872
0755
edit
dl
rm
platform-python-config
204
0755
edit
dl
rm
platform-python3.6
11872
0755
edit
dl
rm
platform-python3.6-config
204
0755
edit
dl
rm
platform-python3.6m
11872
0755
edit
dl
rm
platform-python3.6m-config
204
0755
edit
dl
rm
platform-python3.6m-x86_64-config
3626
0755
edit
dl
rm
readonly-root
5928
0755
edit
dl
rm
report-command-error
8805040
0755
edit
dl
rm
run-with-intensity
6673696
0755
edit
dl
rm
scdaemon
453032
0755
edit
dl
rm
tcawmgr.cgi
25704
0755
edit
dl
rm
virt-what-cpuid-helper
8104
0755
edit
dl
rm
Edit:
/usr/libexec/netconsole
(4569B)
#!/bin/bash # # netconsole This loads the netconsole module with the configured parameters. # # chkconfig: - 50 50 # description: Initializes network console logging # config: /etc/sysconfig/netconsole # ### BEGIN INIT INFO # Provides: netconsole # Required-Start: $network # Short-Description: Initializes network console logging # Description: Initializes network console logging of kernel messages. ### END INIT INFO # Copyright 2002 Red Hat, Inc. # # Based in part on a shell script by # Andreas Dilger <adilger@turbolinux.com> Sep 26, 2001 PATH=/sbin:/usr/sbin:$PATH RETVAL=0 SERVER_ADDRESS_RESOLUTION= # Check that networking is up. . /etc/sysconfig/network # Source function library. . /etc/rc.d/init.d/functions # Default values LOCALPORT=6666 DEV= SYSLOGADDR= SYSLOGPORT=514 SYSLOGMACADDR= kernel=$(uname -r | cut -d. -f1-2) usage () { echo $"Usage: $0 {start|stop|status|restart|condrestart}" 1>&2 RETVAL=2 } print_address_info () { local host=$1 local route via target route=$(LANG=C ip -o route get to $host/32) [ -z "$DEV" ] && DEV=$(echo $route | sed "s|.* dev \([^ ]*\).*|\1|") echo "DEV=$DEV" echo "LOCALADDR=$(echo $route | sed "s|.* src \([^ ]*\).*|\1|")" if [[ $route == *" via "* ]] ; then via=$(echo $route | sed "s|.* via \([^ ]*\).*|\1|") target=$via else target=$host fi if [ -z "$SYSLOGMACADDR" ]; then arp=$(LANG=C /sbin/arping -f -c 1 -I $DEV $target 2>/dev/null | awk '/ reply from .*[.*]/ { print gensub(".* reply from .* \\[(.*)\\].*","\\1","G"); exit }') [ -n "$arp" ] && echo "SYSLOGMACADDR=$arp" fi } start () { [ -f /etc/sysconfig/netconsole ] || exit 6 . /etc/sysconfig/netconsole SYSLOGOPTS= # syslogd server, if any if [ -n "$SYSLOGADDR" ]; then # IPv6 regex also covers 4to6, zero-compressed, and link-local addresses with zone-index addresses. # It should also cover IPv4-embedded, IPv4-mapped, and IPv4-translated IPv6 addresses. # Taken from: http://stackoverflow.com/a/17871737/3481531 IPv4_regex="^([0-9]{1,3}\.){3}[0-9]{1,3}$" IPv6_regex="^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$" if ! [[ "$SYSLOGADDR" =~ $IPv4_regex ]] && ! [[ "$SYSLOGADDR" =~ $IPv6_regex ]]; then # Use IPv4 by default: SYSLOGADDR="$(LANG=C getent ahostsv4 $SYSLOGADDR 2> /dev/null)" # Try IPv6 in case IPv4 resolution has failed: if [[ $? -eq 2 ]]; then SYSLOGADDR="$(LANG=C getent ahostsv6 $SYSLOGADDR 2> /dev/null)" fi if [[ $? -ne 0 ]]; then echo $"Unable to resolve IP address specified in /etc/sysconfig/netconsole" 1>&2 exit 6 fi SYSLOGADDR="$(echo "$SYSLOGADDR" | head -1 | cut --delimiter=' ' --fields=1)" fi fi if [ -z "$SYSLOGADDR" ] ; then echo $"Server address not specified in /etc/sysconfig/netconsole" 1>&2 exit 6 fi eval $(print_address_info $SYSLOGADDR) if [ -z "$SYSLOGMACADDR" ]; then echo $"netconsole: can't resolve MAC address of $SYSLOGADDR" 1>&2 exit 1 fi SYSLOGOPTS="netconsole=$LOCALPORT@$LOCALADDR/$DEV,$SYSLOGPORT@$SYSLOGADDR/$SYSLOGMACADDR " /usr/bin/logger -p daemon.info -t netconsole: inserting netconsole module with arguments \ $SYSLOGOPTS if [ -n "$SYSLOGOPTS" ]; then action $"Initializing netconsole" modprobe netconsole \ $SYSLOGOPTS [ "$?" != "0" ] && RETVAL=1 fi touch /var/lock/subsys/netconsole } stop () { if /sbin/lsmod | grep netconsole >/dev/null 2>&1 ; then action $"Disabling netconsole" rmmod netconsole; [ "$?" != "0" ] && RETVAL=1 fi rm -f /var/lock/subsys/netconsole } status () { if /sbin/lsmod | grep netconsole >/dev/null 2>&1 ; then echo $"netconsole module loaded" RETVAL=0 else echo $"netconsole module not loaded" RETVAL=3 fi } restart () { stop start } condrestart () { [ -e /var/lock/subsys/netconsole ] && restart } case "$1" in stop) stop ;; status) status ;; start|restart|reload|force-reload) restart ;; condrestart) condrestart ;; *) usage ;; esac exit $RETVAL
Save
cmd:
run