Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Hi, I am facing an issue with 'pexpect' #1

Open
shilpkar-nitesh opened this issue Mar 9, 2019 · 0 comments
Open

Hi, I am facing an issue with 'pexpect' #1

shilpkar-nitesh opened this issue Mar 9, 2019 · 0 comments

Comments

@shilpkar-nitesh
Copy link

main()

File "./dynamic_analysis.py", line 261, in main
if network_setup(firmware_id, arch) == False:
File "./dynamic_analysis.py", line 213, in network_setup
setup.expect('Interfaces: [(.)]\n')
File "/usr/lib/python2.7/dist-packages/pexpect/spawnbase.py", line 341, in expect
timeout, searchwindowsize, async_)
File "/usr/lib/python2.7/dist-packages/pexpect/spawnbase.py", line 369, in expect_list
return exp.expect_loop(timeout)
File "/usr/lib/python2.7/dist-packages/pexpect/expect.py", line 117, in expect_loop
return self.eof(e)
File "/usr/lib/python2.7/dist-packages/pexpect/expect.py", line 63, in eof
raise EOF(msg)
pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
<pexpect.pty_spawn.spawn object at 0xb60ae42c>
command: /root/firmadyne/scripts/inferNetwork.sh
args: ['/root/firmadyne/scripts/inferNetwork.sh', '1', 'mipsel']
buffer (last 100 chars): ''
before (last 100 chars): "Running firmware 1: terminating after 60 secs...\r\nqemu-system-mipsel: Invalid parameter 'vlan'\r\n"
after: <class 'pexpect.exceptions.EOF'>
match: None
match_index: None
exitstatus: None
flag_eof: True
pid: 18006
child_fd: 5
closed: False
timeout: 65
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_re:
0: re.compile('Interfaces: \[(.
)\]\n')

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant