A Novel Approach to detect SQL injection in web applications