Skip to content

fat 路径错误 #5

@ReturnHere

Description

@ReturnHere

python fat.py '/home/iov/Desktop/Images/WNAP320 Firmware Version 2.0.3.zip'

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

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

[+] Firmware: WNAP320 Firmware Version 2.0.3.zip
[+] Extracting the firmware...
Traceback (most recent call last):
File "fat.py", line 172, in
main()
File "fat.py", line 160, in main
image_id = run_extractor(args.firm_path)
File "fat.py", line 54, in run_extractor
child.expect_exact("Tag: ")
File "/home/iov/.local/lib/python3.6/site-packages/pexpect/spawnbase.py", line 421, in expect_exact
return exp.expect_loop(timeout)
File "/home/iov/.local/lib/python3.6/site-packages/pexpect/expect.py", line 179, in expect_loop
return self.eof(e)
File "/home/iov/.local/lib/python3.6/site-packages/pexpect/expect.py", line 122, in eof
raise exc
pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
<pexpect.pty_spawn.spawn object at 0x7f42e7f680f0>
command: /usr/bin/sudo
args: ['/usr/bin/sudo', '--', '/home/iov/Desktop/Tools/2-Analysis/firmadyne/sources/extractor/extractor.py', '-np', '-nk', '/home/iov/Desktop/Images/WNAP320 Firmware Version 2.0.3.zip', '/home/iov/Desktop/Tools/2-Analysis/firmadyne/images']
buffer (last 100 chars): b''
before (last 100 chars): b'do: /home/iov/Desktop/Tools/2-Analysis/firmadyne/sources/extractor/extractor.py: command not found\r\n'
after: <class 'pexpect.exceptions.EOF'>
match: None
match_index: None
exitstatus: None
flag_eof: True
pid: 7275
child_fd: 5
closed: False
timeout: None
delimiter: <class 'pexpect.exceptions.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
searcher: searcher_string:
0: b'Tag: '

报错信息中的 /home/iov/Desktop/Tools/2-Analysis/firmadyne/sources/extractor/extractor.py 实际不存在,该文件位于 /home/iov/Desktop/Tools/3-Analysis/firmadyne/sources/extractor/extractor.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions