Code Monkey home page Code Monkey logo

Comments (5)

extremecoders-re avatar extremecoders-re commented on August 25, 2024

Please run reset.py or manually delete the contents of the scratch and images directory.

Tested and it works fine.

attify@attify:~/firmware-analysis-toolkit$ ./fat.py WF2785_v1.8.36.bin

                               __           _
                              / _|         | |
                             | |_    __ _  | |_
                             |  _|  / _` | | __|
                             | |   | (_| | | |_
                             |_|    \__,_|  \__|

                Welcome to the Firmware Analysis Toolkit - v0.3
    Offensive IoT Exploitation Training http://bit.do/offensiveiotexploitation
                  By Attify - https://attify.com  | @attifyme

[+] Firmware: WF2785_v1.8.36.bin
[+] Extracting the firmware...
[+] Image ID: 1
[+] Identifying architecture...
[+] Architecture: mipsel
[+] Building QEMU disk image...
[+] Setting up the network connection, please standby...
[+] Network interfaces: [('br0', '192.168.1.1')]
[+] All set! Press ENTER to run the firmware...
[+] When running, press Ctrl + A X to terminate qemu

from firmware-analysis-toolkit.

kismp123 avatar kismp123 commented on August 25, 2024

It does not work :(

gegul@unknown:~/firmware/firmware-analysis-toolkit$ ls
LICENSE    WF2785_v1.8.36.bin  fat.config  firmadyne    reset.py
README.md  binwalk             fat.py      qemu-builds  setup.sh
gegul@unknown:~/firmware/firmware-analysis-toolkit$ ls ..
20181005_Zyxel_LTE3302-M432_V1.00(ABKQ.1)C0.bin  firmware-analysis-toolkit
XNB-8000_1.40.02_20191024_R484.img
gegul@unknown:~/firmware/firmware-analysis-toolkit$ ls ../../
firmware
gegul@unknown:~/firmware/firmware-analysis-toolkit$ ls
LICENSE    WF2785_v1.8.36.bin  fat.config  firmadyne    reset.py
README.md  binwalk             fat.py      qemu-builds  setup.sh
gegul@unknown:~/firmware/firmware-analysis-toolkit$ ./fat.py WF2785_v1.8.36.bin 
                               __           _
                              / _|         | |
                             | |_    __ _  | |_
                             |  _|  / _` | | __|
                             | |   | (_| | | |_
                             |_|    \__,_|  \__|

                Welcome to the Firmware Analysis Toolkit - v0.3
    Offensive IoT Exploitation Training http://bit.do/offensiveiotexploitation
                  By Attify - https://attify.com  | @attifyme

[+] Firmware: WF2785_v1.8.36.bin
[+] Extracting the firmware...
[!] Image extraction failed
gegul@unknown:~/firmware/firmware-analysis-toolkit$ ls
LICENSE    WF2785_v1.8.36.bin  fat.config  firmadyne    reset.py
README.md  binwalk             fat.py      qemu-builds  setup.sh
gegul@unknown:~/firmware/firmware-analysis-toolkit$

there is no images or scratch

gegul@unknown:~/firmware/firmware-analysis-toolkit$ ./reset.py
[+] Cleaning previous images and created files by firmadyne
[+] All done. Go ahead and run fat.py to continue firmware analysis
gegul@unknown:~/firmware/firmware-analysis-toolkit$ ./fat.py WF2785_v1.8.36.bin 
                               __           _
                              / _|         | |
                             | |_    __ _  | |_
                             |  _|  / _` | | __|
                             | |   | (_| | | |_
                             |_|    \__,_|  \__|

                Welcome to the Firmware Analysis Toolkit - v0.3
    Offensive IoT Exploitation Training http://bit.do/offensiveiotexploitation
                  By Attify - https://attify.com  | @attifyme

[+] Firmware: WF2785_v1.8.36.bin
[+] Extracting the firmware...
[!] Image extraction failed
gegul@unknown:~/firmware/firmware-analysis-toolkit$

same.
this information might help us to solve this problem

gegul@unknown:~/firmware/firmware-analysis-toolkit$ uname -a
Linux unknown 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:01:15 UTC 2019 i686 i686 i686 GNU/Linux

from firmware-analysis-toolkit.

extremecoders-re avatar extremecoders-re commented on August 25, 2024

The images and scratch directory are located within firmware-analysis-toolkit/firmadyne

from firmware-analysis-toolkit.

extremecoders-re avatar extremecoders-re commented on August 25, 2024

Just delete the contents of those two directories. Not the directories themselves.

from firmware-analysis-toolkit.

kismp123 avatar kismp123 commented on August 25, 2024

It works! Thanks!

gegul@unknown:~/firmware/firmware-analysis-toolkit$ sudo ./fat.py WF2785_v1.8.36.bin

                               __           _
                              / _|         | |
                             | |_    __ _  | |_
                             |  _|  / _` | | __|
                             | |   | (_| | | |_
                             |_|    \__,_|  \__|

                Welcome to the Firmware Analysis Toolkit - v0.3
    Offensive IoT Exploitation Training http://bit.do/offensiveiotexploitation
                  By Attify - https://attify.com  | @attifyme

[+] Firmware: WF2785_v1.8.36.bin
[+] Extracting the firmware...
[+] Image ID: 1
[+] Identifying architecture...
[+] Architecture: mipsel
[+] Building QEMU disk image...
[+] Setting up the network connection, please standby...
[+] Network interfaces: [('br0', '192.168.1.1')]
[+] All set! Press ENTER to run the firmware...
[+] When running, press Ctrl + A X to terminate qemu

from firmware-analysis-toolkit.

Related Issues (20)

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.