ctfshow web01-20 信息收集

慢慢打基础

Published
Reading
3 min
Category
CTF
Tags
信息收集ctfshow
On this page
  1. web1
  2. web2
  3. web3
  4. web4
  5. web5
  6. web6
  7. web7
  8. web8
  9. web9
  10. web10
  11. web11
  12. web12
  13. web13
  14. web14
  15. web15
  16. web16
  17. web17
  18. web18
  19. web19
  20. web20

web1

F12直接看

image-20251210214514575

web2

题目提示:js前台拦截

那就Ctrl + U或在url前加view-source:来看一下源代码

image-20251210214904370

web3

先看一下源代码,什么都没有

再抓个包看看

image-20251210215300854

web4

访问 /robots.txt

得到 /flagishere.txt

打开就是flag了

web5

访问 /index.phps

下载源码

<?php

/*
# -*- coding: utf-8 -*-
# @Author: h1xa
# @Date:   2020-09-01 14:14:17
# @Last Modified by:   h1xa
# @Last Modified time: 2020-09-01 14:34:53
# @email: h1xa@ctfer.com
# @link: https://ctfer.com

*/

//ctfshow{8551c8d5-8d95-471b-9b1b-2a550a0193e5}
echo "web5:where is flag ?"

web6

访问 /www.zip

下载网站备份文件

打开fl000g.txt

web7

访问 /.git/

web8

访问 /.svn/

web9

访问 /index.php.swp

web10

F12看Cookie

web11

查询DNS

两种方法查询

  1. https://zijian.aliyun.com/
  2. nslookup

执行nslookup -qt=txt flag.ctfshow.com

image-20260116205013664

题目失效了

web12

/robots.txt 得知 /admin

然后题目提示用户名admin,密码在网站最下面

那就是电话号码 372619038

输入账密得到flag

web13

题目提示技术文档,在网站最下方找到document

image-20260116210128625

查看文档得知

⚫ 登陆 默认后台地址:http://your-domain/system1103/login.php 默认用户名:admin 默认密码:admin1103

web14

访问 /editor

发现是一个编辑器

image-20260116211606354

随便提交一下文本,不行

在图片上传中有一个网络图片选项

image-20260116211724504

点击打开了网站根目录

最后在/var/www/html/nothinghere目录中发现 fl000g.txt

访问 /nothinghere/fl000g.txt 得到flag

web15

使用扫描工具得到 /admin

点击忘记密码,输入密保答案(通过主页contact留下的qq号,查询后得知)

image-20260116212608706

重置密码后,登录得到flag

web16

题目提示 php探针

先访问/phpinfo.php 不行

再尝试 /tz.php ,访问成功

然后访问phpinfo,得到flag

web17

根据提示,访问sql备份文件路径

/backup.sql

web18

访问小游戏的js文件

解码一下

image-20260116221823289

直接访问 /110.php,得到flag

web19

查看源码,发现注释

    <!--
    error_reporting(0);
    $flag="fakeflag"
    $u = $_POST['username'];
    $p = $_POST['pazzword'];
    if(isset($u) && isset($p)){
        if($u==='admin' && $p ==='a599ac85a73384ee3219fa684296eaa62667238d608efa81837030bd1ce1bf04'){
            echo $flag;
        }
}

题目采用AES加密,但是后端未解密,而是直接比对加密后的值

所以用hackbar,发post

image-20260116223338524

web20

访问 /db/db.mdb

image-20260116224847931

Author
YU030X
Published

Images are sourced from the internet. Please contact me for removal if necessary.

Comments

Type to search posts and pages.

K to open · esc to closeSearch by Pagefind