JForg 破解
破解文件地址:https://pan.baidu.com/s/1DJdTkvJfG-Ut3FbntISneQ?pwd=st2t
破解软件码云地址:软件工具/data/artifactory/artifactory-injector-1.1.jar · 李文超/chenjimblog - Gitee.com
1. 启动容器
docker run --name artifactory --restart always \
-v /data/jfrog/var/:/var -d \
-v /etc/localtime:/etc/localtime \
-p 28081:8081 -p 28082:8082 \
releases-docker.jfrog.io/jfrog/artifactory-pro:7.11.5
cd /data/jfrog/var/
ls artifactory-injector-1.1.jar
破解
# 进去容器
docker exec -it -u root artifactory /bin/bash
cd /opt/jfrog/artifactory/app/third-party/java/bin/
# 破解
./java -jar artifactory-injector-1.1.jar
What do you want to do?
1 - generate License String
2 - inject artifactory
exit - exit
#
2
where is artifactory home? ("back" for back)
/opt/jfrog/artifactory/app/artifactory/tomcat
artifactory detected. continue? (yes/no)
yes
DONE!
# 生成授权License,选择1,记录生成的license,然后exit退出
What do you want to do?
1 - generate License String
2 - inject artifactory
exit - exit
1
eyJhcnRpZmFjdG9yeSI6eyJpZCI6IiIsIm93bmVyIjoicjRwMyIsInZhbGlkRnJvbSI6MTY3NDEwNjkyODI2MCwiZXhwaXJlcyI6NDgyOTc4MDUyODI1MywidHlwZSI6IkVOVEVSUFJJU0VfUExVUyIsInRyaWFsIjpmYWxzZSwicHJvcGVydGllcyI6e319fQ==
-
把 artificatory-injector-1.1.jar放入挂载目录:
/data/jfrog/var/
-
在终端输入
./java -jar artifactory-injector-1.1.jar
,之后会跳出2个选项,分别是: 1-生成密钥字符串; 2-破解 java 在 third-party目录,无法直接输入命令使用 执行java需在/opt/jfrog/artifactory/app/third-party/java/bin
目录下 -
选择“2”现象先进行软件的破解
-
输入软件包的路径,如果不确定位置,根据错误提示的路径,通过find 命令找到 artifactory-pro相关路径
/opt/jfrog/artifactory/app/artifactory/tomcat
-
选择“1”
-
把生成的密钥字符串拷贝出来,直接在UI中使用
2. 页面配置
将生成的license输入进去。
客户端:Get CLI | JFrog