Beispiel #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;
                }
            }
        }
Beispiel #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;
                }
            }
        }
Beispiel #3
0
 public ScaryCsRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Beispiel #4
0
 public TestRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Beispiel #5
0
 public ScaryAspxRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Beispiel #6
0
 public WeakHashRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Beispiel #7
0
 public LocalFileInclusionRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Beispiel #8
0
 public ScaryAspxRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
 public DomBasedXssRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Beispiel #10
0
 public AspxXSSRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
 public HashWithoutSaltRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
 public LocalFileInclusionRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
 public HashWithoutSaltRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Beispiel #14
0
 public AspxXSSRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Beispiel #15
0
 public TestRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Beispiel #16
0
 public HardCodedPasswordRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
 public CookieSecurityRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Beispiel #18
0
 public CookieSecurityRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Beispiel #19
0
 public ScaryCsRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
 public HardCodedPasswordRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
Beispiel #21
0
 public WeakHashRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }
 public DomBasedXssRule(FileAnalyzer a)
 {
     this.analyzer = a;
 }