Advertisement
BaSs_HaXoR

iMCSx & Enstone done F****d up

Feb 23rd, 2015
1,097
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.32 KB | None | 0 0
  1. /*#######################################################*/
  2. /*#          Func Pointer (IntPtr): 1751121920          #*/
  3. /*#######################################################*/
  4.  
  5. //Insecure Function:
  6. /*#################YOU#########FUCKED#########UP#########THANKS#########FOR#########THAT#################*/
  7. private readonly string CCAPIHASH = "C2FE9E1C387CF29AAC781482C28ECF86"; //Compares with hash,
  8. string str = key.GetValue("path") as string;
  9.                 if (!string.IsNullOrEmpty(str))
  10.                 {
  11.                     string path = str + @"\CCAPI.dll";
  12.                     if (File.Exists(path))
  13.                     {
  14.                         if (BitConverter.ToString(MD5.Create().ComputeHash(File.ReadAllBytes(path))).Replace("-", "").Equals(this.CCAPIHASH))
  15.                         {
  16.                             if (this.libModule == IntPtr.Zero)
  17.                             {
  18.                             this.libModule = LoadLibrary(path); // Assigns the Func() pointer to libModule
  19.                             }
  20.                             if (this.libModule != IntPtr.Zero)
  21.                     {
  22.             // This is where the Marshal delegate calls to functions in the C++ Lib (CCAPI.dll)
  23.                 }
  24. /*#################YOU#########FUCKED#########UP#########THANKS#########FOR#########THAT#################*/
  25. //BaSs_HaXoR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement