本文主要基于ja-netfilter介绍两种我认为目前最好的破解方式 注意: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添加完后及的升级ja-netfilter插件到最新版:https://github.com/lzskyline/ja-netfilter-backup
方法1:基于power插件(推荐)这个方法十分的简单粗暴并且快捷,激活之后就不需要找再辛苦去找注册码了,所以后续升级也都是没问题的,被zhile大神成为非对称加密的屠龙刀 image.png
image.png
配置方法如下: ~/Library/Application Support/JetBrains/IntelliJIdea2021.3/idea.vmoptions 没有的话可以用下面方法 访达—>应用程序---->找到你要打开的idea 右键
----> 选择显示包内容---->Contents---->MacOS---->idea - Last login: Tue Sep 6 02:21:41 on ttys000
- n2n1.cn@admin ~ % /Applications/GoLand.app/Contents/MacOS/goland ; exit;
- 2022-09-06 02:27:46.370 goland[68412:319507] allVms required 1.8*,1.8+
- 2022-09-06 02:27:46.372 goland[68412:319511] Current Directory: /Users/han
- 2022-09-06 02:27:46.372 goland[68412:319511] parseVMOptions: GOLAND_VM_OPTIONS = (null)
- 2022-09-06 02:27:46.372 goland[68412:319511] fullFileName is: /Applications/GoLand.app/Contents/bin/goland.vmoptions
- 2022-09-06 02:27:46.372 goland[68412:319511] fullFileName exists: /Applications/GoLand.app/Contents/bin/goland.vmoptions
- 2022-09-06 02:27:46.372 goland[68412:319511] parseVMOptions: /Applications/GoLand.app/Contents/bin/goland.vmoptions
- 2022-09-06 02:27:46.372 goland[68412:319511] parseVMOptions: /Applications/GoLand.app.vmoptions
- 2022-09-06 02:27:46.374 goland[68412:319511] parseVMOptions: /Users/han/Library/Application Support/JetBrains/GoLand2022.2/goland.vmoptions
- 2022-09-06 02:27:46.374 goland[68412:319511] parseVMOptions: platform=18 user=-1 file=/Applications/GoLand.app/Contents/bin/goland.vmoptions
- 2022-09-06 02:27:47,615 [ 960] WARN - #c.i.u.n.s.ConfirmingTrustManager - Received an empty list of custom trusted root certificates from the system. Check log above for possible errors, enable debug logging in category 'org.jetbrains.nativecerts' for more information
- 2022-09-06 02:27:48,283 [ 1628] WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Visual Studio" not found PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=/Applications/GoLand.app/Contents/lib, version=222.3739.57, package=com.intellij.feedback, isBundled=true)
- 2022-09-06 02:27:48,288 [ 1633] WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse" not found PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=/Applications/GoLand.app/Contents/lib, version=222.3739.57, package=com.intellij.feedback, isBundled=true)
- 2022-09-06 02:27:48,288 [ 1633] WARN - #c.i.o.a.i.ActionManagerImpl - keymap "NetBeans 6.5" not found PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=/Applications/GoLand.app/Contents/lib, version=222.3739.57, package=com.intellij.feedback, isBundled=true)
- 2022-09-06 02:27:48,289 [ 1634] WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Visual Studio" not found PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=/Applications/GoLand.app/Contents/lib, version=222.3739.57, package=com.intellij.feedback, isBundled=true)
- 2022-09-06 02:27:48,292 [ 1637] WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse (Mac OS X)" not found PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=/Applications/GoLand.app/Contents/lib, version=222.3739.57, package=com.intellij.feedback, isBundled=true)
- 2022-09-06 02:27:48,319 [ 1664] WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Visual Studio" not found PluginDescriptor(name=HTML Tools, id=HtmlTools, descriptorPath=plugin.xml, path=/Applications/GoLand.app/Contents/plugins/htmltools, version=222.3739.57, package=null, isBundled=true)
- 2022-09-06 02:27:48,325 [ 1670] WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse" not found PluginDescriptor(name=GitHub, id=org.jetbrains.plugins.github, descriptorPath=plugin.xml, path=/Applications/GoLand.app/Contents/plugins/github, version=222.3739.57, package=org.jetbrains.plugins.github, isBundled=true)
- 2022-09-06 02:27:48,325 [ 1670] WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse (Mac OS X)" not found PluginDescriptor(name=GitHub, id=org.jetbrains.plugins.github, descriptorPath=plugin.xml, path=/Applications/GoLand.app/Contents/plugins/github, version=222.3739.57, package=org.jetbrains.plugins.github, isBundled=true)
- 2022-09-06 02:27:48,326 [ 1671] WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse (Mac OS X)" not found PluginDescriptor(name=GitHub, id=org.jetbrains.plugins.github, descriptorPath=plugin.xml, path=/Applications/GoLand.app/Contents/plugins/github, version=222.3739.57, package=org.jetbrains.plugins.github, isBundled=true)
- 2022-09-06 02:27:48,329 [ 1674] WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse" not found PluginDescriptor(name=Space, id=com.jetbrains.space, moduleName=intellij.space.vcs, descriptorPath=intellij.space.vcs.xml, path=/Applications/GoLand.app/Contents/plugins/space, version=222.3739.57, package=com.intellij.space.vcs, isBundled=true)
- 2022-09-06 02:27:48,330 [ 1675] WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse (Mac OS X)" not found PluginDescriptor(name=Space, id=com.jetbrains.space, moduleName=intellij.space.vcs, descriptorPath=intellij.space.vcs.xml, path=/Applications/GoLand.app/Contents/plugins/space, version=222.3739.57, package=com.intellij.space.vcs, isBundled=true)
- 2022-09-06 02:27:48,331 [ 1676] WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse (Mac OS X)" not found PluginDescriptor(name=Space, id=com.jetbrains.space, moduleName=intellij.space.vcs, descriptorPath=intellij.space.vcs.xml, path=/Applications/GoLand.app/Contents/plugins/space, version=222.3739.57, package=com.intellij.space.vcs, isBundled=true)
- 2022-09-06 02:27:48,333 [ 1678] WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Eclipse" not found PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, descriptorPath=plugin.xml, path=/Applications/GoLand.app/Contents/plugins/JavaScriptLanguage, version=222.3739.57, package=null, isBundled=true)
- 2022-09-06 02:27:48,333 [ 1678] WARN - #c.i.o.a.i.ActionManagerImpl - keymap "Visual Studio" not found PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, descriptorPath=plugin.xml, path=/Applications/GoLand.app/Contents/plugins/JavaScriptLanguage, version=222.3739.57, package=null, isBundled=true)
- objc[68412]: Class CustomMenuItemView is implemented in both /Applications/GoLand.app/Contents/jbr/Contents/Home/lib/libawt_lwawt.dylib (0x159e71e58) and /Applications/GoLand.app/Contents/bin/libmacscreenmenu64.dylib (0x15c379620). One of the two will be used. Which one is undefined.
- 2022-09-06 02:27:50,459 [ 3804] WARN - #c.i.o.a.i.ActionUpdater - 792 ms to grab EDT for #update@WelcomeScreen (LargeIconWithTextWrapper/com.intellij.openapi.wm.impl.welcomeScreen.ActionGroupPanelWrapper$6)
复制代码 来显示vmpotions 的位置 我的是 /Applications/GoLand.app/Contents/bin/goland.vmoptions
-javaagent:/你解压后的ja-netfilter.jar文件路径 配置完成后就可以准备激活IDEA了。这里有两种从激活方式,一种是用注册码,另一种是使用服务器激活,鉴于评论区很多小伙伴说服务器因为网络问题不太稳定,建议大家优先用注册码方式。
注册码激活:插件仓库已经更新了,之前就下载过的需要重新拉下代码,不然会激活失败。 这种方法的优点是不用担心网络问题导致的激活失败。缺点是各产品注册码不通用,得去找挨个找。
打开IDEA后直接去下面的网站找对应产品的注册码即可: https://jetbra.in/s
服务器激活这种方法的优点是用这个方式能永久激活所有JetBrain家产品,不用挨个找激活码了。缺点是评论区部分网友遇到的网络问题,不过我目前还没遇到所以依然一直在用这种方式
至此激活就完成了,没有过期时间 没有版本限制
方法2:基于拦截器 & mymap插件这个方案就是作者github直接提到的那个方案,大家只需要找一个可用的激活码完成初次激活,进入IDEA之后再用拦截器屏蔽掉程序用来验证的URL地址即可 由于网上公开的注册码很容易被封杀或过期,所以还需要配合一个叫做mymap的插件来修改一下返回的数据包,使原本过期的激活码能够继续使用 具体URL和DNS的拦截器这里就不赘述了,大家可以去官方仓库看教程:https://github.com/ja-netfilter/plugin-powermymap插件官方没有内置,可以在这里下载:https://github.com/zfkun/ja-netfilter-mymap-plugin配置文件可以这么写(第一行是显示的名字,第二行是宽限天数,第三行是过期时间 不建议改太大,容易引起报错): [MyMap]EQUAL,licenseeName->LzSkylineEQUAL,gracePeriodDays->30EQUAL,paidUpTo->2023-12-31这种方式相对第一个需要改动的配置更多,而且需要自己找一个仅过期但未被封禁的激活码,这里提供一个: R7FP0YWA38-eyJsaWNlbnNlSWQiOiJSN0ZQMFlXQTM4IiwibGljZW5zZWVOYW1lIjoi5rC45LmF5r+A5rS7IHd3d8K3YWppaHVvwrdjb20iLCJhc3NpZ25lZU5hbWUiOiIiLCJhc3NpZ25lZUVtYWlsIjoiIiwibGljZW5zZVJlc3RyaWN0aW9uIjoiIiwiY2hlY2tDb25jdXJyZW50VXNlIjpmYWxzZSwicHJvZHVjdHMiOlt7ImNvZGUiOiJEUE4iLCJwYWlkVXBUbyI6IjIwMjItMDEtMDkiLCJleHRlbmRlZCI6ZmFsc2V9LHsiY29kZSI6IkRCIiwicGFpZFVwVG8iOiIyMDIyLTAxLTA5IiwiZXh0ZW5kZWQiOmZhbHNlfSx7ImNvZGUiOiJQUyIsInBhaWRVcFRvIjoiMjAyMi0wMS0wOSIsImV4dGVuZGVkIjpmYWxzZX0seyJjb2RlIjoiSUkiLCJwYWlkVXBUbyI6IjIwMjItMDEtMDkiLCJleHRlbmRlZCI6ZmFsc2V9LHsiY29kZSI6IlJTQyIsInBhaWRVcFRvIjoiMjAyMi0wMS0wOSIsImV4dGVuZGVkIjp0cnVlfSx7ImNvZGUiOiJHTyIsInBhaWRVcFRvIjoiMjAyMi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hvcNAQELBQADggIBAB2J1ysRudbkqmkUFK8xqhiZaYPd30TlmCmSAaGJ0eBpvkVeqA2jGYhAQRqFiAlFC63JKvWvRZO1iRuWCEfUMkdqQ9VQPXziE/BlsOIgrL6RlJfuFcEZ8TK3syIfIGQZNCxYhLLUuet2HE6LJYPQ5c0jH4kDooRpcVZ4rBxNwddpctUO2te9UU5/FjhioZQsPvd92qOTsV+8Cyl2fvNhNKD1Uu9ff5AkVIQn4JU23ozdB/R5oUlebwaTE6WZNBs+TA/qPj+5/wi9NH71WRB0hqUoLI2AKKyiPw++FtN4Su1vsdDlrAzDj9ILjpjJKA1ImuVcG329/WTYIKysZ1CWK3zATg9BeCUPAV1pQy8ToXOq+RSYen6winZ2OO93eyHv2Iw5kbn1dqfBw1BuTE29V2FJKicJSu8iEOpfoafwJISXmz1wnnWL3V/0NxTulfWsXugOoLfv0ZIBP1xH9kmf22jjQ2JiHhQZP7ZDsreRrOeIQ/c4yR8IQvMLfC0WKQqrHu5ZzXTH4NO3CwGWSlTY74kE91zXB5mwWAx1jig+UXYc2w4RkVhy0//lOmVya/PEepuuTTI4+UJwC7qbVlh5zfhj8oTNUXgN0AOc+Q0/WFPl1aw5VV/VrO8FCoB15lFVlpKaQ1Yh+DVU8ke+rt9Th0BCHXe0uZOEmH0nOnH/0onD因此也导致了一个问题:部分收费插件在网上找不到公开的可用激活码,这些插件就无法使用,所以还是建议用第一种
|