Skip to content

Commit 3fb03c4

Browse files
committed
sql injection demo
1 parent 6c82172 commit 3fb03c4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎web/sqli/models/tblpost03.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ def safe_select_query(self):
4646
return False, e
4747

4848
def is_exist_user(self, user):
49+
"""
50+
check if the user exist or not
51+
:param user:
52+
:return: boolean, rows / e
53+
"""
4954
# create the cursor
5055
cursor = self.db.conn.cursor()
5156
rows = None

0 commit comments

Comments
 (0)