开发者

How can you place a string into your query without using any quotation marks?

You have found a SQL injection vulnerability in a numeric field, but you need to use a string value in one of your attack payloads.How can you place a 开发者_如何转开发string into your query without using any quotation marks?


Use a parametrized query instead of concatenation strings. Guide to SQL Injection


Escape ' with ''

INSERT INTO Foo(A)VALUES('GEORGE''S CAT')

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