IoTGoat
IoTGoat copied to clipboard
Not able to build from source
Hello. I am facing an error while building from the source. The error is regarding absence of gcc and g++ but in my kali linux virtual machine I have gcc and g++ v13.1.0.
I was able to compile from source after a lot of troubleshooting and code patching. I'd recommend using the images from the IotGoat Releases for ease of use.
For solution to the above problem, edit the file ./include/prereq-build.mk
from the directory you're in the image, and change the gcc
and g++
values to point to respective binaries on your system. For e.g. I added gcc-9
and g++-9
to the list and was able to solve the above bug.
But, as I said there is a lot more troubleshooting to do after fixing the above.
Its been awhile since building IoTGoat from source. Id recommend using Ubuntu over Kali for building but there might be toolchain updates that could cause conflicts which you both might be experiencing.