Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to track hacking attempts on a website

Tags:

security

php

Assuming that I've tried my best to write secure code: database isn't easy for sql injection, output is filtered from xss, and other. The next question is how do I track that someone has tried to hack a website. What can a developer do that doesn't involve them reading through logs of every URL request that came to their website? (not that I even know how to do that).

I use PHP so tools or answers specific to PHP are welcome.

like image 992
sami Avatar asked Nov 28 '10 23:11

sami


1 Answers

Obvious - read the system logs

Not so obvious - Install this: https://github.com/PHPIDS/PHPIDS

Found that website some time ago, and since you're on PHP I believe that you'll love the demo ;)

like image 108
Filipe YaBa Polido Avatar answered Nov 15 '22 18:11

Filipe YaBa Polido