zeek/scripts/base/files/x509/main.bro
Bernhard Amann e5a589dbfe Very basic file-analyzer for x509 certificates. Mostly ripped from
the ssl-analyzer and the topic/bernhard/x509 branch.

Simply prints information about the encountered certificates (I have
not yet my mind up, what I will log...).

Next step: extensions...
2013-09-16 14:08:22 -07:00

14 lines
161 B
Text

@load base/frameworks/files
module X509;
export {
redef enum Log::ID += { LOG };
}
event x509_cert(f: fa_file, cert: X509::Certificate)
{
print cert;
}