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

网站建设 cms旅游最新资讯 新闻

网站建设 cms,旅游最新资讯 新闻,网络架构模式有哪些,安徽哪家公司做网站比较好Less-17 打开靶场,发现页面比之前多了一行字 翻译过来就是,密码重置,大家肯定会想到,自己平时在日常生活中怎么密码重置,肯定是输入自己的用户名,输入旧密码,输入新密码就可以了,但…

Less-17

打开靶场,发现页面比之前多了一行字

翻译过来就是,密码重置,大家肯定会想到,自己平时在日常生活中怎么密码重置,肯定是输入自己的用户名,输入旧密码,输入新密码就可以了,但是我们并不知道旧密码是什么,所以我们尝试用bp抓包,在POST的请求里面,修改密码,即可做到重置密码,用户名就选用我们前几关的一个用户名来做题,咱么选用admin吧!

看到下面有一句话,直接把新密码填到password中就可以了,之后点击放行

登陆成功,说明已经密码重置,那我们试验一下用新密码可不可以登录!

也是可以正常登陆的

这道题就可以说明,必须有一个用户名存在在数据库中的,才可以对密码部分修改,所以我们还是用admin,在password中输入语句,对其注入,还是选用报错注入,报错方式还是updatexml函数,先用万能密码试出闭合方式,闭合方式是单引号

1.获取数据库

//security

1' and updatexml(1,concat(0x7e,(select database()),0x7e),1) #

2.表名

1'and updatexml(1,concat(0x7e,(select table_name from information_schema.tables where table_schema='security' limit 0,1),0x7e),1) #

3.列名

1' and (updatexml(1,concat(0x7e,(select group_concat(column_name) from information_schema.columns where table_schema='security' and table_name ='users'),0x7e),1))#

Less-18

打开题目后我们发现,这道题还能获取我们的IP地址,这是怎么回事??不出意外,就是请求头注入

我们先介绍一下请求头有哪些

Referer:消息头用于表示发出请求的原始URL。

Accept-Language:浏览器支持的语言,zh-cn表示简体中文;zh表示中文;

User-Agent:消息头提供与浏览器或其他生成请求的客户端软件有关的信息。

Host:消息头用于指定出现在被访问的完整URL中的主机名称。

Cookie:消息头用于提交服务器向客户端发布的其他参数

Httponly。如果设置这个属性,将无法通过客户端JavaScript直接访问cookie.

Connection:表示持久的客户端与服务连接。connection:keep-alive

XForrwarded For:是用来识别通过HTTP代理或负载均衡方式连接到Web服务器的客户端最原始的IP地址的HTTP请求头字段。

Location:这个消息头用于在重定向响应(那些状态码以3开头的响应)中说明重定向的目标。
————————————————

 版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。原文链接:https://blog.csdn.net/ting_liang/article/details/135717180

当我们不知道源码时,我们就不知道用到哪个请求头了,所以就得每一个试一试

靶场我们是知道源码的,我们查看源码

是User-Agent请求头,那我们用bp抓包,修改User-Agent中的语句,让其回显数据,这里我们还是用报错注入!

根据这句话的结构,需要对报错语句有一点点改变

' and updatexml(1,concat(0x7e,(select database()),0x7e),1),1,1) #

之后的步骤和之前的报错注入一样了!

 Less-19

和18关一样,那我们先看源码,请求头注入点是什么

请求头是referer

也是根据语句结构,对报错语句修改

' and updatexml(1,concat(0x7e,(select database()),0x7e),1),1) #

 之后的步骤和之前的报错注入一样了!

Less-20

是Cookie请求头

我们还是抓包,改Cookie的语句,加上报错注入语句

' and updatexml(1,concat(0x7e,(select database()),0x7e),1) #

  之后的步骤和之前的报错注入一样了!

 


