-
Notifications
You must be signed in to change notification settings - Fork 93
Announcement #4
Comments
So easier decision to migrate to another (free!) solution ;-) |
If you have one that has better performances than Collabora or LibreOffice online, I would gladly take suggestions :) |
In this case you're right, there is no "free" solution with performance like OnlyOffice. |
Okay thanks anyway! So I had a look at the new OO build, and they removed the public key from docservice. If someone is motivated to reverse engineer it with me, just PM me on Twitter @Zegorax and we can look trough it together |
This tag still works: |
Yes this tag works, but it is sad not to have updates. That's why I'm trying to reverse engineer it again. I just don't have the time right now |
Just wanting to say thanks for your work and to motivate you. What they did is a fully ass-hat move, removing features retroactively and saying either pay or live with a old version. Totally inacceptable. I'd be glad if you were able to show them once again that this is not how open source works. |
@D3nnis3n Thank you. However it is not working now because they have removed their public key from inside the container. To this day I still don't know how they are doing it, but I will figure it out over time. Please contact me or make a PR if anyone finds a way. |
Well, it works for 5.5.0, which is one version more than i had until now :)
|
Can you try with the tag "latest" ? Normally it should not work |
Latest is not working, but the 5.5.0 tag is working.
|
Dear @Zegorax I need to talk to you. Could you contact me by email, please? |
@VictorJosso I've sent you an email. |
@kevdogg Yes. |
I have built a docker container of |
@warnerbryce Thanks for your efforts ! However I have no way to contact you |
@Zegorax i am the author of this topic |
I'm using |
@uchagani the script don’t work for me. |
Hello, Could you please advise regarding the license activation issue and the best process to setup Onlyoffice now. Should one start with version 5.5 or can use latest version (6.1.1 for DocumentServer)? Thanks for providing some indication. |
Could you please describe a little bit the process to setup? Does this docker needs to be pull out and install after having setup the official enterprise docker? |
@jmlgo Many thanks, that's absolutely gorgeous. |
@adam314315 Simply use this image:
|
@kikislater @adam314315 |
This @aleho image really works. |
So i can say that you not right. After some debug of docserver and converter i found that public key which used to check signature still inside project but it is encrypted and decrypt during runtime from some kind of json struct. I dont have a lot of knowledge about how node.js internals works and basically not exist even internet reversing pratice of nodejs vm but if somebody tell what toolset was used to make binary from js i ll be happy. In current moment i did a patch of license check but i think that my patch is not so nice and will be not usable for average person (pure assembler opcodes in specific places). I also can say that all this docker license projects like https://github.com/aleho/onlyoffice-ce-docker-license is absolutely not same as enterprise edition. They partially have different code base. |
@jpVm5jYYRE1VIKL Thank you for your findings! Can you tell me which file is doing the decryption process ? |
@Zegorax it is decrypted by converter and docservice binaries. And hardcoded there. I not found yet exact place . But i know that in heap PUBLIC key appear after execution methods : in moment of runtime heap segment look like following :
|
@jpVm5jYYRE1VIKL Okay, that means that everything is still executed locally. It confirms my suspicions since I didn't see any network traffic fetching the public key. However, I don't know what encoding they are using between the BEGIN and END. Edit: Okay I found it. They simply replaced newlines with dots. |
@Zegorax |
@jpVm5jYYRE1VIKL I just took a look at the docservice executable, and I couldn't find the string that you've posted. Could you detail which steps you took to get it ? |
@Zegorax ida pro disassmbler + attached debugger to running process. key was found in process memory in moment of execution. if you don`t have debugger it is possible also to find if to look in /proc/pid/maps and find Heap addresses after it need to search for "----BEGIN PUBLIC KEY--- |
@jpVm5jYYRE1VIKL Interesting! So now the goal would be to find what fills this memory address I guess |
@Zegorax this is not so easy. to make it need to know exactly how js works with memory on low level. I not found even low level node js API description which is much easier question. So for exact information how js work with memory on low level i can only dream. :) |
So its no longer work in version 7 ? How can i help. |
For what it's worth, OnlyOffice Document Server version 6.4.2.6(digest: 7e4a36f99966) seems to work fine with mobile Nextcloud without license. |
Hello! and now it works again, still shows Workspace Enterprise Edition, "Your subscription to support and updates has expired" |
OnlyOffice removed the license code in https://github.com/ONLYOFFICE/server/blob/a3b4517ab4881458c13b44629c0acbaab5855b09/Common/sources/license.js . I think they are implementing countermeasures for this script to work.
Please pay attention to your installations.
The text was updated successfully, but these errors were encountered: