attify / firmware-analysis-toolkit

Toolkit to emulate firmware and analyse it for security vulnerabilities
MIT License
1.29k stars 251 forks source link

no route to host #79

Closed azraelxuemo closed 1 year ago

azraelxuemo commented 1 year ago

I use this firmware ftp://ftp2.dlink.com/PRODUCTS/DIR-300/REVA/DIR-300_REVA_FIRMWARE_v1.06B05_WW.zip image image image How to fix it

extremecoders-re commented 1 year ago

This happens due the bridge not being properly setup within the emulated firmwate.

Run this commands within firmadyne console and it should be reachable from host.

brctl show
brctl delif br0 eth2.0
ifconfig eth0 up
brcrtl addif br0 eth0

That is you need to delete whatever interface is currently attached on br0 and then add the eth0 interface.

azraelxuemo commented 1 year ago

Thank you very much for your help. It's really solved. Thank you for your kind answer. I hope this issue can help other people with the same confusion