attify / firmware-analysis-toolkit

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

Can't install FAT #78

Closed asabhish closed 1 year ago

asabhish commented 1 year ago

When I run the setup.sh script, the binwalk installation encounters an error "fatal: Need to specify how to reconcile divergent branches". I have installed binwalk separately via the apt repository and it works correctly. This looks like some git pull issue but I am not totally sure. How to resolve this? Attaching the screenshot of the tail-end of the installation log of FAT below:

FAT_install_error

asabhish commented 1 year ago

I could install FAT by commenting out the setup script portion which was installing binwalk tool. And I setup binwalk separately via apt repository. After setting the configuring firmadyne as per the instructions in FAT installation, now I am getting an error while creating the db in PostgreSQL. When I type in the command "sudo -u postgres createdb -O firmadyne firmware", the error I get is "could not change directory to : Permission denied" ! Any input here as to what is the solution here ? Thanks

extremecoders-re commented 1 year ago

The installation issue should be fixed with the latest commit.