You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does anyone have a compiled binary executable for hwfw?
Tested with more than one BIN file - anyway the errors are talking about the script having an issue.
Just FYI - I have a HG8145v device that I am trying to unlock - It lets me go to shell but i cant do anything there except for exit or run one .sh file
Main question once unpacked and then modified - will I be able to burn this Modified/edited firmware from the routers webpage - where it lets you select and upgrade firmware's from?
Or will it need the HW_ONT_Tool.exe to burn/write the firmware to router?
─# python hwfw.py unpack -v -r fw/ ./test2/R020.bin
Traceback (most recent call last):
File "/home/kali/Downloads/hwfw/hwfw.py", line 287, in
main()
File "/home/kali/Downloads/hwfw/hwfw.py", line 284, in main
sys.exit(entry(opt))
^^^^^^^^^^
File "/home/kali/Downloads/hwfw/hwfw.py", line 268, in entry
return unpack(opt)
^^^^^^^^^^^
File "/home/kali/Downloads/hwfw/hwfw.py", line 259, in unpack
fw.open(opt['FILE'])
File "/home/kali/Downloads/hwfw/hwfw.py", line 47, in open
self._loadFromString(data, noItemData)
File "/home/kali/Downloads/hwfw/hwfw.py", line 55, in _loadFromString
offset += self._parseItemInfo(data, offset, noItemData)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/Downloads/hwfw/hwfw.py", line 71, in _parseItemInfo
for i in xrange(self.header.itemCount):
^^^^^^
NameError: name 'xrange' is not defined. Did you mean: 'range'?
The text was updated successfully, but these errors were encountered:
The below errors occur
─# python hwfw.py unpack -v -r fw/ ./test2/R020.bin
Traceback (most recent call last):
File "/home/kali/Downloads/hwfw/hwfw.py", line 287, in
main()
File "/home/kali/Downloads/hwfw/hwfw.py", line 284, in main
sys.exit(entry(opt))
^^^^^^^^^^
File "/home/kali/Downloads/hwfw/hwfw.py", line 268, in entry
return unpack(opt)
^^^^^^^^^^^
File "/home/kali/Downloads/hwfw/hwfw.py", line 259, in unpack
fw.open(opt['FILE'])
File "/home/kali/Downloads/hwfw/hwfw.py", line 47, in open
self._loadFromString(data, noItemData)
File "/home/kali/Downloads/hwfw/hwfw.py", line 55, in _loadFromString
offset += self._parseItemInfo(data, offset, noItemData)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/Downloads/hwfw/hwfw.py", line 71, in _parseItemInfo
for i in xrange(self.header.itemCount):
^^^^^^
NameError: name 'xrange' is not defined. Did you mean: 'range'?
The text was updated successfully, but these errors were encountered: