笔记<c# 调用DLL解密密文>



using DTcms.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Decrypt
{
    class Program
    {
        static void Main(string[] args)
        {
            if (args.Length < 2)
            {
                Console.WriteLine("Des Decrypt : Hash   Key");
                Console.WriteLine("Des Decrypt : 26F6C386350B999D71A5CD07F38705FE 28LH48");
                return;
            }
            
            string password = args[0];
            string key = args[1];

            string de_password = DESEncrypt.Decrypt(password, key);
            Console.WriteLine(de_password);
            return;
        }
    }
}

 

看到论坛有人求助,无奈我也试了试,C#不行。后来看到论坛有人给解决了。就学习了记录一下,方便下次使用。

 

笔记<c# 调用DLL解密密文>

 

下载BIN目录下的DLL,逆向查看加密方式。

 

然后本地新建立C#工程,加入DLL,直接调用函数里的方法就好了。

相关文章:

  • 2021-04-03
  • 2022-01-08
  • 2021-12-02
  • 2021-12-27
  • 2021-12-18
  • 2022-02-09
  • 2022-02-20
  • 2021-12-27
猜你喜欢
  • 2021-12-27
  • 2021-12-27
  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案