Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

IDS using PHP


ghost's Avatar
0 0

i m looking forward to make a IDS using PHP as a part of my college proj is it possible to make it ?

i want some advice on how should i start with it thanks for help


ghost's Avatar
0 0

guys please give me some advice on how should i start


ghost's Avatar
0 0

harry_potter28 wrote: guys please give me some advice on how should i start

start by doing some reasearch on google? i dont know.


SySTeM's Avatar
-=[TheOutlaw]=-
20 0

It can be done.

But how about you try and do something a bit easier for your project? Rather an easier thing done well than a hard thing done badly, if you get me.


ghost's Avatar
0 0

well i had already chosen this project and had done a bit research on it, i want to start the coding now, but i want to know from where should i start


ghost's Avatar
0 0

Well, it's been done before, but don't let that stop you. You might even be able to learn something from the PHP-IDS project. I suppose a basic way you could do it is to just check all POST's and GET's for signs of intrusion attempts. e.g. include the file your IDS script at the beginning of every PHP script (you can set this in php.ini actually), and that file can be something like:

if (intrusion attempt is found in any of the post or get's){ die("intrusion attempt, this has been logged");}


ghost's Avatar
0 0

harry_potter28 wrote: well i had already chosen this project and had done a bit research on it, i want to start the coding now, but i want to know from where should i start

Sockets and TCP/IP


ghost's Avatar
0 0

system_meltdown wrote: But how about you try and do something a bit easier for your project? Rather an easier thing done well than a hard thing done badly, if you get me. harry_potter28 wrote: well i had already chosen this project and had done a bit research on it, i want to start the coding now, but i want to know from where should i start

I agree with system. I doubt the timeframe for your project + your experience with PHP will = success with such a large goal. Since you've already done research into a full-featured IDS, perhaps you could take one aspect of a typical IDS and center on that for your project. Then, as time permitted (probably after your grade), you could build upon that to get a more robust IDS done.

As for what you'd need, very little of it (except for the part that nights_shadow or japanesedude mentioned, depending on the focus of your IDS) will actually be coding. The majority of it will be logic, so hack away at your spiral notebook with a pencil until you understand more about what it will be doing. Then, the coding will be much easier.


ghost's Avatar
0 0

thanks guys for ur help and guidance, will do a bit more research and paper work on what u had said and tell u the progress for further help