j91321 / rext Goto Github PK
View Code? Open in Web Editor NEWRouter EXploitation Toolkit - small toolkit for easy creation and usage of various python scripts that work with embedded devices.
License: GNU General Public License v3.0
Router EXploitation Toolkit - small toolkit for easy creation and usage of various python scripts that work with embedded devices.
License: GNU General Public License v3.0
Module core.compression.lzs not working properly. Code was probably for python2 and is not working properly under python3 even after modification. Problem is most probably in RingList.
Necessary for rom-0.py decryptor
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.
Some modules are hardcoded to use HTTP even though they reliably work through HTTPS. Add support for SSL where possible.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.