public XSSCRLFModel(FrameworkModel model) {
_model = model;
/*
* lower table with possibly vulnerable URLs
*/
_conversationModel = new FilteredConversationModel(model, model.getConversationModel()) {
public boolean shouldFilter(ConversationID id) {
return !isXSSVulnerable(id) && !isCRLFVulnerable(id);
}
};
/*
* upper table with suspected URLs
*/
_suspectedConversationModel = new FilteredConversationModel(model, model.getConversationModel()) {
public boolean shouldFilter(ConversationID id) {
return !isCRLFSuspected(id) && !isXSSSuspected(id);
}
};
}