Hello,
I have the DrayTek Vigor2920 configuration file but it can't extract the password from the backup configuration file. Here is the log:
'Traceback (most recent call last):
File "D:\Downloads\Compressed\rext\rext.py", line 12, in
interpreter.cmdloop()
File "C:\Program Files\Python36\lib\cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
File "C:\Program Files\Python36\lib\cmd.py", line 217, in onecmd
return func(arg)
File "D:\Downloads\Compressed\rext\interface\cmdui.py", line 100, in do_load
loader.load_module(self.active_module_import_name) # Module is loaded and executed
File "D:\Downloads\Compressed\rext\core\loader.py", line 18, in load_module
importlib.import_module(modname)
File "C:\Program Files\Python36\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "D:\Downloads\Compressed\rext\modules\decryptors\draytek\vigor_config_old.py", line 173, in
Decryptor()
File "D:\Downloads\Compressed\rext\modules\decryptors\draytek\vigor_config_old.py", line 43, in init
core.Decryptor.RextDecryptor.init(self)
File "D:\Downloads\Compressed\rext\core\Decryptor.py", line 19, in init
self.cmdloop()
File "C:\Program Files\Python36\lib\cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
File "C:\Program Files\Python36\lib\cmd.py", line 217, in onecmd
return func(arg)
File "D:\Downloads\Compressed\rext\modules\decryptors\draytek\vigor_config_old.py", line 49, in do_run
g, outdata = self.de_cfg(data)
File "D:\Downloads\Compressed\rext\modules\decryptors\draytek\vigor_config_old.py", line 69, in de_cfg
return g, self.decompress_cfg(self.decrypt_cfg(data))
File "D:\Downloads\Compressed\rext\modules\decryptors\draytek\vigor_config_old.py", line 110, in decompress_cfg
core.compression.lzo.pydelzo.decompress(b'\xF0' + pack(">L", rawcfgsize) + data[0x100:0x100 + lzocfgsize])
File "D:\Downloads\Compressed\rext\core\compression\lzo.py", line 90, in decompress
dst, dst_off, dst_len)
File "D:\Downloads\Compressed\rext\core\compression\lzo.py", line 124, in int_decompress
while src[ip] == 0:
IndexError: bytearray index out of range'
I have check that the def de_cfg(self, data) method does not work. I have print the array after processing and it all the \x00.