OXIESEC PANEL
- Current Dir:
/
/
etc
/
cron.daily
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/20/2025 05:23:23 PM
rwxr-xr-x
📄
.placeholder
102 bytes
11/16/2017 05:29:19 AM
rw-r--r--
📄
apache2
539 bytes
07/16/2019 06:14:45 PM
rwxr-xr-x
📄
apport
376 bytes
11/20/2017 04:39:28 PM
rwxr-xr-x
📄
apt-compat
1.44 KB
04/20/2018 10:08:18 AM
rwxr-xr-x
📄
bsdmainutils
355 bytes
12/29/2017 09:02:08 AM
rwxr-xr-x
📄
dpkg
1.15 KB
11/02/2017 10:28:26 PM
rwxr-xr-x
📄
logrotate
372 bytes
08/21/2017 05:38:26 PM
rwxr-xr-x
📄
man-db
1.04 KB
04/07/2018 10:39:15 AM
rwxr-xr-x
📄
mdadm
539 bytes
01/30/2019 02:51:36 PM
rwxr-xr-x
📄
mlocate
538 bytes
03/01/2018 04:07:16 PM
rwxr-xr-x
📄
passwd
249 bytes
01/25/2018 03:09:22 PM
rwxr-xr-x
📄
popularity-contest
3.4 KB
02/21/2018 04:44:56 AM
rwxr-xr-x
📄
update-notifier-common
214 bytes
11/12/2018 03:57:28 PM
rwxr-xr-x
Editing: dpkg
Close
#!/bin/sh dbdir=/var/lib/dpkg # Backup the 7 last versions of dpkg databases containing user data. if cd /var/backups ; then # We backup all relevant database files if any has changed, so that # the rotation number always contains an internally consistent set. dbchanged=no dbfiles="arch status diversions statoverride" for db in $dbfiles ; do if ! cmp -s dpkg.${db}.0 $dbdir/$db ; then dbchanged=yes break; fi done if [ "$dbchanged" = "yes" ] ; then for db in $dbfiles ; do [ -e $dbdir/$db ] || continue cp -p $dbdir/$db dpkg.$db savelog -c 7 dpkg.$db >/dev/null done fi # The alternatives database is independent from the dpkg database. dbalt=alternatives # XXX: Ideally we'd use --warning=none instead of discarding stderr, but # as of GNU tar 1.27.1, it does not seem to work reliably (see #749307). if ! test -e ${dbalt}.tar.0 || ! tar -df ${dbalt}.tar.0 -C $dbdir $dbalt >/dev/null 2>&1 ; then tar -cf ${dbalt}.tar -C $dbdir $dbalt >/dev/null 2>&1 savelog -c 7 ${dbalt}.tar >/dev/null fi fi