I am trying to write a website with Django that could display SQL injection for classroom purposes.However when i try to exploit the query nothing is getting returned. I am using a MYSQL database
peopledata = people.objects.raw("select * from people where name = \"%s\" "%input
result = list(peopledata)
I tried using "; show tables; -- and "; --, in the input field and nothing showed up. Is there a way to display the exploited data?
" and 1 = 1; --" or 1 = 1; --;isn't allowed in the statement. Try getting rid of that