!本文仅供学习交流使用
Prepare
seafile-pro-server_7.1.5_x86-64*.tar.gz IDA pro 7.0 text editor
Modify
with text editor
//edit /seahub/seahub/utils/licenseparse.py
max_users = int(license_dict.get('MaxUsers', 23333))
with IDA pro
load file /seafile/bin/ccnet-server
Search text by license
and locate the function similar to the first image. There are three assignment statement need to be change which has been hightlight. Modify hex as the second image does.
load file /seafile/bin/seaf-server
Search text by license
and locate the function similar to the first image. There are a judge sentences need to be change which has been hightlight. Modify hex as the second image does.
load file /seafile/bin/seafile-controller
Search text by license
and locate the function similar to the image and modify hex as the image does.