Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Threading;
- using System.IO;
- namespace CCDetect
- {
- class Program
- {
- // Ajoutez vos string de cheat ici, ou alors vous pouvez les crypter en premier.
- private static readonly List<string> strings = new List<string>
- {
- "string1",
- "string2",
- "string3",
- };
- static void Main(string[] args)
- {
- Console.Title = "[!] CCDetector [!]";
- Console.WriteLine("Welcome on CCDetector !");
- Thread.Sleep(900);
- Console.WriteLine("This app has been created by Prometheo :)");
- Thread.Sleep(1000);
- Console.Clear();
- Console.WriteLine("Please put the game scan into the same folder as CCDetector and name it 'strings.txt'");
- Thread.Sleep(10000);
- Console.Clear();
- Console.WriteLine("Press any key to start scan...");
- Console.ReadKey();
- string mainpath = Directory.GetCurrentDirectory(); ;
- string path = mainpath + @"\strings.txt";
- List<string> StringsToScan = File.ReadAllLines(path).ToList();
- if (!File.Exists(path))
- {
- Console.Clear();
- Console.WriteLine("Error ! File doesn't exists [!]");
- Thread.Sleep(3000);
- Environment.Exit(0);
- }
- else
- {
- scan();
- }
- void scan()
- {
- for (int i = 0; i < strings.Count; i++)
- {
- string str = strings[i];
- }
- if (StringsToScan.Contains(strings.ToString()))
- {
- Console.Clear();
- Console.WriteLine("Cheat Found !");
- Console.ReadLine();
- }
- else
- {
- Console.Clear();
- Console.WriteLine("Nothing Found !");
- Console.ReadLine();
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement