写在前面

感谢zhile大神及其开发的ja-netfilter项目,本文主要基于ja-netfilter介绍两种我认为目前最好的破解方式

image.png

注意:Jetbrain全家桶在2022.2版本默认启用Java17,所以用的时候需要在vmoptions里额外增加下面两行参数,不然插件没法生效。

--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED
--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED

参考:https://zhile.io/2022/07/27/ja-netfilter-for-java17.html#more-278

添加完后及的升级ja-netfilter插件到最新版:https://github.com/lzskyline/ja-netfilter-backup

方法1:基于power插件(推荐)

这个方法十分的简单粗暴并且快捷,激活之后就不需要找再辛苦去找注册码了,所以后续升级也都是没问题的,被zhile大神成为非对称加密的屠龙刀

image.png

image.png

配置方法如下:

~/Library/Application Support/JetBrains/IntelliJIdea2021.3/idea.vmoptions

  • 在vmoptions文件尾增加一行

-javaagent:/你解压后的ja-netfilter.jar文件路径

image.png

配置完成后就可以准备激活IDEA了。这里有两种从激活方式,一种是用注册码,另一种是使用服务器激活,鉴于评论区很多小伙伴说服务器因为网络问题不太稳定,建议大家优先用注册码方式。

注册码激活:

插件仓库已经更新了,之前就下载过的需要重新拉下代码,不然会激活失败。

这种方法的优点是不用担心网络问题导致的激活失败。缺点是各产品注册码不通用,得去找挨个找。

打开IDEA后直接去下面的网站找对应产品的注册码即可:

https://jetbra.in/s

image.png

服务器激活

这种方法的优点是用这个方式能永久激活所有JetBrain家产品,不用挨个找激活码了。缺点是评论区部分网友遇到的网络问题,不过我目前还没遇到所以依然一直在用这种方式

打开IDEA,选服务器激活,地址输入https://jetbra.in,点击激活即可

image.png

至此激活就完成了,没有过期时间 没有版本限制

方法2:基于拦截器 & mymap插件

这个方案就是作者github直接提到的那个方案,大家只需要找一个可用的激活码完成初次激活,进入IDEA之后再用拦截器屏蔽掉程序用来验证的URL地址即可

由于网上公开的注册码很容易被封杀或过期,所以还需要配合一个叫做mymap的插件来修改一下返回的数据包,使原本过期的激活码能够继续使用

具体URL和DNS的拦截器这里就不赘述了,大家可以去官方仓库看教程:https://github.com/ja-netfilter/plugin-power

mymap插件官方没有内置,可以在这里下载:https://github.com/zfkun/ja-netfilter-mymap-plugin

配置文件可以这么写(第一行是显示的名字,第二行是宽限天数,第三行是过期时间 不建议改太大,容易引起报错):

[MyMap]
EQUAL,licenseeName->LzSkyline
EQUAL,gracePeriodDays->30
EQUAL,paidUpTo->2023-12-31

这种方式相对第一个需要改动的配置更多,而且需要自己找一个仅过期但未被封禁的激活码,这里提供一个:

R7FP0YWA38-eyJsaWNlbnNlSWQiOiJSN0ZQMFlXQTM4IiwibGljZW5zZWVOYW1lIjoi5rC45LmF5r+A5rS7IHd3d8K3YWppaHVvwrdjb20iLCJhc3NpZ25lZU5hbWUiOiIiLCJhc3NpZ25lZUVtYWlsIjoiIiwibGljZW5zZVJlc3RyaWN0aW9uIjoiIiwiY2hlY2tDb25jdXJyZW50VXNlIjpmYWxzZSwicHJvZHVjdHMiOlt7ImNvZGUiOiJEUE4iLCJwYWlkVXBUbyI6IjIwMjItMDEtMDkiLCJleHRlbmRlZCI6ZmFsc2V9LHsiY29kZSI6IkRCIiwicGFpZFVwVG8iOiIyMDIyLTAxLTA5IiwiZXh0ZW5kZWQiOmZhbHNlfSx7ImNvZGUiOiJQUyIsInBhaWRVcFRvIjoiMjAyMi0wMS0wOSIsImV4dGVuZGVkIjpmYWxzZX0seyJjb2RlIjoiSUkiLCJwYWlkVXBUbyI6IjIwMjItMDEtMDkiLCJleHRlbmRlZCI6ZmFsc2V9LHsiY29kZSI6IlJTQyIsInBhaWRVcFRvIjoiMjAyMi0wMS0wOSIsImV4dGVuZGVkIjp0cnVlfSx7ImNvZGUiOiJHTyIsInBhaWRVcFRvIjoiMjAyMi0wMS0wOSIsImV4dGVuZGVkIjpmYWxzZX0seyJjb2RlIjoiRE0iLCJwYWlkVXBUbyI6IjIwMjItMDEtMDkiLCJleHRlbmRlZCI6ZmFsc2V9LHsiY29kZSI6IlJTRiIsInBhaWRVc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K3syIfIGQZNCxYhLLUuet2HE6LJYPQ5c0jH4kDooRpcVZ4rBxNwddpctUO2te9UU5/FjhioZQsPvd92qOTsV+8Cyl2fvNhNKD1Uu9ff5AkVIQn4JU23ozdB/R5oUlebwaTE6WZNBs+TA/qPj+5/wi9NH71WRB0hqUoLI2AKKyiPw++FtN4Su1vsdDlrAzDj9ILjpjJKA1ImuVcG329/WTYIKysZ1CWK3zATg9BeCUPAV1pQy8ToXOq+RSYen6winZ2OO93eyHv2Iw5kbn1dqfBw1BuTE29V2FJKicJSu8iEOpfoafwJISXmz1wnnWL3V/0NxTulfWsXugOoLfv0ZIBP1xH9kmf22jjQ2JiHhQZP7ZDsreRrOeIQ/c4yR8IQvMLfC0WKQqrHu5ZzXTH4NO3CwGWSlTY74kE91zXB5mwWAx1jig+UXYc2w4RkVhy0//lOmVya/PEepuuTTI4+UJwC7qbVlh5zfhj8oTNUXgN0AOc+Q0/WFPl1aw5VV/VrO8FCoB15lFVlpKaQ1Yh+DVU8ke+rt9Th0BCHXe0uZOEmH0nOnH/0onD

因此也导致了一个问题:部分收费插件在网上找不到公开的可用激活码,这些插件就无法使用,所以还是建议用第一种

最后修改:2022 年 08 月 31 日
如果觉得我的文章对你有用,请随意赞赏