Python Forum
SQL Injection attacks on Python code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SQL Injection attacks on Python code
#1
I've been researching sql injection attacks (partly because I want to understand the attack, but mostly because it's cropped up in a few recent threads) and from what I can gather, the danger (for want of a better noun) seems to be from user inputs and as such a function to satanize said input would mitigate the danger and do away with all of this messing about with place holders in the cursor.execute() command, no?

What am I missing, if anything?
Sig:
>>> import this

The UNIX philosophy: "Do one thing, and do it well."

"The danger of computers becoming like humans is not as great as the danger of humans becoming like computers." :~ Konrad Zuse

"Everything should be made as simple as possible, but not simpler." :~ Albert Einstein
Reply


Messages In This Thread
SQL Injection attacks on Python code - by rob101 - Oct-11-2022, 03:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Better Understanding of Security and injection attacks SQLite KevinBrown 1 2,228 Apr-09-2019, 09:45 PM
Last Post: Legomancer
  Sql Injection using python sumandas89 2 3,497 Jan-15-2018, 03:04 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020