public static void Main()
    {
        Spy    spy    = new Spy();
        string result = spy.AnalyzeAcessModifiers(nameof(Hacker));

        Console.WriteLine(result);
    }
Exemple #2
0
    public static void Main()
    {
        var spy    = new Spy();
        var result = spy.AnalyzeAcessModifiers("Hacker");

        Console.WriteLine(result);
    }
Exemple #3
0
    private static void Main()
    {
        var    spy    = new Spy();
        string result = spy.AnalyzeAcessModifiers("Hacker");

        Console.WriteLine(result.ToString());
    }
        static void Main()
        {
            Spy    spy    = new Spy();
            string result = spy.AnalyzeAcessModifiers(typeof(Hacker).FullName);

            Console.WriteLine(result);
        }
    static void Main(string[] args)
    {
        Spy    spy    = new Spy();
        string result = spy.AnalyzeAcessModifiers("System.Text.StringBuilder");

        Console.WriteLine(result);
    }
Exemple #6
0
    private static void HighQualityMistakes()
    {
        Spy spy    = new Spy();
        var result = spy.AnalyzeAcessModifiers("Hacker");

        Console.WriteLine(result);
    }
Exemple #7
0
    static void Main(string[] args)
    {
        Spy    spy    = new Spy();
        string result = spy.AnalyzeAcessModifiers("Hacker");

        Console.WriteLine(result);
    }
    static void Main() // 100/100 - Important - see Spy class
    {
        Spy    spy    = new Spy();
        string result = spy.AnalyzeAcessModifiers("Hacker");

        Console.WriteLine(result);
    }
Exemple #9
0
    public static void Main()
    {
        Spy    spy           = new Spy();
        string investigation = spy.AnalyzeAcessModifiers("Hacker");

        Console.WriteLine(investigation);
    }
    static void Main(string[] args)
    {
        Spy    spy       = new Spy();
        var    className = typeof(Hacker).Name;
        string result    = spy.AnalyzeAcessModifiers(className);

        Console.WriteLine(result);
    }
Exemple #11
0
    public static void Main(string[] args)
    {
        Spy spy = new Spy();

        var res = spy.AnalyzeAcessModifiers("Hacker");

        Console.WriteLine(res);
    }
Exemple #12
0
    static void Main()
    {
        Spy spy = new Spy();

        // string result = spy.StealFieldInfo("Hacker", "username", "password");

        string result = spy.AnalyzeAcessModifiers("Hacker");

        Console.WriteLine(result);
    }
Exemple #13
0
    public static void Main()
    {
        Spy spy = new Spy();

        var result  = spy.StealFieldInfo("Hacker", "username", "password");
        var result1 = spy.AnalyzeAcessModifiers("Hacker");
        var result2 = spy.RevealPrivateMethods("Hacker");
        var result3 = spy.CollectGettersAndSetters("Hacker");

        Console.WriteLine(result + Environment.NewLine);
        Console.WriteLine(result1 + Environment.NewLine);
        Console.WriteLine(result2 + Environment.NewLine);
        Console.WriteLine(result3 + Environment.NewLine);
    }
Exemple #14
0
    static void Main()
    {
        Spy spy = new Spy();

        string result = spy.StealFieldInfo("Hacker", "username", "password"); // P01

        result = spy.AnalyzeAcessModifiers("Hacker");                         // P02

        result = spy.RevealPrivateMethods("Hacker");                          // P03

        result = spy.CollectGettersAndSetters("Hacker");                      // P04


        Console.WriteLine(result);
    }
Exemple #15
0
    public static void Main()
    {
        var spy          = new Spy();
        var stealingInfo = spy.StealFieldInfo("Hacker", "username", "password");

        Console.WriteLine(stealingInfo + Environment.NewLine + new string('*', 50));
        var analyzeHacker = spy.AnalyzeAcessModifiers("Hacker");

        Console.WriteLine(analyzeHacker + Environment.NewLine + new string('*', 50));
        var privateMethodsInfo = spy.RevealPrivateMethods("Hacker");

        Console.WriteLine(privateMethodsInfo + Environment.NewLine + new string('*', 50));
        var gettersAndSetters = spy.CollectGettersAndSetters("Hacker");

        Console.WriteLine(gettersAndSetters + Environment.NewLine + new string('*', 50));
    }
Exemple #16
0
    public static void Main(string[] args)
    {
        var spy = new Spy();
        // 1. Stealer
        var result = spy.StealFieldInfo(typeof(Hacker).FullName, "username", "password");

        // 2. High Quality Mistakes
        result = spy.AnalyzeAcessModifiers(typeof(Hacker).FullName);

        //// 3. Mission Private Impossible
        //result = spy.RevealPrivateMethods(typeof(Hacker).FullName);

        //// 4. Collector
        //result = spy.CollectGettersAndSetters(typeof(Hacker).FullName);

        Console.WriteLine(result);
    }
        static void Main()
        {
            var spy = new Spy();

            Console.WriteLine(spy.AnalyzeAcessModifiers("Hacker"));
        }