Inspecting Alinco DJ-X100E firmware updater
DJ-X100E(CPU 4.00-004 _DSP 1.07).exe
dotPeek, Visual Studio 2022, Detect It Easy
Detect It Easy
Motorola S-record inside (DIE Strings view)
DIE save Strings to file
dotPeek to Visual Studio solution. Renesas microcontroller?
BIN file inside VS solution. VS can show its content in HEX and ASCII
Python code for extracting S-record lines from the DIE strings file
fin = open("G:\\DJ-X100E(CPU 4.00-004 _DSP 1.07).exe.Strings.txt", mode="r", encoding="utf8")
fout = open("G:\\DJ-X100E-SREC.txt", mode="w", encoding="utf8")
arr = ["S00", "S311", "S315", "S309", "S30B", "S307", "S30C", "S30F", "S30E", "S30D", "S705", "S306"]
while True:
line = fin.readline()
if not line:
break
for item in arr:
i = line.find(item)
if i > -1:
fout.write(line[i:])
break
fin.close()
fout.close()
print("done")







Comments
Post a Comment