Giter Site home page Giter Site logo

tplink-vxworks-based-firmware's People

Contributors

leexiaolan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tplink-vxworks-based-firmware's Issues

adding router models

i'm trying to deconstruct a firmware update file for TP-LINK WE932RE and i found your code, but it does not work with the current files.
Can you tell me how to add new models to the files ?
I will do all the work i just need a direction.

lzma decompress-web-res.py

https://www.lfd.uci.edu/~gohlke/pythonlibs/#pylzma   这个不行

在python3.6 下成功 解压

----> 1 decompressor.decompress(data[4:])  #后面重新new一个

EOFError: Already at end of stream

In [47]: type data
-------> type(data)
-------> type(data)
Out[47]: bytes

In [48]: decompressor= lzma.LZMADecompressor(format=lzma.FORMAT_ALONE)

In [49]: len(decompressor.decompress(data[9:]) )  # 4002357  ok


'./fw unpack filename' finished without any output or result

rhel6.5

[root@repos tplink-vxworks-based-firmware]# git log
commit fe16910
Author: Xiaolan.Lee [email protected]
Date: Tue Jun 17 18:10:36 2014 +0800

Update dependency for decrypting/encrypting config file.

commit a789601
Author: Xiaolan.Lee [email protected]
Date: Tue Jun 17 17:49:49 2014 +0800

Fix padding issue when decrypt/encrypt config file.

[root@repos tplink-vxworks-based-firmware]# python --version
Python 2.7.5
[root@repos tplink-vxworks-based-firmware]# ll
total 1384
-rwxr-xr-x 1 root root 1771 Jun 24 00:24 decompress-web-res.py
-rw-r--r-- 1 root root 92 Jun 24 00:24 dependencies
-rwxr-xr-x 1 root root 7538 Jun 24 00:24 fw
-rw-r--r-- 1 root root 1340903 Jun 5 04:45 get-pip.py
-rw-r--r-- 1 root root 18026 Jun 24 00:24 LICENSE
-rw-r--r-- 1 root root 14055 Apr 29 2010 pyDes-2.0.1.zip
-rw-r--r-- 1 root root 1240 Jun 24 00:24 README.md
drwxr-xr-x 2 root root 4096 Jun 24 01:04 tmp
-rwxr-xr-x 1 root root 1901 Jun 24 00:24 uncompress-os-image.py
-rwxr-xr-x 1 root root 2851 Jun 24 00:24 unow2fs.py
-rwxr-xr-x 1 root root 972 Jun 24 00:24 unpack.py
[root@repos tplink-vxworks-based-firmware]# ll tmp/
total 1688
-rw-r--r-- 1 root root 848964 Jun 24 01:18 mw305rv3.bin
-rw-r--r-- 1 root root 873140 Jan 20 15:28 wr842nv4-cn-up.bin
[root@repos tplink-vxworks-based-firmware]# ./fw unpack tmp/
mw305rv3.bin wr842nv4-cn-up.bin
[root@repos tplink-vxworks-based-firmware]# ./fw unpack tmp/wr842nv4-cn-up.bin
[root@repos tplink-vxworks-based-firmware]# ll
total 1384
-rwxr-xr-x 1 root root 1771 Jun 24 00:24 decompress-web-res.py
-rw-r--r-- 1 root root 92 Jun 24 00:24 dependencies
-rwxr-xr-x 1 root root 7538 Jun 24 00:24 fw
-rw-r--r-- 1 root root 1340903 Jun 5 04:45 get-pip.py
-rw-r--r-- 1 root root 18026 Jun 24 00:24 LICENSE
-rw-r--r-- 1 root root 14055 Apr 29 2010 pyDes-2.0.1.zip
-rw-r--r-- 1 root root 1240 Jun 24 00:24 README.md
drwxr-xr-x 2 root root 4096 Jun 24 01:04 tmp
-rwxr-xr-x 1 root root 1901 Jun 24 00:24 uncompress-os-image.py
-rwxr-xr-x 1 root root 2851 Jun 24 00:24 unow2fs.py
-rwxr-xr-x 1 root root 972 Jun 24 00:24 unpack.py
[root@repos tplink-vxworks-based-firmware]# ll tmp/
total 1688
-rw-r--r-- 1 root root 848964 Jun 24 01:18 mw305rv3.bin
-rw-r--r-- 1 root root 873140 Jan 20 15:28 wr842nv4-cn-up.bin
[root@repos tplink-vxworks-based-firmware]#

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.