It is missing, not sure why. It still exists in 2024.1-live, not sure when it stopped working though. It’s not listed in the kali package tracker as a tool under util-linux. Looks like kali pulls it in from debian, so prolly something broken there.
that doesnt make sense, we can use wtmpdb to read wtmpdb databases but we cant read old wtmp and utmp files with it. as example i was trying to read a wtmp file from hackthebox for an sherlock ctf and:
wtmpdb last -f wtmp returns: “wtmpdb_read_all: SQL error: file is not a database”
i couldnt find any online resources on how to turn a wtmp file to a wtmpdb compatible one.
Hi everyone, I’m the new maintainer of wtmpdb in debian. Unfortunately it is true that Debian dropped all the tools that could directly read wtmp files but the latest versions of wtmpdb now include an import command for the old wtmp-format files. For example, you can run:
wtmpdb import /var/log/wtmp -f imported.db
wtmpdb last -f imported.db
If you have any problems with the importer do raise a bug on the Debian BTS and I’ll see what I can do.