当前位置:网站首页>sqqyw(淡然点图标系统)漏洞复现和74cms漏洞复现
sqqyw(淡然点图标系统)漏洞复现和74cms漏洞复现
2022-07-06 09:23:00 【不知名白帽】
目录
sqqyw(淡然点图标系统)
全局搜索关键字
搜索select

发现select,但是并不是sql语句中的select,这是标签中的select
选择正则和不区分大小写

查看带有变量id的文件内容
如果出现乱码则改变编码格式,可以换成GBK和UTF-8

对定义ID的ywX函数进行全局搜索


查看带有ywX函数的文件内容

查看/php/v144.php页面

对获取文字进行全文搜索

查看domain是否在sohuquan里面
对sohuquan进行全文追踪

获取你网站的地址
对domain进行全文追踪

修改来源地址


id=1


对文字继续进行搜索

让api==ok,且u,p,id都不为空
进行绕过


语句被执行
通过时间盲注判断回显

因为语句中sleep(3)被执行了三次,所以延迟9s
所以这里处在注入点
通过sqlmap工具注入即可
python sqlmap.py -u "http://localhost/sqqyw/php/v144.php?api=ok&u=1&p=1&id=1" --batch -p "id" --current-db74cms漏洞复现
利用二次注入的条件:
insert update
变量可控
进入会员中心

登录/注册

创建新简历

开启mysql监控

下断、更新

保存并监听


update里的语句跟我们插入的语句不相关,update里面的内容不是我们自己写的,是系统匹配的相应字段更新的数字,所以无法利用。
继续保存并监听


insert中的数据是我们选择的,不是我们插入的,所以无法利用。
还是保存并监听


这个使直接update更新的,没有进行插入,所以也不行。
还是继续保存并监听


存在insert和update,且变量可控
所以我们可以通过二次注入查看用户名



insert插入的时候过滤影响不大,只要update更新的时候别过滤就行。
简历管理

边栏推荐
- It's never too late to start. The tramp transformation programmer has an annual salary of more than 700000 yuan
- 网络基础详解
- Spot gold prices rose amid volatility, and the rise in U.S. prices is likely to become the key to the future
- Canvas foundation 2 - arc - draw arc
- 强化学习基础记录
- js判断对象是否是数组的几种方式
- 7-11 机工士姆斯塔迪奥(PTA程序设计)
- 7-5 staircase upgrade (PTA program design)
- 实验七 常用类的使用(修正帖)
- 7-1 输出2到n之间的全部素数(PTA程序设计)
猜你喜欢

Read only error handling

Canvas foundation 1 - draw a straight line (easy to understand)

Poker game program - man machine confrontation

Write a program to simulate the traffic lights in real life.

HackMyvm靶機系列(3)-visions

.Xmind文件如何上传金山文档共享在线编辑?

QT meta object qmetaobject indexofslot and other functions to obtain class methods attention

HackMyvm靶机系列(7)-Tron

MATLAB打开.m文件乱码解决办法

A piece of music composed by buzzer (Chengdu)
随机推荐
Reinforcement learning series (I): basic principles and concepts
[experiment index of educator database]
7-11 mechanic mustadio (PTA program design)
Mode 1 two-way serial communication is adopted between machine a and machine B, and the specific requirements are as follows: (1) the K1 key of machine a can control the ledi of machine B to turn on a
【头歌educoder数据表中数据的插入、修改和删除】
HackMyvm靶机系列(2)-warrior
Using qcommonstyle to draw custom form parts
About the parental delegation mechanism and the process of class loading
7-6 local minimum of matrix (PTA program design)
3. Input and output functions (printf, scanf, getchar and putchar)
String ABC = new string ("ABC"), how many objects are created
Using spacedesk to realize any device in the LAN as a computer expansion screen
Detailed explanation of three ways of HTTP caching
[dark horse morning post] Shanghai Municipal Bureau of supervision responded that Zhong Xue had a high fever and did not melt; Michael admitted that two batches of pure milk were unqualified; Wechat i
HackMyvm靶机系列(5)-warez
Why use redis
Nuxtjs quick start (nuxt2)
WEB漏洞-文件操作之文件包含漏洞
[data processing of numpy and pytoch]
Implementation principle of automatic capacity expansion mechanism of ArrayList