Hack Forums
[C#] Ini File Request - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C#] Ini File Request (/showthread.php?tid=6097727)



Ini File Request - SIM-4785719 - Jul 25, 2020

Looking for someone who can help me bypass the licensing in this C# project. Project files are in the link below.

mediafire com/file/qjxi6e678fzve15/KeeResize.zip/file

I have been trying to figure it out for a while but I'm not a programmer. Any help would be appreciated.


RE: Ini File Request - gigajew - Jul 26, 2020

Change this boolean

Code
public static bool Registered
    {
      get
      {
        return KeeResizeLibInfo.m_bReg;
      }
    }

to

Code
public static bool Registered
    {
      get
      {
        return true;
      }
    }



RE: Ini File Request - 【BADMAN】 - Jul 26, 2020

Maybe
Code
private static bool m_bReg = false;
to
Code
private static bool m_bReg = true;
will also work.


RE: Ini File Request - SIM-4785719 - Jul 27, 2020

(Jul 25, 2020 10:45 PM)vogex Wrote:  Looking for someone who can help me bypass the licensing in this C# project. Project files are in the link below.

mediafire com/file/qjxi6e678fzve15/KeeResize.zip/file

I have been trying to figure it out for a while but I'm not a programmer. Any help would be appreciated.



RE: Ini File Request - gigajew - Jul 27, 2020

You won't be able to generate a valid hash/signature unless you obtain the issuers private key (all that is in this code is the public key). It is however possible to modify the code in many different ways to circumvent the cryptographic data validation.

Here's a modified KeeResizeLib.dll that returns true regardless https://www.mediafire.com/file/xl0w9ozq96sctli/KeeResizeLib.zip/file

Note: This was an edited post.


RE: Ini File Request - SIM-4785719 - Jul 27, 2020

(Jul 27, 2020 06:05 PM)gigajew Wrote:  You won't be able to generate a valid hash/signature unless you obtain the issuers private key (all that is in this code is the public key). It is however possible to modify the code in many different ways to circumvent the cryptographic data validation.

Note: This was an edited post.



RE: Ini File Request - gigajew - Jul 27, 2020

(Jul 27, 2020 06:38 PM)vogex Wrote:  This is the key I was given:

This is useless without the username and/or email which is all part of the signed data. I even went ahead and repacked it into a KeePass plugin file for you. https://www.mediafire.com/file/4iop3t36cqqk13g/KeeResize-1.12-repack.zip/file

This was a simple method patch with dnspy honestly, sometimes you just have to go about things with a different perspective.