针对 jetbrains 公司的全家桶安装软件,基本都可以按照下面的方式进行安装破解。
我在windows上测试大部分jetbrains软件,都破解成功。我们以pycharm安装为例,你们可以看完测试下phpstorm
0x01 安装pycharm
1.下载 pycharm
pycharm官网下载链接:https://www.jetbrains.com/pycharm/
请注意下载系统对应的professional版本
2.解压
第一种:
在你下载的文件夹解压pycharm压缩包,解压命令:
tar -xzvf pycharm-professional-2018.2.tar.gz
出现解压后的目录:pycharm-2018.2
第二种:
为了以后的文件管理方便,将解压后的目录移动到 opt 临时目录:
mv pycharm-2018.2 /opt
3.进入解压后的pycharm目录中的bin目录
cd pyaharm-2018.2
4.在bin目录下执行pycharm.sh文件
./pycharm.sh
PS:由于下面破解的步骤要破解补丁,需要java环境。由于kali linux 系统已经棒我们安装java,
需要查看自己系统是否安装java环境,输入下面命令:
java --version
有输出内容:
openjdk 10.0.2 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Debian-1)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Debian-1, mixed mode)
0x02 破解pycharm
1.破解补丁链接:
https://pan.baidu.com/s/1nEFgp3_9wpVzw0oabGhwmA
2.破解补丁下载
将下载的破解补丁包放至在pycharm安装bin目录下
比如我的pycharm的bin目录为:/home/lq6h/pycharm-2018.2/bin
3.在bin目录下找到pycharm.vmoptions和pycharm64.vmoptions并打开,在两个文件的最后都加上下面代码:
-javaagent:/home/lq6h/pycharm-2018.2/bin/JetbrainsCrack-2.8-release-enc.jar
此代码分为两个部分:
第一部分:/home/lq6h/pycharm-2018.2/bin ,pycharm的bin目录
第二部分:JetbrainsCrack-2.8-release-enc.jar ,破解补丁
修改完成后文件类似:
-server
-Xms128m
-Xmx512m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Dawt.useSystemAAFontSettings=lcd
-Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine
-javaagent:/home/lq6h/pycharm-2018.2/bin/JetbrainsCrack-2.8-release-enc.jar
-Xms128m
-Xmx750m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Dawt.useSystemAAFontSettings=lcd
-Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine
-javaagent:/home/lq6h/pycharm-2018.2/bin/JetbrainsCrack-2.8-release-enc.jar
4.执行bin目录下的pycharm.sh文件并完成激活
./pycharm.sh
5.出现激活页面,然后在Acrivation code中选择界面的时候,写入下面注册代码即可完成激活完成(有效期到2099,足够用到你的程序生涯末端)
ThisCrackLicenseId-{ "licenseId":"ThisCrackLicenseId", "licenseeName":"idea", "assigneeName":"", "assigneeEmail":"idea@163.com", "licenseRestriction":"For This Crack, Only Test! Please support genuine!!!", "checkConcurrentUse":false, "products":[ {"code":"II","paidUpTo":"2099-12-31"}, {"code":"DM","paidUpTo":"2099-12-31"}, {"code":"AC","paidUpTo":"2099-12-31"}, {"code":"RS0","paidUpTo":"2099-12-31"}, {"code":"WS","paidUpTo":"2099-12-31"}, {"code":"DPN","paidUpTo":"2099-12-31"}, {"code":"RC","paidUpTo":"2099-12-31"}, {"code":"PS","paidUpTo":"2099-12-31"}, {"code":"DC","paidUpTo":"2099-12-31"}, {"code":"RM","paidUpTo":"2099-12-31"}, {"code":"CL","paidUpTo":"2099-12-31"}, {"code":"PC","paidUpTo":"2099-12-31"} ], "hash":"2911276/0", "gracePeriodDays":7, "autoProlongated":false}
写入后,直接点击Active即可激活
PS:如果你在破解之前以及打开pycharm,你可以在打开后Help菜单下的Register进行上面类似操作
0x03 添加快捷启动方式
不像windows系统下载之后有个.exe文件直接点击运行,linux下载运行是.sh文件。要想生成快捷方式,需要自己配置
1.生成应用桌面文件
vim /usr/share/applications/pycharm.desktop
2.在此文件中添加如下内容
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Pycharm
GenericName=Pycharm3
Comment=Pycharm3:The Python IDE
Exec=sh /home/lq6h/pycharm-2018.2/bin/pycharm.sh
Icon=/home/lq6h/pycharm-2018.2/bin/pycharm.png
Terminal=false
Categories=Development
两个主要配置:
第一个:sh /home/lq6h/pycharm-2018.2/bin/pycharm.sh,指明快捷方式运行的.sh文件
第二个:/home/lq6h/pycharm-2018.2/bin/pycharm.png,指明快捷方式图标