#include <iostream> #include <cstdlib> #include <cstring> #include <cstdio> #include "libboolee.h" using namespace std; int main(int argc, char **argv) { int i; char *buf; /* Allocate a buffer on the heap. */ buf = (char *)malloc(100); /* Copy the command line argument into the buffer. */ strcpy(buf, argv[1]); /* Call the vulnerable function. */ i = boolee(buf); /* Print out the result. */ cout << "Result: " << i << endl; /* Free the buffer. */ free(buf); return 0; } // maybe u do kno things iarkey