OXIESEC PANEL
- Current Dir:
/
/
lib
/
rpm
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
02/08/2025 12:05:33 AM
r-xr-xr-x
📄
cmake.prov
2.93 KB
04/05/2024 07:52:22 PM
rwxr-xr-x
📄
cmake.req
2.3 KB
04/05/2024 07:52:22 PM
rwxr-xr-x
📁
fileattrs
-
02/08/2025 12:06:29 AM
rwxr-xr-x
📄
gstreamer1.prov
954 bytes
05/30/2020 07:44:22 AM
rwxr-xr-x
📄
kabi.sh
468 bytes
05/15/2023 02:30:31 PM
rwxr-xr-x
📄
kmod.prov
682 bytes
05/15/2023 02:30:31 PM
rwxr-xr-x
📄
macros
42.96 KB
12/17/2024 04:11:02 AM
rw-r--r--
📁
macros.d
-
02/08/2025 12:06:53 AM
rwxr-xr-x
📁
platform
-
12/17/2024 04:11:02 AM
rwxr-xr-x
📄
python-macro-helper
634 bytes
12/17/2024 04:11:01 AM
rw-r--r--
📄
pythondeps.sh
921 bytes
03/31/2023 03:44:53 PM
rwxr-xr-x
📄
pythondistdeps.py
10.92 KB
03/31/2023 03:44:53 PM
rwxr-xr-x
📁
redhat
-
02/08/2025 12:05:43 AM
rwxr-xr-x
📄
rpm.daily
296 bytes
12/17/2024 04:11:01 AM
rw-r--r--
📄
rpm.log
61 bytes
12/17/2024 04:11:01 AM
rw-r--r--
📄
rpm.supp
688 bytes
12/17/2024 04:11:01 AM
rw-r--r--
📄
rpm2cpio.sh
1.22 KB
12/17/2024 04:11:01 AM
rwxr-xr-x
📄
rpmdb_dump
0 bytes
01/01/1970 12:00:00 AM
---------
📄
rpmdb_load
0 bytes
01/01/1970 12:00:00 AM
---------
📄
rpmdb_loadcvt
1.43 KB
12/17/2024 04:11:01 AM
rwxr-xr-x
📄
rpmdb_recover
0 bytes
01/01/1970 12:00:00 AM
---------
📄
rpmdb_stat
0 bytes
01/01/1970 12:00:00 AM
---------
📄
rpmdb_upgrade
0 bytes
01/01/1970 12:00:00 AM
---------
📄
rpmdb_verify
0 bytes
01/01/1970 12:00:00 AM
---------
📄
rpmpopt-4.14.3
11.2 KB
12/17/2024 04:11:02 AM
rw-r--r--
📄
rpmrc
16.75 KB
12/17/2024 04:11:02 AM
rw-r--r--
📄
tgpg
929 bytes
12/17/2024 04:11:01 AM
rwxr-xr-x
Editing: rpmdb_loadcvt
Close
#!/bin/bash ac=$# cmd=`basename $0` rpmdb=/var/lib/rpm dbfiles="`/bin/ls -1 $rpmdb/*`" dbdump=/usr/lib/rpm/rpmdb_dump dbload=/usr/bin/db_load set `$dbdump -V` || { echo "The file $dbdump, usually in the rpm-devel package, is needed." echo " Please install the rpm-devel package and retry $cmd." exit 1 } dumpfmt="${5%%:}" set `$dbload -V` || { echo "The file $dbload, usually in the db4-utils package, is needed." echo " Please install the db4_utils package and retry $cmd." exit 1 } loadfmt="${5%%:}" [ "$dumpfmt" = "$loadfmt" ] && { echo "Both $dbdump and $dbload use db-$loadfmt format." echo "No conversion is possible." exit 0 } [ "$ac" != "0" -o "`/usr/bin/id -u`" != "0" ] && { echo "$cmd: Convert $rpmdb files to db-$loadfmt format." echo "$cmd: Must be run as root, takes no arguments." exit 1 } echo "Converting to db-$loadfmt compatible format (1-10 minutes per file) ..." dbfile= trap " [ -n "$dbfile" ] && { [ -f $dbfile-O ] && /bin/mv $dbfile-O $dbfile /bin/rm -f $dbfile-N } exit 1 " 1 2 3 15 rm -f $rpmdb/__db* for dbfile in $dbfiles do echo " `/usr/bin/file $dbfile`" $dbdump $dbfile | $dbload $dbfile-N || { echo "Failed conversion:" echo " $dbdump $dbfile | $dbload $dbfile-N" echo "Cleaning up and exiting ..." /bin/rm -f $dbfile-N exit 1 } /bin/mv $dbfile $dbfile-O /bin/mv $dbfile-N $dbfile /bin/rm -f $dbfile-O done echo "Done!" exit 0