Open jackulder opened 4 years ago
use sudo
I have this exact same issue trying to open a firmware it's seems the error is at extracting
`[+] Firmware: wr21-8.1.0.1.zip [+] Extracting the firmware... Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 150, in read_nonblocking s = os.read(self.child_fd, size) OSError: [Errno 5] Input/output error
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 99, in expect_loop incoming = spawn.read_nonblocking(spawn.maxread, timeout) File "/usr/lib/python3/dist-packages/pexpect/pty_spawn.py", line 465, in read_nonblocking return super(spawn, self).read_nonblocking(size) File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 155, in read_nonblocking raise EOF('End Of File (EOF). Exception style platform.') pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./fat.py", line 174, in
Are you sure wr21-8.1.0.1.zip
exists in /home/iot/wr21/
?
I have this exact same issue trying to open a firmware it's seems the error is at extracting
`[+] Firmware: wr21-8.1.0.1.zip [+] Extracting the firmware... Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 150, in read_nonblocking s = os.read(self.child_fd, size) OSError: [Errno 5] Input/output error
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 99, in expect_loop incoming = spawn.read_nonblocking(spawn.maxread, timeout) File "/usr/lib/python3/dist-packages/pexpect/pty_spawn.py", line 465, in read_nonblocking return super(spawn, self).read_nonblocking(size) File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 155, in read_nonblocking raise EOF('End Of File (EOF). Exception style platform.') pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "./fat.py", line 174, in main() File "./fat.py", line 162, in main image_id = run_extractor(args.firm_path) File "./fat.py", line 60, in run_extractor child.expect_exact("Tag: ") File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 390, in expect_exact return exp.expect_loop(timeout) File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 105, in expect_loop return self.eof(e) File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 50, in eof raise EOF(msg) pexpect.exceptions.EOF: End Of File (EOF). Exception style platform. <pexpect.pty_spawn.spawn object at 0x7ff7c9053f60> command: sources/extractor/extractor.py args: ['sources/extractor/extractor.py', '-np', '-nk', '/home/iot/wr21/wr21-8.1.0.1.zip', 'images'] buffer (last 100 chars): b'' before (last 100 chars): b'/usr/bin/env: \xe2\x80\x98python33\xe2\x80\x99: No such file or directory\r\n' after: <class 'pexpect.exceptions.EOF'> match: None match_index: None exitstatus: 127 flag_eof: True pid: 11677 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: '" iot@attifyos ~/t/f/firmadyne> `
The same problem..
HI dear friends i have the same problem when try to launch fat.py with my firmware how may i resold this , please somone help me
same issue here.
so how can we fix it because i realy need to emule my firmwares
Le mer. 16 sept. 2020 à 16:05, csenger18 notifications@github.com a écrit :
same issue here.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/attify/firmware-analysis-toolkit/issues/49#issuecomment-693428926, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMZTXQKTNTHGPOZRL3VWT23SGDA4NANCNFSM4OZEF3NQ .
Hey there. I'm emulating an armel-based firmware but I got following errors:
Does anyone know why these errors occourred?