Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
staticassertion
· 6y ago · 0 comments
I wonder if it's possible to just go byte by byte, and try to parse the statement as valid SQL? If you use the same parser, or a compatible parser, to the backend DB you'd at least catch any valid SQL statements?
Comments
[–]
Bnshsysjab
6y ago
What if the payload is ‘a,b’ which renders as
Select a, b from foo;