
The VulnDBEntry.h file defines the class VulnDBEntry. Like the VulnDB class, each
of the VulnDBEntry methods are described in detail in the previous section.The class
contains one private data member, string m_str[VDBE_FIELD_CNT].This member is
used to store five different strings containing field info for vulnerability signatures.These
fields are type, path, result, method, and description.This class parses each of the vulnera-
bility signatures and makes its fields accessible to the “packet cannon.”
1 /*
2 * VulnDBEntry.h
3 *
4 *
5 *
6 */
7
8
#if !defined(__VULNDBENTRY_H__)
9 #define __VULNDBENTRY_H_
10
11
#include <string>
12 using std::string;
13
14
#define VDBE_FIELD_CNT ...