Ejemplo n.º 1
0
    static void Main(string[] args)
    {
        Spy    spy    = new Spy();
        string result = spy.CollectGettersAndSetters("System.Text.StringBuilder");

        Console.WriteLine(result);
    }
Ejemplo n.º 2
0
        public static void Main()
        {
            var spy    = new Spy();
            var result = spy.CollectGettersAndSetters("Hacker");

            System.Console.WriteLine(result);
        }
Ejemplo n.º 3
0
    static void Main(string[] args)
    {
        var spy    = new Spy();
        var result = spy.CollectGettersAndSetters("Hacker");

        Console.WriteLine(result);
    }
Ejemplo n.º 4
0
        static void Main(string[] args)
        {
            Spy spy    = new Spy();
            var result = spy.CollectGettersAndSetters("Stealer.Hacker");

            System.Console.WriteLine(result);
        }
    private static void Collector()
    {
        Spy    spy    = new Spy();
        string result = spy.CollectGettersAndSetters("Hacker");

        Console.WriteLine(result);
    }
    public static void Main()
    {
        Spy    spy    = new Spy();
        string result = spy.CollectGettersAndSetters("Hacker");

        Console.WriteLine(result);
    }
Ejemplo n.º 7
0
    public static void Main()
    {
        Spy    spy           = new Spy();
        string investigation = spy.CollectGettersAndSetters("Hacker");

        Console.WriteLine(investigation);
    }
Ejemplo n.º 8
0
    static void Main(string[] args)
    {
        Spy spy = new Spy();
        //string result = spy.StealFieldInfo("Hacker", "username", "password");
        string result = spy.CollectGettersAndSetters("Hacker");

        Console.WriteLine(result);
    }
Ejemplo n.º 9
0
    public static void Main(string[] args)
    {
        Spy spy = new Spy();

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

        Console.WriteLine(res);
    }
Ejemplo n.º 10
0
    static void Main(string[] args)
    {
        Spy    spy       = new Spy();
        var    className = typeof(Hacker).Name;
        string result    = spy.CollectGettersAndSetters(className);

        Console.WriteLine(result);
    }
Ejemplo n.º 11
0
        public static void Main()
        {
            var spy = new Spy();
            //var result = spy.StealFieldInfo("Hacker", "username", "password");
            //var result = spy.AnalyzeAcessModifiers("Hacker");
            //var result = spy.RevealPrivateMethods("Hacker");
            var result = spy.CollectGettersAndSetters("Hacker");

            Console.WriteLine(result);
        }
Ejemplo n.º 12
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);
    }
Ejemplo n.º 13
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);
    }
Ejemplo n.º 14
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));
    }
    public static void Main(string[] args)
    {
        Spy spy = new Spy();

        //string stealFieldInfoResult = spy.StealFieldInfo("Hacker", "username", "password");
        //Console.WriteLine(stealFieldInfoResult);

        //string analyzeAcessModifiersResult = spy.AnalyzeAcessModifiers("Hacker");
        //Console.WriteLine(analyzeAcessModifiersResult);

        //string revealPrivateMethodsResult = spy.RevealPrivateMethods("Hacker");
        //Console.WriteLine(revealPrivateMethodsResult);

        string collectGettersAndSettersResult = spy.CollectGettersAndSetters("Hacker");

        Console.WriteLine(collectGettersAndSettersResult);
    }
Ejemplo n.º 16
0
    static void Main()
    {
        Spy spy = new Spy();

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

        // ==== Task 2 ==== \\
        //string result = spy.AnalyzeAcessModifiers("Hacker");

        // ==== Task 3 ==== \\
        //string result = spy.RevealPrivateMethods("Hacker");

        // ==== Task 4 ==== \\
        string result = spy.CollectGettersAndSetters("Hacker");

        Console.WriteLine(result);
    }
    public static void Main(string[] args)
    {
        Spy 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);
    }
    public static void Main()
    {
        Spy spy = new Spy();

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

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

        // lab03_MissionPrivateImpossible
        //string result = spy.RevealPrivateMethods("Hacker");

        // lab04_Collector
        string result = spy.CollectGettersAndSetters("Hacker");


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

        //1.Stealer

        //Console.WriteLine(spy.StealFieldInfo("Hacker", "username", "password"));

        //2.High Quality Mistakes

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

        //3.Mission Private Impossible

        //Console.WriteLine(spy.RevealPrivateMethods("Hacker"));

        //4.Collector

        Console.WriteLine(spy.CollectGettersAndSetters("Hacker"));
    }
Ejemplo n.º 20
0
        static void Main()
        {
            var spy = new Spy();

            Console.WriteLine(spy.CollectGettersAndSetters("Hacker"));
        }
Ejemplo n.º 21
0
    static void Main(string[] args)
    {
        Spy spy = new Spy();

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