コード例 #1
0
ファイル: Program.cs プロジェクト: P1CKLES/FreshCookees
        public static void Main(string[] args)
        {
            Console.ForegroundColor = ConsoleColor.Green;
            string title = @" 
                ______               __       ______            __                 
               / ____/_______  _____/ /_     / ____/___  ____  / /_____  ___  _____
              / /_  / ___/ _ \/ ___/ __ \   / /   / __ \/ __ \/ //_/ _ \/ _ \/ ___/
             / __/ / /  /  __(__  ) / / /  / /___/ /_/ / /_/ / ,< /  __/  __(__  ) 
            /_/   /_/   \___/____/_/ /_/   \____/\____/\____/_/|_|\___/\___/____/  
                                                                       " + "\n\n";



            string options = @"[*] IExplorer Cookie refresher for proxies that provide cookies!  \n[*] Example: AutoRefresh.exe 'myadomain.com/autorefresh.html'" + "\n\n";

            Console.Write(title);
            Console.ResetColor();

            if (args.Length == 0)
            {
                Console.ForegroundColor = ConsoleColor.Green;
                Console.WriteLine(options);
                Console.ResetColor();
                Environment.Exit(0);
            }
            else
            {
                Page.page = args[0];
            }

            Console.WriteLine("[*] Listening for iexplore process deletion!");
            EventWatcherAsync eventWatcher = new EventWatcherAsync();
        }
コード例 #2
0
        public static void Main(string[] args)
        {
            Console.WriteLine("Listening process creation, Press Enter to exit");
            EventWatcherAsync eventWatcher = new EventWatcherAsync();

            Console.Read();
        }
コード例 #3
0
        public static void Main(string[] args)
        {
            Console.WriteLine("Listening {0}", "__InstanceModificationEvent");
            Console.WriteLine("Press Enter to exit");
            EventWatcherAsync eventWatcher = new EventWatcherAsync();

            Console.Read();
        }
コード例 #4
0
        public static void Main(string[] args)
        {
            Console.WriteLine("Listening {0}", "WmiMonitorBrightnessEvent");
            Console.WriteLine("Press Enter to exit");
            EventWatcherAsync eventWatcher = new EventWatcherAsync();

            Console.Read();
        }