Exemple #1
0
 public string addRule(string type, string match)
 {
     return(InjectionRuleManager.Instance().AddRule(type, match));
 }
Exemple #2
0
 public void OnBeforeUnload()
 {
     InjectionRuleManager.Instance().SaveRule();
     InjectionListManager.Instance().SaveRecord();
 }
Exemple #3
0
 private bool MatchRule(Session oSession)
 {
     return(InjectionRuleManager.Instance().IsMatch(oSession));
 }
Exemple #4
0
 public void disableRule(string order)
 {
     InjectionRuleManager.Instance().DisableRule(order);
 }
Exemple #5
0
 public List <RuleItem> queryRule()
 {
     return(InjectionRuleManager.Instance().RuleList);
 }
Exemple #6
0
 public void modifyRule(string order, string type, string match)
 {
     InjectionRuleManager.Instance().ModifyRule(order, type, match);
 }
Exemple #7
0
 public void delRule(string order)
 {
     InjectionRuleManager.Instance().DelRule(order);
 }