Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitlab ee 许可证破解 Gitlab Enterprise Edition License Crack | 朱晓峰 #7

Open
shafferjohn opened this issue Sep 24, 2020 · 34 comments

Comments

@shafferjohn
Copy link
Owner

https://shaffer.cn/qingyou/gitlab-ee-license-crack/

version: 12.2.5-ee 搞定,挺简单的。

@SongOfYouth
Copy link

13.0貌似不行,license上传不了

@shafferjohn
Copy link
Owner Author

@wangrd
13.0貌似不行,license上传不了

据我破解的情况来看,gitlab的license认证方式没有改变,目前工作室内部已升级至13.3.2-ee

@SongOfYouth
Copy link

SongOfYouth commented Nov 23, 2020 via email

@SongOfYouth
Copy link

SongOfYouth commented Nov 23, 2020 via email

@ccko
Copy link

ccko commented Jun 27, 2021

gitlab-ee:14.0.0-ee 上传license 就502 error ,分享一下怎麽做吧?? 谢谢

@No6-start
Copy link

你好,能否分享一下你们的破解方式,gitlab-11.11.0-ee,有偿。

@shafferjohn
Copy link
Owner Author

已更新至14.0.5-ee

@shafferjohn
Copy link
Owner Author

@No6-start
你好,能否分享一下你们的破解方式,gitlab-11.11.0-ee,有偿。

您好,我已更新至14.0.5-ee,一切正常,可以查看最新的几篇博文

@shafferjohn
Copy link
Owner Author

@ccko
gitlab-ee:14.0.0-ee 上传license 就502 error ,分享一下怎麽做吧?? 谢谢

您好,我已更新至14.0.5-ee,一切正常,可以查看最新的几篇博文

@shafferjohn
Copy link
Owner Author

@wangrd
如果可以的话,能否分享下你们破解的详情

您好,我已更新至14.0.5-ee,一切正常,可以查看最新的几篇博文

@reddare
Copy link

reddare commented Aug 11, 2021

Hi. Is there no information in the post or is it not visible? Tell me where to get the license file, thanks.

@SongOfYouth
Copy link

SongOfYouth commented Aug 12, 2021 via email

@EricJoy2048
Copy link

@wangrd
如果可以的话,能否分享下你们破解的详情

您好,我已更新至14.0.5-ee,一切正常,可以查看最新的几篇博文

您好,我按你文档中的步骤,最后校验报错:
The license key is invalid. Make sure it is exactly as you received it from GitLab Inc.

@EricJoy2048
Copy link

You can see https://conf.top/post/506/

