OXIESEC PANEL
- Current Dir:
/
/
snap
/
core
/
17200
/
usr
/
sbin
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/06/2024 02:31:58 PM
rwxr-xr-x
📄
aa-exec
22.16 KB
06/29/2023 11:30:47 AM
rwxr-xr-x
📄
aa-remove-unknown
2.86 KB
06/29/2023 11:30:39 AM
rwxr-xr-x
📄
aa-status
7.11 KB
06/29/2023 11:30:39 AM
rwxr-xr-x
📄
add-shell
695 bytes
01/26/2016 06:17:55 PM
rwxr-xr-x
📄
addgroup
36.4 KB
07/02/2015 08:11:22 PM
rwxr-xr-x
📄
adduser
36.4 KB
07/02/2015 08:11:22 PM
rwxr-xr-x
📄
apparmor_status
7.11 KB
06/29/2023 11:30:39 AM
rwxr-xr-x
📄
arp
54.09 KB
06/30/2014 01:19:24 PM
rwxr-xr-x
📄
arpd
46.74 KB
04/16/2019 12:37:11 PM
rwxr-xr-x
📄
chat
26.01 KB
07/23/2020 03:09:52 PM
rwxr-xr-x
📄
chgpasswd
53.33 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
chpasswd
49.43 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
chroot
38.8 KB
03/02/2017 06:07:22 PM
rwxr-xr-x
📄
cpgr
51.48 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
cppw
51.48 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
cron
43.43 KB
05/10/2022 10:15:25 PM
rwxr-xr-x
📄
delgroup
16.13 KB
07/02/2015 08:11:22 PM
rwxr-xr-x
📄
deluser
16.13 KB
07/02/2015 08:11:22 PM
rwxr-xr-x
📄
dnsmasq
379.6 KB
04/18/2023 08:21:30 AM
rwxr-xr-x
📄
dpkg-divert
0 bytes
01/01/1970 12:00:00 AM
---------
📄
dpkg-preconfigure
3.52 KB
05/08/2019 06:33:33 PM
rwxr-xr-x
📄
dpkg-reconfigure
4.23 KB
05/08/2019 06:33:33 PM
rwxr-xr-x
📄
dpkg-statoverride
0 bytes
01/01/1970 12:00:00 AM
---------
📄
e2freefrag
10.24 KB
06/03/2022 08:47:31 PM
rwxr-xr-x
📄
e4defrag
26.53 KB
06/03/2022 08:47:31 PM
rwxr-xr-x
📄
faillock
14.4 KB
02/02/2023 06:52:20 PM
rwxr-xr-x
📄
fanatic
35.21 KB
12/12/2017 04:13:01 PM
rwxr-xr-x
📄
fanctl
41.97 KB
04/23/2019 10:35:14 AM
rwxr-xr-x
📄
fdformat
22.57 KB
06/14/2022 09:28:54 PM
rwxr-xr-x
📄
filefrag
14.31 KB
06/03/2022 08:47:31 PM
rwxr-xr-x
📄
genl
46.69 KB
04/16/2019 12:37:11 PM
rwxr-xr-x
📄
groupadd
57.42 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
groupdel
65.83 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
groupmod
67.7 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
grpck
53.31 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
grpconv
49.19 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
grpunconv
49.2 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
iconvconfig
26.66 KB
11/28/2023 02:47:37 PM
rwxr-xr-x
📄
invoke-rc.d
19.41 KB
11/29/2016 05:28:22 PM
rwxr-xr-x
📄
ip6tables-apply
6.85 KB
02/19/2016 03:20:21 PM
rwxr-xr-x
📄
iptables-apply
6.85 KB
02/19/2016 03:20:21 PM
rwxr-xr-x
📄
ldattach
26.63 KB
06/14/2022 09:28:54 PM
rwxr-xr-x
📄
logrotate
63.11 KB
08/10/2017 03:16:07 PM
rwxr-xr-x
📄
mkinitramfs
10.24 KB
10/07/2019 10:53:35 AM
rwxr-xr-x
📄
mklost+found
10.25 KB
06/03/2022 08:47:31 PM
rwxr-xr-x
📄
netplan
17.94 KB
09/27/2019 04:27:57 PM
rwxr-xr-x
📄
newusers
73.84 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
nfnl_osf
14.37 KB
02/19/2016 03:21:11 PM
rwxr-xr-x
📄
nologin
5.95 KB
02/07/2024 10:59:50 AM
rwxr-xr-x
📄
pam-auth-update
19.09 KB
02/02/2023 06:50:45 PM
rwxr-xr-x
📄
pam_getenv
2.82 KB
02/02/2023 06:50:45 PM
rwxr-xr-x
📄
pam_timestamp_check
10.38 KB
02/02/2023 06:52:20 PM
rwxr-xr-x
📄
pppd
385.73 KB
07/23/2020 03:09:52 PM
rwxr-xr--
📄
pppdump
18.1 KB
07/23/2020 03:09:52 PM
rwxr-xr-x
📄
pppoe-discovery
18 KB
07/23/2020 03:09:52 PM
rwxr-xr-x
📄
pppstats
13.99 KB
07/23/2020 03:09:51 PM
rwxr-xr-x
📄
pwck
45.36 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
pwconv
41.27 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
pwunconv
36.43 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
readprofile
14.52 KB
06/14/2022 09:28:54 PM
rwxr-xr-x
📄
remove-shell
749 bytes
01/26/2016 06:17:55 PM
rwxr-xr-x
📄
rfkill
10.29 KB
06/20/2018 11:54:19 AM
rwxr-xr-x
📄
rmt
54.95 KB
12/06/2023 12:12:24 PM
rwxr-xr-x
📄
rmt-tar
54.95 KB
12/06/2023 12:12:24 PM
rwxr-xr-x
📄
rsyslogd
585.28 KB
05/23/2022 05:31:02 PM
rwxr-xr-x
📄
rtcwake
38.8 KB
06/14/2022 09:28:54 PM
rwxr-xr-x
📄
service
9.82 KB
09/12/2016 08:57:57 AM
rwxr-xr-x
📄
setvesablank
10.27 KB
09/22/2016 05:33:23 PM
rwxr-xr-x
📄
sshd
772.48 KB
01/09/2024 03:07:56 PM
rwxr-xr-x
📄
tarcat
936 bytes
12/06/2023 12:12:23 PM
rwxr-xr-x
📄
tunelp
22.53 KB
06/14/2022 09:28:54 PM
rwxr-xr-x
📄
tzconfig
106 bytes
01/03/2024 12:40:26 PM
rwxr-xr-x
📄
update-alternatives
46.61 KB
05/27/2022 10:37:03 AM
rwxr-xr-x
📄
update-ca-certificates
5.25 KB
05/24/2023 12:18:18 PM
rwxr-xr-x
📄
update-initramfs
8.38 KB
10/07/2019 10:53:35 AM
rwxr-xr-x
📄
update-mime
8.84 KB
10/30/2015 03:39:30 PM
rwxr-xr-x
📄
update-passwd
30.41 KB
01/02/2016 11:13:25 PM
rwxr-xr-x
📄
update-rc.d
14.1 KB
02/29/2016 12:24:38 PM
rwxr-xr-x
📄
useradd
118.72 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
userdel
81.92 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
usermod
118.5 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
vcstime
6.26 KB
09/22/2016 05:33:23 PM
rwxr-xr-x
📄
vigr
55.7 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
vipw
55.7 KB
02/07/2024 10:59:49 AM
rwxr-xr-x
📄
visudo
187.89 KB
05/24/2023 01:48:57 PM
rwxr-xr-x
📄
zic
50.54 KB
11/28/2023 02:47:37 PM
rwxr-xr-x
Editing: update-ca-certificates
Close
#!/bin/sh -e # # update-ca-certificates # # Copyright (c) 2003 Fumitoshi UKAI <ukai@debian.or.jp> # Copyright (c) 2009 Philipp Kern <pkern@debian.org> # # 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. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, # USA. # verbose=0 fresh=0 default=0 CERTSCONF=/etc/ca-certificates.conf CERTSDIR=/usr/share/ca-certificates LOCALCERTSDIR=/usr/local/share/ca-certificates CERTBUNDLE=ca-certificates.crt ETCCERTSDIR=/etc/ssl/certs HOOKSDIR=/etc/ca-certificates/update.d while [ $# -gt 0 ]; do case $1 in --verbose|-v) verbose=1;; --fresh|-f) fresh=1;; --default|-d) default=1 fresh=1;; --certsconf) shift CERTSCONF="$1";; --certsdir) shift CERTSDIR="$1";; --localcertsdir) shift LOCALCERTSDIR="$1";; --certbundle) shift CERTBUNDLE="$1";; --etccertsdir) shift ETCCERTSDIR="$1";; --hooksdir) shift HOOKSDIR="$1";; --help|-h|*) echo "$0: [--verbose] [--fresh]" exit;; esac shift done if [ ! -s "$CERTSCONF" ] then fresh=1 fi cleanup() { rm -f "$TEMPBUNDLE" rm -f "$ADDED" rm -f "$REMOVED" } trap cleanup 0 # Helper files. (Some of them are not simple arrays because we spawn # subshells later on.) TEMPBUNDLE="${ETCCERTSDIR}/${CERTBUNDLE}.new" ADDED="$(mktemp --tmpdir "ca-certificates.tmp.XXXXXX")" REMOVED="$(mktemp --tmpdir "ca-certificates.tmp.XXXXXX")" # Adds a certificate to the list of trusted ones. This includes a symlink # in /etc/ssl/certs to the certificate file and its inclusion into the # bundle. add() { CERT="$1" PEM="$ETCCERTSDIR/$(basename "$CERT" .crt | sed -e 's/ /_/g' \ -e 's/[()]/=/g' \ -e 's/,/_/g').pem" if ! test -e "$PEM" || [ "$(readlink "$PEM")" != "$CERT" ] then ln -sf "$CERT" "$PEM" echo "+$PEM" >> "$ADDED" fi # Add trailing newline to certificate, if it is missing (#635570) sed -e '$a\' "$CERT" >> "$TEMPBUNDLE" } remove() { CERT="$1" PEM="$ETCCERTSDIR/$(basename "$CERT" .crt).pem" if test -L "$PEM" then rm -f "$PEM" echo "-$PEM" >> "$REMOVED" fi } cd "$ETCCERTSDIR" if [ "$fresh" = 1 ]; then echo "Clearing symlinks in $ETCCERTSDIR..." find . -type l -print | while read symlink do case $(readlink "$symlink") in $CERTSDIR*|$LOCALCERTSDIR*) rm -f $symlink;; esac done find . -type l -print | while read symlink do test -f "$symlink" || rm -f "$symlink" done echo "done." fi echo "Updating certificates in $ETCCERTSDIR..." # Add default certificate authorities if requested if [ "$default" = 1 ]; then find -L "$CERTSDIR" -type f -name '*.crt' | sort | while read crt do add "$crt" done fi # Handle certificates that should be removed. This is an explicit act # by prefixing lines in the configuration files with exclamation marks (!). sed -n -e '/^$/d' -e 's/^!//p' "$CERTSCONF" | while read crt do remove "$CERTSDIR/$crt" done sed -e '/^$/d' -e '/^#/d' -e '/^!/d' "$CERTSCONF" | while read crt do if ! test -f "$CERTSDIR/$crt" then echo "W: $CERTSDIR/$crt not found, but listed in $CERTSCONF." >&2 continue fi add "$CERTSDIR/$crt" done # Now process certificate authorities installed by the local system # administrator. if [ -d "$LOCALCERTSDIR" ] then find -L "$LOCALCERTSDIR" -type f -name '*.crt' | sort | while read crt do add "$crt" done fi ADDED_CNT=$(wc -l < "$ADDED") REMOVED_CNT=$(wc -l < "$REMOVED") if [ "$ADDED_CNT" -gt 0 ] || [ "$REMOVED_CNT" -gt 0 ] then # only run if set of files has changed # Remove orphan symlinks found in ETCCERTSDIR to prevent `openssl rehash` # from exiting with an error. See #895482, #895473. find $ETCCERTSDIR -type l ! -exec test -e {} \; -print | while read orphan do rm -f "$orphan" if [ "$verbose" = 1 ]; then echo "Removed orphan symlink $orphan" fi done if [ "$verbose" = 0 ] then c_rehash . > /dev/null else c_rehash . fi fi # chmod and mv only if TEMPBUNDLE exists or install may fail, #996005 if [ -f "$TEMPBUNDLE" ] then chmod 0644 "$TEMPBUNDLE" mv -f "$TEMPBUNDLE" "$CERTBUNDLE" # Restore proper SELinux label after moving the file [ -x /sbin/restorecon ] && /sbin/restorecon "$CERTBUNDLE" >/dev/null 2>&1 fi echo "$ADDED_CNT added, $REMOVED_CNT removed; done." if [ -d "$HOOKSDIR" ] then echo "Running hooks in $HOOKSDIR..." VERBOSE_ARG= [ "$verbose" = 0 ] || VERBOSE_ARG="--verbose" eval run-parts "$VERBOSE_ARG" --test -- "$HOOKSDIR" | while read hook do ( cat "$ADDED" cat "$REMOVED" ) | "$hook" || echo "E: $hook exited with code $?." done echo "done." fi # vim:set et sw=2: