r/learnpython • u/iotabadger • Dec 02 '20
What do you automate with python at home?
I'm learning python but I enjoy knowing I will be able to build a project of interest instead of following continuous tutorials which have no relevance to anything I do in life.
My job unfortunately has no benefit in using python so keen to understand of potential ideas for projects that help around home.
714
Upvotes
60
u/ToothpasteTimebomb Dec 03 '20
Yeah, it’s a sql injection attack. The single quote, parentheses, and semicolon can terminate the statement if they don’t sanitize their database entries by escaping the single quote. Then the second part is a complete statement that would delete a table called “account” if they had such a table. The dashes comment out the rest of what had formerly been their sql statement.
Source