Unlocking CX Programmer FB password using OllyDbg

CX-One, CX programmer, NTST, Syswin ....
lil_cap
Posts: 4
Joined: Tue Nov 03, 2020 4:15 pm

Unlocking CX Programmer FB password using OllyDbg

Post by lil_cap »

Hi everyone,

I found this thread (viewtopic.php?f=11&t=25402) on my search for a solution for unlocking some FBs in CX Programmer. Unfortunately I cannot upload the CX project files, so maybe someone can upload an "Step by Step How To" for unlocking FBs using OllyDbg as described in the above mentioned thread.

Thank you in advance!
SHKODRAN
Posts: 199
Joined: Wed Dec 24, 2008 4:37 pm
Location: Europe

Re: Unlocking CX Programmer FB password using OllyDbg

Post by SHKODRAN »

lil_cap wrote: Tue Nov 03, 2020 4:20 pm Hi everyone,

I found this thread (viewtopic.php?f=11&t=25402) on my search for a solution for unlocking some FBs in CX Programmer. Unfortunately I cannot upload the CX project files, so maybe someone can upload an "Step by Step How To" for unlocking FBs using OllyDbg as described in the above mentioned thread.

Thank you in advance!
I don't think anyone has time to give you the tutorial because you can't share the project ...
You should be happy if someone finds the password for you.
Toms
Posts: 172
Joined: Sat Oct 26, 2019 5:56 am

Re: Unlocking CX Programmer FB password using OllyDbg

Post by Toms »

Hi lil_cap
If you are willing to spend money, I can make a patch for you
You really need to send me an email: toms_plc@hotmail.com
SHKODRAN
Posts: 199
Joined: Wed Dec 24, 2008 4:37 pm
Location: Europe

Re: Unlocking CX Programmer FB password using OllyDbg

Post by SHKODRAN »

lil_cap wrote: Tue Nov 03, 2020 4:20 pm Hi everyone,

I found this thread (viewtopic.php?f=11&t=25402) on my search for a solution for unlocking some FBs in CX Programmer. Unfortunately I cannot upload the CX project files, so maybe someone can upload an "Step by Step How To" for unlocking FBs using OllyDbg as described in the above mentioned thread.

Thank you in advance!
Send the link of your project to my PM, i'll give you the password free of charge.
Don't spend money for 5 seconds job.

Regards.
lil_cap
Posts: 4
Joined: Tue Nov 03, 2020 4:15 pm

Re: Unlocking CX Programmer FB password using OllyDbg

Post by lil_cap »

Hi there,

thank you for your answers and offers. Out of pure interesst I'd actually like to know how it is done by myself, even though I hope to never encounter this problem ever egain :D
Also I believe it might be interresting for other people, too - I think the thread I reffered to in the OP gives yo an idea about how many people actually have the problem.

Thanks in advance!
Toms
Posts: 172
Joined: Sat Oct 26, 2019 5:56 am

Re: Unlocking CX Programmer FB password using OllyDbg

Post by Toms »

In the near future, there will be instructions to introduce the password search OllyDbg operation method
lil_cap
Posts: 4
Joined: Tue Nov 03, 2020 4:15 pm

Re: Unlocking CX Programmer FB password using OllyDbg

Post by lil_cap »

Hi everyone,

as I'm still interested in a solution I want to ask if anybody can provide a documented procedure to unlocking the function blocks.
lil_cap
Posts: 4
Joined: Tue Nov 03, 2020 4:15 pm

Re: Unlocking CX Programmer FB password using OllyDbg

Post by lil_cap »

Unfortunately I didn't found any solution yet.

This is what I do:

Open CX Programmer, go to the protected function block --> right click --> preferences --> function block safety. Then I switch to OllyDBG and attach CX Programmer.exe.

After that:
- right click, search for -> name in all modules
- search for GetDlgItemTextA, doubleclick on it
- right click on the marked entry ---> breakpoint ---> Memory on access
- click on play
- switch to CX Programmer, click "Unblock", enter a random password, click ok
- switch back to OllyDBG and click on "pause"
- open the windows "call stack of main thread"

Where do I find the password of the function block?

Would really appreciate any help. (sos)
sagarfapl
Posts: 1
Joined: Thu Sep 30, 2021 8:52 am

Re: Unlocking CX Programmer FB password using OllyDbg

Post by sagarfapl »

Please can you help me to unlock the program section in sysmac studio software.

Thank you in advance.