mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +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 FlowRiskURLPossibleSQLInjection : public FlowRisk {
|
||||
private:
|
||||
FlowAlertType getAlertType() const { return FlowRiskURLPossibleSQLInjectionAlert::getClassType(); }
|
||||
FlowAlertType getAlertType() const {
|
||||
return FlowRiskURLPossibleSQLInjectionAlert::getClassType();
|
||||
}
|
||||
|
||||
public:
|
||||
FlowRiskURLPossibleSQLInjection() : FlowRisk() {};
|
||||
~FlowRiskURLPossibleSQLInjection() {};
|
||||
FlowRiskURLPossibleSQLInjection() : FlowRisk(){};
|
||||
~FlowRiskURLPossibleSQLInjection(){};
|
||||
|
||||
FlowAlert *buildAlert(Flow *f) {
|
||||
FlowRiskURLPossibleSQLInjectionAlert *alert = new FlowRiskURLPossibleSQLInjectionAlert(this, f);
|
||||
FlowRiskURLPossibleSQLInjectionAlert *alert =
|
||||
new FlowRiskURLPossibleSQLInjectionAlert(this, f);
|
||||
|
||||
alert->setCliAttacker(), alert->setSrvVictim();
|
||||
|
||||
return alert;
|
||||
}
|
||||
|
||||
std::string getName() const { return(FlowRiskAlerts::getCheckName(FlowRiskURLPossibleSQLInjectionAlert::getClassRisk())); }
|
||||
ndpi_risk_enum handledRisk() { return FlowRiskURLPossibleSQLInjectionAlert::getClassRisk(); }
|
||||
std::string getName() const {
|
||||
return (FlowRiskAlerts::getCheckName(
|
||||
FlowRiskURLPossibleSQLInjectionAlert::getClassRisk()));
|
||||
}
|
||||
ndpi_risk_enum handledRisk() {
|
||||
return FlowRiskURLPossibleSQLInjectionAlert::getClassRisk();
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue