Control Expert - DFB Password

Description

This program is used to find password of Derived Function Block on "EcoStruxure Control Expert" or "Unity" software.

Extract the password

1/ First, take a DFB in Control Expert or Unity with "Crypted password":

DFB_Crypted_1 DFB_Crypted_2

2/ Open a ".stu" file program with 7Zip (or equivalent):

DFB_Crypted_3

3/ Extract "PathBase.db" file:

DFB_Crypted_4

4/ Open "PathBase.db" with hexadecimal software like HxD (or equivalent):

DFB_Crypted_5

5/ Search for hex strings in a file the DFB (in my case "Axis_3pos"):

DFB_Crypted_6 DFB_Crypted_7

6/ Next, found the string starting with "a .." (61 04 09 in HEXA) and ending with "b." (62 04 in HEXA). The password is between "a .." and "b.":

DFB_Crypted_8

7/ Open ControlExpertDFBPassword on type the password (in my case, the password is "Bernardo"):

DFB_Crypted_9

How to use

You need "Python 3.7" to use this program. Use "requirements.txt" to install all package.

py -3.7 main.py (on windows)
python3.7 main.py (on linux)

Screenshot

DFB Password