-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
仿真曾经成功过的固件出现问题 #43
Comments
另外使用docker 显示没有这个库 |
我更新了一下项目 重新运行后错误报告为: |
🤣抱歉,主页 docker 命令写错了,应该是 |
这个是没有找到 |
如果没有使用
|
太感谢啦!发现是路径找了一个点 我看到他开放了两个端口 192.168.0.1和192.168.7.1 但是我在虚拟机的浏览器输入这个网址 显示Unable to connect |
稍等一会就能访问了吧。注意大部分路由器的固件都是 http,而不是 https,即 http://192.168.0.1 |
注意这句话,即推断出网络地址之后,需要手动回车键,固件仿真才真的开始。
|
!!!感谢!我一直忽视了这句话 怪不得! |
您好,我想尝试仿真 firmadyne 项目已经成功仿真的固件: └─$ sudo ./fap.py -q ./qemu-builds/2.5.0/ ./testcases/DIR-300A1_FW105b09.bin
By lys - https://github.com/liyansong2018/firmware-analysis-plus [+] Firmware: DIR-300A1_FW105b09.bin |
不知道你用的是哪个 Linux 发行版。#41,最新的发行版上 binwalk 存在问题,无法提取某些固件。 |
老师你好!我在仿真DIR-890L_REVA1_FW100b25.bin DIR860LA1_FW111b01.bin 的时候出现了仿真成功,但是输入IP地址无法访问,仿真的日志如下: 不太清楚是什么原因 ,求老师给看一下 |
另外在仿真Firmware_TEW-411BRPplus_2.07_EU.zip 的时候出现了 Network interfaces: [] 的情况 。我在kali上也出现了同样的错误 希望老师也给看看是哪里出现的问题 [+] Firmware: WRT54G3G_2.11.05_ETSI_code.bin |
尝试重启一下宿主机。不同的固件Linux内核日志千差万别,仅从这些信息无法推断出具体原因。你可以看看 ./firmadyne/scratch/1/xxx.log,上面是完整的固件仿真产生的内核日志。 |
老师我想问一下 除了[+] Network interfaces: []这里 还有哪里可以看网络接口吗 有很多固件模拟出来Network interfaces: 这里都是空的 换成kali也不太行 |
Fap 支持的固件有限,已经验证过的固件都已在主页中体现。其他固件不保证仿真的完整性。你可以通过 |
你好!我仿真曾经成功过的固件iot_dir880l_110b01.bin(项目中自带)出现了问题 请你帮我看一下具体是哪里故障了。
错误报告如下,谢谢!
[!] Directory /qemu-builds/2.5.0 not found
[+] Using system qemu
[+] Firmware: iot_dir880l_110b01.bin
[+] Extracting the firmware...
[+] Image ID: 2
[+] Identifying architecture...
[+] Architecture: armel
[+] Building QEMU disk image...
[+] Setting up the network connection, please standby...
/home/kali/Desktop/firmware-analysis-plus/firmadyne/scripts/inferNetwork.sh
['2', 'armel', '60']
/home/kali/Desktop/firmware-analysis-plus/firmadyne
Traceback (most recent call last):
File "/home/kali/Desktop/firmware-analysis-plus/./fap.py", line 185, in
main()
File "/home/kali/Desktop/firmware-analysis-plus/./fap.py", line 180, in main
infer_network(arch, image_id, args.time, qemu_dir)
File "/home/kali/Desktop/firmware-analysis-plus/./fap.py", line 124, in infer_network
child.expect_exact("Interfaces:", timeout=None)
File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 421, in expect_exact
return exp.expect_loop(timeout)
File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 179, in expect_loop
return self.eof(e)
File "/usr/lib/python3/dist-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 0x7fbb17391eb0>
command: /home/kali/Desktop/firmware-analysis-plus/firmadyne/scripts/inferNetwork.sh
args: ['/home/kali/Desktop/firmware-analysis-plus/firmadyne/scripts/inferNetwork.sh', '2', 'armel', '60']
buffer (last 100 chars): b''
before (last 100 chars): b'irmware-analysis-plus/firmadyne/scripts//run.armel.sh: line 25: qemu-system-arm: command not found\r\n'
after: <class 'pexpect.exceptions.EOF'>
match: None
match_index: None
exitstatus: None
flag_eof: True
pid: 13966
child_fd: 5
closed: False
timeout: 30
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'Interfaces:'
The text was updated successfully, but these errors were encountered: