sogrep-service

module
v0.0.0-...-61ca6a8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2021 License: MIT

README

sogrep api

Golang sogrep API parses sogrep files from the databases (tar.gz files).

On startup the program parses the links database into a hashmap of:

soname => [packages]

This allows someone to search for $sogrep and get the resulting packages. In the background inotify monitors for links database updates and updates the in memory mapping automatically.

curl "http://localhost:8080/libpcap.so"

{"packages":["ldns","iptables","iptables-nft","ppp"]}

$repo.links.tar.gz

tar xvf core.links.tar.gz ./curl-7.76.1-1/links
cat ./curl-7.76.1-1/links
libcrypto.so.1.1
libc.so.6
libcurl.so.4
libgssapi_krb5.so.2
libidn2.so.0
libnghttp2.so.14
libpsl.so.5
libpthread.so.0
libssh2.so.1
libssl.so.1.1
libz.so.1
libzstd.so.1

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL