attify / firmware-analysis-toolkit

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

fat.py and permission error #87

Closed torabi12 closed 1 year ago

torabi12 commented 1 year ago

Could you please help someone about this issue? kép

The same command used to work on my side but now it does not start. I use Ubuntu-Mate 22.04.1 with latest packages.

extremecoders-re commented 1 year ago

Please run ./clean.py first and delete the contents of the images directory if it isn't empty. Then you can try running fat.py again.

torabi12 commented 1 year ago

I run ./reset.py and I deleted the contents of the images folder but I got the same: kép

I have no idea what has changed and caused this error. :(

torabi12 commented 1 year ago

I tried again with sudo and now it is OK: kép

and I was able to log into the web page of the firmware.

Thank you very much for your support!

extremecoders-re commented 1 year ago

Great to know that its working.

However fat.py shouldn't need sudo to run, it means the images directory is somehow owned by root.