Closed qiqingh closed 2 days ago
I using the "sudo bin/5g_fuzzer --list-exploits" to compile and load the new exploits. But get the error below:
"g++ -x c++ -std=c++17 -fPIC -w -O3 -c -o modules/exploits/5gnr_gnb/mac_sch_mac_rlc_crash.o -I src/ -I libs/ -I libs/wireshark -I libs/wireshark/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -
In file included from ~
GString
"
I using the same template from the example exploit. I think this causes the .o not to be successfully compiled and further causes the .so not to be successfully compiled. I removed the example exploit's .so file, and the same compile error happened.
Solved by appending "#include
When creating new exploit scripts (test cases) and saving them in the modules/exploits/5gnr_gnb folder, how do we compile these 5Ghoul PoC binaries? Can we compile them within the provided Docker container? If so, could you give me detailed steps or any necessary commands?
Thank you for your assistance!