C0deH4cker / PwnableHarness

Manage building and deploying exploitation challenges with ease
MIT License
57 stars 4 forks source link

make version is too old for `intcmp` function #54

Closed C0deH4cker closed 3 weeks ago

C0deH4cker commented 3 weeks ago

The version of make available in the pwnmake container is 4.3, but the $(intcmp ...) function I'm using for Ubuntu version comparison was only added in 4.4 (https://github.com/mirror/make/commit/71eb0a80384617b553546228648f1f1926f43977, 3 years ago). Unfortunately, the maintainer of the make package stopped updating the package (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029106), so even Ubuntu 24.10 is still on 4.3.

Two approaches:

1) Install a newer version of make in the pwnmake image 2) Remove the need for the $(intcmp ...) function (for now, at least)

I'm leaning towards the second choice for now, as I think I can make it work.