Beispiel #1
0
 private DataEntry.EntryType getEntryType(Dictionary <int, DataEntry> risk, DataEntry entry)
 {
     foreach (DataEntry tempEntry in risk.Values)
     {
         if (tempEntry.getIp() == entry.getIp() &&
             tempEntry.getPluginName() == entry.getPluginName() &&
             tempEntry.getDescription() == entry.getDescription() &&
             tempEntry.getImpact() == entry.getImpact() &&
             tempEntry.getCve() == entry.getCve() &&
             tempEntry.getBid() == entry.getBid() &&
             tempEntry.getOsvdb() == entry.getOsvdb() &&
             tempEntry.getRiskFactor() == entry.getRiskFactor())
         {
             return(tempEntry.getEntryType());
         }
     }
     return(DataEntry.EntryType.NULL);
 }