------------------ 原始邮件 ------------------ 发件人: "shafferjohn/shafferjohn.github.io" @.>; 发送时间: 2021年8月11日(星期三) 晚上6:28 @.>; @.@.>; 主题: Re: [shafferjohn/shafferjohn.github.io] Gitlab ee 许可证破解 Gitlab Enterprise Edition License Crack | 朱晓峰 (#7) Hi. Is there no information in the post or is it not visible? Tell me where to get the license file, thanks. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

我的是14.0.5版本,我试了这个方法,生成的license在上传时报错了。

@ytianxia6
Copy link

helm 安装的,找不到 .license_encryption_key.pub

@Kerwin1202
Copy link

Kerwin1202 commented Jan 25, 2022

谨慎升到 14.x 最新 14.7 结果没有 license 入口了 改为了订阅模式 需要在线联网.(我只看到了这个

参考 @Relers #7 (comment)

@shafferjohn
Copy link
Owner Author

谨慎升到 14.x 最新 14.7 结果没有 license 入口了 改为了订阅模式 需要在线联网.(我只看到了这个

@Kerwin1202 感谢提醒!顺便附上相关链接:

How cloud licensing works

@leros1337
Copy link

leros1337 commented Feb 15, 2022

# The date admins will be notified about the license's pending expiration.
# Required since v14.7
license.notify_admins_at  = Date.new(2025, 4, 19)

# The date regular users will be notified about the license's pending expiration.
# Required since v14.7
license.notify_users_at   = Date.new(2025, 4, 23)

# The date "changes" like code pushes, issue or merge request creation
# or modification and project creation will be blocked.
# Required since v14.7
license.block_changes_at  = Date.new(2025, 5, 7)

2.1 Since 14.7 version Subscription page do not show 'Upload License', so enter url https://your_gitlab_host.com/admin/license/new manually to get there and paste GitLabBV.gitlab-license

FYI china brothers.

upd.28.02
due to critical CVE-2022-0735, updated to 14.8.2-ee, working normally and license active
upd.24.05
gitlab-ee:15.0.0-ee.0 activating fine
upd.24.06
gitlab-ee:15.1.0-ee activating fine

15.5.4-ee ok
15.10.2-ee ok

@NyashMyash99
Copy link

@Relers so, in 15.0.1 they removed path admin/license/new, is there any way to activate license?

@Halry
Copy link

Halry commented Jun 3, 2022

@Relers so, in 15.0.1 they removed path admin/license/new, is there any way to activate license?

Refer your installation at http://xxxxx/help/user/admin_area/license_file.md

@leros1337
Copy link

@Relers so, in 15.0.1 they removed path admin/license/new, is there any way to activate license?

Admin > settings > general > scroll down to buttom > add license
or
mount license file to container and edit gitlab.rb:
gitlab_rails['initial_license_file'] = "/path/to/license/file"
more reading @Halry url docs

@andyzheung
Copy link

怎么破解?没找到呀?

@kislyakovma
Copy link

much thanks from Russia, brother

@elielam
Copy link

elielam commented Jul 14, 2022

@ytianxia6

I finally found a way to do it with Gitlab Charts on helm.

Follow the license crack procedure until you get the license_key.pub and the license file.

On your node you need to edit the following deployments :

  • gitlab-sidekiq-all-in-1-v2
  • gitlab-toolbox
  • gitlab-webservice-default

Add in each a hostPath volume with your license_key.pub (on your node) to /srv/gitlab/.license_encryption_key.pub (on the pod)

After each deployment restart just add your license in gitlab.

(You can do the same process with /srv/gitlab/ee/app/models/license.rb (on pods) for the license level (STARTER,ULTIMATE...)

If someone find an automatic way to do it (scripts ? helm template override ?) feel free to share it 😄

Sry for my bad english !

@leros1337
Copy link

@elielam Isnt easier just write 2 line dockerfile, just COPY key and create new image and afterwards use it in chart? Upgrading gitlab not so often event, so you must do it every time if you want new version

@elielam
Copy link

elielam commented Jul 14, 2022

Yes it make sense 🤔

@maple-j
Copy link

maple-j commented Jul 21, 2022

怎么破解?没找到呀?

最新版本依然有效!
管理员->设置->拉到最底下->添加许可证
image

@lutartur
Copy link

lutartur commented Nov 25, 2022

@ytianxia6 @elielam For cloud native gitlab-ee you can use secret and mount in helm chart like this:

spec:
  values:
    gitlab:
      webservice:
        extraVolumes: |
          - name: gitlab-license
            projected:
              sources:
              - secret:
                  name: gitlab-license
                  items:
                    - key: .license_encryption_key.pub
                      path: .license_encryption_key.pub
        extraVolumeMounts: |
          - name: gitlab-license
            mountPath: /srv/gitlab/.license_encryption_key.pub
            subPath: .license_encryption_key.pub

@canthienlinh
Copy link

when upgrade, the license gone and need to redo everything, have any ideas for keep license alive ?

@joh-zhang
Copy link

@ytianxia6

I finally found a way to do it with Gitlab Charts on helm.

Follow the license crack procedure until you get the license_key.pub and the license file.

On your node you need to edit the following deployments :

  • gitlab-sidekiq-all-in-1-v2
  • gitlab-toolbox
  • gitlab-webservice-default

Add in each a hostPath volume with your license_key.pub (on your node) to /srv/gitlab/.license_encryption_key.pub (on the pod)

After each deployment restart just add your license in gitlab.

(You can do the same process with /srv/gitlab/ee/app/models/license.rb (on pods) for the license level (STARTER,ULTIMATE...)

If someone find an automatic way to do it (scripts ? helm template override ?) feel free to share it 😄

Sry for my bad english !

I also use helm gitlab charts, but the users in the container are git, and they do not have permission to execute gem install gitlab-license and other cracked shell commands, can I ask you how to solve it?

@helloyan
Copy link

helloyan commented Jul 6, 2023

can't find /opt/gitlab/embedded/service/gitlab-rails/ee/app/models/license.rb in version 16.1

@leros1337
Copy link

can't find /opt/gitlab/embedded/service/gitlab-rails/ee/app/models/license.rb in version 16.1
copy-paste from docker-compose.yml, my version is 16.1
volumes:
- '/opt/gitlab/config:/etc/gitlab'
- '/opt/gitlab/logs:/var/log/gitlab'
- '/opt/gitlab/data:/var/opt/gitlab'
- '/opt/ssl/:/etc/gitlab/ssl/'
- '/opt/gitlab/license_key2.pub:/opt/gitlab/embedded/service/gitlab-rails/.license_encryption_key.pub'

@doradadora
Copy link

How to download keygen?

@softboy99
Copy link

这个是starter版吧?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests