Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*#######################################################*/
- /*# Func Pointer (IntPtr): 1751121920 #*/
- /*#######################################################*/
- //Insecure Function:
- /*#################YOU#########FUCKED#########UP#########THANKS#########FOR#########THAT#################*/
- private readonly string CCAPIHASH = "C2FE9E1C387CF29AAC781482C28ECF86"; //Compares with hash,
- string str = key.GetValue("path") as string;
- if (!string.IsNullOrEmpty(str))
- {
- string path = str + @"\CCAPI.dll";
- if (File.Exists(path))
- {
- if (BitConverter.ToString(MD5.Create().ComputeHash(File.ReadAllBytes(path))).Replace("-", "").Equals(this.CCAPIHASH))
- {
- if (this.libModule == IntPtr.Zero)
- {
- this.libModule = LoadLibrary(path); // Assigns the Func() pointer to libModule
- }
- if (this.libModule != IntPtr.Zero)
- {
- // This is where the Marshal delegate calls to functions in the C++ Lib (CCAPI.dll)
- }
- /*#################YOU#########FUCKED#########UP#########THANKS#########FOR#########THAT#################*/
- //BaSs_HaXoR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement