mirror of
https://github.com/adulau/hashlookup-server.git
synced 2024-12-26 18:56:05 +00:00
984 B
984 B
Database structure of hashlookup
hash storage
l:<md5>
key/value -> {sha1, sha1}h:<sha1>
hash -> keys from NSRL or other data sourcesp:<sha1>
set -> {sha1, sha1} for the parents of a hash (such as original packages)c:<sha1>
set -> {sha1, sha1} for the children of a hash (such as files contained in a package)
Standard keys
MD5
SHA-1
SHA-256
TLSH
SSDEEP
FileName
FileSize
PackageArch
PackageDescription
PackageMaintainer
PackageName
PackageRelease
PackageVersion
KnownMalicious
Publish-Subscribe channels
nx
JSON message of non-existing hashes searchedexist
JSON message of existing hashes searched
Statistics
s:nx:md5
sorted set of MD5 non-existing hashess:nx:sha1
sorted set of SHA1 non-existing hashess:exist:md5
sorted set of SHA1 existing hashess:exist:sha1
sorted set of SHA1 existing hashesstat:<NSRLname>
string with the number of items imported