Hackers exploit the web applications using malicious scripts and access the server. In this paper, authors detect the
various attacks using vulnerability scanner tools. The major attacks such as DDOS attack and SQL injection attack are
scanned and they are going to be prevented using prepared statement and IP BLOCKING methods. The application
security is achieved using web vulnerability scanner which scans all the scripts used inside the application for vulnerability
injection scripts (CSRF and SQL injection).