经过连续多日的艰苦奋斗,俺终于摸到了门

生成app

  • 首先 创建一个文件夹 app
  • 进入文件夹
  • 把要用到的全部复制进去
  • 接着运行命令 jpackage 生成 app (注意有$符号需要反斜杠)
1
2
3
4
5
6
7
jpackage --name CobaltStrike --input . \
--main-jar CobaltStrike.jar \
--type dmg \
--app-version "4.2" \
--copyright "Xrsec" \
--description "CobaltStrike with JDK and Chinese. Mac zulu-Jdk15 CobaltStrike 4.2" \
--icon app.icns --java-options "-javaagent:\$APPDIR/CobaltStrikeCN.jar -Dfile.encoding=utf-8 -XX:ParallelGCThreads=4 -XX:+AggressiveHeap -XX:+UseParallelGC"

完工

快去搭建自己的 Burp-Suite CobaltStrike 等等

XRSec has the right to modify and interpret this article. If you want to reprint or disseminate this article, you must ensure the integrity of this article, including all contents such as copyright notice. Without the permission of the author, the content of this article shall not be modified or increased or decreased arbitrarily, and it shall not be used for commercial purposes in any way