mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 02:16:39 +00:00
Automated commit of clang-format CI changes.
This commit is contained in:
parent
2ecb162dfb
commit
d395deac4e
604 changed files with 47610 additions and 38436 deletions
|
|
@ -26,22 +26,30 @@
|
|||
|
||||
class FlowRiskHTTPSuspiciousHeader : public FlowRisk {
|
||||
private:
|
||||
FlowAlertType getAlertType() const { return FlowRiskHTTPSuspiciousHeaderAlert::getClassType(); }
|
||||
FlowAlertType getAlertType() const {
|
||||
return FlowRiskHTTPSuspiciousHeaderAlert::getClassType();
|
||||
}
|
||||
|
||||
public:
|
||||
FlowRiskHTTPSuspiciousHeader() : FlowRisk() {};
|
||||
~FlowRiskHTTPSuspiciousHeader() {};
|
||||
FlowRiskHTTPSuspiciousHeader() : FlowRisk(){};
|
||||
~FlowRiskHTTPSuspiciousHeader(){};
|
||||
|
||||
FlowAlert *buildAlert(Flow *f) {
|
||||
FlowRiskHTTPSuspiciousHeaderAlert *alert = new FlowRiskHTTPSuspiciousHeaderAlert(this, f);
|
||||
FlowRiskHTTPSuspiciousHeaderAlert *alert =
|
||||
new FlowRiskHTTPSuspiciousHeaderAlert(this, f);
|
||||
|
||||
alert->setCliAttacker(), alert->setSrvVictim();
|
||||
|
||||
return alert;
|
||||
}
|
||||
|
||||
std::string getName() const { return(FlowRiskAlerts::getCheckName(FlowRiskHTTPSuspiciousHeaderAlert::getClassRisk())); }
|
||||
ndpi_risk_enum handledRisk() { return FlowRiskHTTPSuspiciousHeaderAlert::getClassRisk(); }
|
||||
std::string getName() const {
|
||||
return (FlowRiskAlerts::getCheckName(
|
||||
FlowRiskHTTPSuspiciousHeaderAlert::getClassRisk()));
|
||||
}
|
||||
ndpi_risk_enum handledRisk() {
|
||||
return FlowRiskHTTPSuspiciousHeaderAlert::getClassRisk();
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue