Automated commit of clang-format CI changes.

This commit is contained in:
lucaderi 2023-04-07 14:20:44 +00:00 committed by clang-format-bot
parent 2ecb162dfb
commit d395deac4e
604 changed files with 47610 additions and 38436 deletions

View file

@ -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