I'm working on a project right now and I've hit a dead end with debugging.
Here's the source:https://github.com/cmwarre/VulnServer
Basically, it's a server that's meant to have vulnerable modules kind of like a wargames server. It's to teach people how to
write/discover exploits in software. My problems are,
1) I don't know how to handle the forks properly and after a client connects and the main program forks I lose control of the program (this is in main.c)
2) my writeServer function works some of the time but not all the time. If you want an example go ahead and compile the code and enter the command "HELP". It should list all of the installed modules by name but it won't say anything. If you enter "LEV1" it will display the usage for the first wargame module. So it works part of the time, but not all the time.
(This bug is mainly in the files VulnSocket.c and VulnFunction.c)
3) I've got a TODO file with more bugs but these were the only two giving me trouble at the moment...
If any of you can shed light on either of these I would be more than happy. Also, if you feel like contributing at all I would be very happy too!