Understanding the SQL injection attack by a Python script