Ejemplo n.º 1
0
        public State(FileAnalyzer fileAnalyzer, CodeClass codeClass, CodeMethod codeMethod)
        {
            this.FileAnalyzer = fileAnalyzer;
            this.CodeClass    = codeClass;
            this.CodeMethod   = codeMethod;
            this.IsEvil       = false;

            foreach (string scaryMethod in Util.ScaryMethodNames)
            {
                if (this.CodeMethod.Code.Contains(scaryMethod))
                {
                    this.IsEvil          = true;
                    this.ScaryMethodUsed = scaryMethod;
                    break;
                }
            }
        }
Ejemplo n.º 2
0
        public State(FileAnalyzer fileAnalyzer, CodeClass codeClass, CodeMethod codeMethod)
        {
            this.FileAnalyzer = fileAnalyzer;
            this.CodeClass = codeClass;
            this.CodeMethod = codeMethod;
            this.IsEvil = false;

            foreach (string scaryMethod in Util.ScaryMethodNames)
            {
                if (this.CodeMethod.Code.Contains(scaryMethod))
                {
                    this.IsEvil = true;
                    this.ScaryMethodUsed = scaryMethod;
                    break;
                }
            }
        }
Ejemplo n.º 3
0
 public ScaryCsRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 4
0
 public TestRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 5
0
 public ScaryAspxRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 6
0
 public WeakHashRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 7
0
 public LocalFileInclusionRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 8
0
 public ScaryAspxRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 9
0
 public DomBasedXssRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 10
0
 public AspxXSSRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 11
0
 public HashWithoutSaltRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 12
0
 public LocalFileInclusionRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 13
0
 public HashWithoutSaltRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 14
0
 public AspxXSSRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 15
0
 public TestRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 16
0
 public HardCodedPasswordRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 17
0
 public CookieSecurityRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 18
0
 public CookieSecurityRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 19
0
 public ScaryCsRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 20
0
 public HardCodedPasswordRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 21
0
 public WeakHashRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Ejemplo n.º 22
0
 public DomBasedXssRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }