zoukankan      html  css  js  c++  java
  • 破解EFCore扩展Dll --- Z.EntityFramework.Extensions.EFCore

    安装 Z.EntityFramework.Extensions.EFCore

    Install-Package Z.EntityFramework.Extensions.EFCore -Version 2.6.11

    可以打开VS开发工具用nuget安装

    使用de4dot 先格式化代码

    1. 找到 Z.EntityFramework.Extensions.EFCore 的Nuget包地址(右键属性可以查看),我的在 C:UsersAdministrator.nugetpackagesz.entityframework.extensions.efcore2.6.11lib etstandard2.0 
    2. 下载de4dot:https://github.com/0xd4d/de4dot  (文件脱壳)
      windows下载地址:https://ci.appveyor.com/project/0xd4d/de4dot/branch/master/artifacts
      下载:de4dot-net35
    3. 解压后将 Z.EntityFramework.Extensions.EFCore.dll 拷贝到 de4dot-net35 解压目录,然后执行cmd命令
      de4dot.exe Z.EntityFramework.Extensions.EFCore.dll

      它会在当前dll位置在生成一个 Z.EntityFramework.Extensions.EFCore-cleaned.dll 也就是格式化之后的dll

      C:UsersAdministratorDesktopde4dot-net35>de4dot.exe Z.EntityFramework.Extensions.EFCore.dll
      
      de4dot v3.1.41592.3405 Copyright (C) 2011-2015 de4dot@gmail.com
      Latest version and source code: https://github.com/0xd4d/de4dot
      
      Detected Unknown Obfuscator (C:UsersAdministratorDesktopde4dot-net35.EntityFramework.Extensions.EFCore.dll)
      Cleaning C:UsersAdministratorDesktopde4dot-net35.EntityFramework.Extensions.EFCore.dll
      Renaming all obfuscated symbols
      Saving C:UsersAdministratorDesktopde4dot-net35.EntityFramework.Extensions.EFCore-cleaned.dll
      View Code

    使用dnSpy修改程序集

    1. 下载dnSpy:https://github.com/0xd4d/dnSpy/releases 
      下载:dnSpy-netcore-win64.zip 
    2. 运行 dnSpy.exe ,并打开 Z.EntityFramework.Extensions.EFCore-cleaned.dll 
    3. 按 Ctrl+Shift+K 查找 ValidateLicense 

      选择第一个 ValidateLicense 双击,然后点击内部的  LicenseManager.ValidateLicense ,然后继续点击内部的  LicenseManager.ValidateLicense 

      然后点击 Class278.smethod_10 

      然后点击  Class278.smethod_11 

      然后点击 Class278.smethod_7 

      最终找到时间判断

    4. 修改方法

    5. 保存

    6. 重命名,然后项目直接添加引用即可
  • 相关阅读:
    浅议tomcat与classloader
    业务系统的JVM启动参数推荐
    Nginx负载趟过的坑
    linux 建立反向shell
    rpm -e 包名 卸载安装的二进制包
    源码安装natcat
    取消密码登录
    ssh-copy-id 安全地复制公钥到远程服务器上
    iptables允许一个ip访问本机的某个端口
    zookeeper 安装 配置集群
  • 原文地址:https://www.cnblogs.com/wyt007/p/11295704.html
Copyright © 2011-2022 走看看