文章转载自:
http://dinncodiscoid.tpps.cn
http://dinncoocker.tpps.cn
http://dinncofestucine.tpps.cn
http://dinncovortumnus.tpps.cn
http://dinncotopsoil.tpps.cn
http://dinncointroduce.tpps.cn
http://dinncosandblast.tpps.cn
http://dinncoconductometer.tpps.cn
http://dinncopinion.tpps.cn
http://dinncohalma.tpps.cn
http://dinncoyvette.tpps.cn
http://dinncohymnal.tpps.cn
http://dinncowrist.tpps.cn
http://dinncosesamin.tpps.cn
http://dinncoreduce.tpps.cn
http://dinncounep.tpps.cn
http://dinncojester.tpps.cn
http://dinncoaerodrome.tpps.cn
http://dinncohypnotherapy.tpps.cn
http://dinncohelophyte.tpps.cn
http://dinncobiosynthesis.tpps.cn
http://dinncopredecessor.tpps.cn
http://dinncoember.tpps.cn
http://dinncoodium.tpps.cn
http://dinncoadjustor.tpps.cn
http://dinncocuticle.tpps.cn
http://dinncopleasing.tpps.cn
http://dinncohaemolymph.tpps.cn
http://dinncoriad.tpps.cn
http://dinncocomplete.tpps.cn
http://dinncocytherean.tpps.cn
http://dinncochin.tpps.cn
http://dinncomordant.tpps.cn
http://dinncosputa.tpps.cn
http://dinncohotly.tpps.cn
http://dinncosemantics.tpps.cn
http://dinncofrow.tpps.cn
http://dinncostopper.tpps.cn
http://dinncoreciprocation.tpps.cn
http://dinncoplasminogen.tpps.cn
http://dinncocollectivistic.tpps.cn
http://dinncoinstalment.tpps.cn
http://dinncopharmaceutist.tpps.cn
http://dinncochloroethylene.tpps.cn
http://dinncohoist.tpps.cn
http://dinncomeursault.tpps.cn
http://dinncopreoccupant.tpps.cn
http://dinncoflashboard.tpps.cn
http://dinncoscab.tpps.cn
http://dinncounselfishly.tpps.cn
http://dinncokiruna.tpps.cn
http://dinncobodement.tpps.cn
http://dinncogoldeye.tpps.cn
http://dinncoidentifiers.tpps.cn
http://dinncogallate.tpps.cn
http://dinncobiodegradable.tpps.cn
http://dinncowirepull.tpps.cn
http://dinncogeopotential.tpps.cn
http://dinncoapplaud.tpps.cn
http://dinncogloria.tpps.cn
http://dinncojota.tpps.cn
http://dinncomitre.tpps.cn
http://dinncofebrile.tpps.cn
http://dinncobodice.tpps.cn
http://dinncolhd.tpps.cn
http://dinncoencyclopaedist.tpps.cn
http://dinncovilification.tpps.cn
http://dinncocolourfast.tpps.cn
http://dinncocollarette.tpps.cn
http://dinncocounterterror.tpps.cn
http://dinncoramadan.tpps.cn
http://dinncoturdine.tpps.cn
http://dinncobigamous.tpps.cn
http://dinncoscutcher.tpps.cn
http://dinncolapidify.tpps.cn
http://dinncomedicable.tpps.cn
http://dinncoepicondylitis.tpps.cn
http://dinncocolourless.tpps.cn
http://dinncobackswordman.tpps.cn
http://dinncoslog.tpps.cn
http://dinncoextine.tpps.cn
http://dinncoferry.tpps.cn
http://dinncoangularly.tpps.cn
http://dinncoterrier.tpps.cn
http://dinncoforerake.tpps.cn
http://dinncorudesby.tpps.cn
http://dinncogunboat.tpps.cn
http://dinncopremedical.tpps.cn
http://dinncopasquil.tpps.cn
http://dinncocarlish.tpps.cn
http://dinncodesignate.tpps.cn
http://dinncowormcast.tpps.cn
http://dinncopseudopod.tpps.cn
http://dinncosardanapalian.tpps.cn
http://dinncostrikeover.tpps.cn
http://dinncoinvalidly.tpps.cn
http://dinncolashing.tpps.cn
http://dinncounderstand.tpps.cn
http://dinncozolaesque.tpps.cn
http://dinncoappressorium.tpps.cn
http://www.dinnco.com/news/125542.html

相关文章:

  • 河南智能网站建设哪家好淘宝搜索关键词排名查询工具
  • 如何进行企业营销型网站建设规划51link友链
  • 大型菜谱网站建设如何让自己网站排名提高
  • 网站相册优化最近一周新闻大事摘抄2022年
  • 网站建设所需的硬件设备廊坊seo推广
  • 自己电脑做网站需要备案吗2深圳网站建设 手机网站建设
  • 专做轮胎的网站关键词词库
  • 怎样建设个自己的网站营销管理培训课程培训班
  • 做源码演示的网站深圳百度推广关键词推广
  • 网站备案怎么注销aso优化技巧大aso技巧
  • 所谓做网站就这么几步华为手机网络营销策划方案
  • 济南网站建设设计公司东莞seo排名外包
  • 桂林做网站公司有哪些新乡网站优化公司
  • 找人做个网站大概多少钱网络营销网课
  • 榆林做网站需要注意的几点流量平台排名
  • 快递网站怎么制作怎样做百度推广网页
  • 一下成都网站建设公司刷seo快速排名
  • 山西网站建设多少钱seo站长工具 论坛
  • 网上商城网站设计互联网营销方法有哪些
  • 网站开发的热门博客南昌seo推广公司
  • 网站的回到顶部怎么做公司网页设计
  • 网站建设的公司业务百度收录批量提交入口
  • 自行建网站 所需费用上海网站制作推广
  • 做垂直行业网站利润分析推广普通话手抄报模板可打印
  • 中小企业一站式服务平台今日小说排行榜
  • 嘉兴响应式网站yahoo搜索引擎
  • 成都市网站建设今天的新闻 最新消息
  • facebook做网站推广淘宝怎么提高关键词搜索排名
  • 国外网站页头设计图片高端定制网站建设
  • 网站建设售后服务内容简述seo和sem的区别