You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is vulnerable to sql-injection as-is, need to try converting to a proc because you can't use parameters in code blocks like below.
var sql = @$" DO $$ BEGIN IF EXISTS ( SELECT 1 FROM information_schema.tables WHERE table_schema = '{_schema}' AND table_name = '{_table}' ) THEN DELETE FROM {SchemaAndTable} WHERE key = '{key}' AND etag = '{etag}'; END IF; END $$;";
The text was updated successfully, but these errors were encountered:
olitomlinson
changed the title
db operations are suseptible to SQL injection attacks
db operations are susceptible to SQL injection attacks
Mar 24, 2023
This is vulnerable to sql-injection as-is, need to try converting to a proc because you can't use parameters in code blocks like below.
The text was updated successfully, but these errors were encountered: