博客
关于我
P12 PikaChu_目录遍历漏洞
阅读量:332 次
发布时间:2019-03-04

本文共 1517 字,大约阅读时间需要 5 分钟。

???????????

???????Web?????????????????????????????????????????????????????????????????????

????

?????????????????????????????????Web????????????????????????????????????????????????????????URL???

http://example.com/file.php?title=hello.txt

???????title?????????????????????????????title??????????????????????

http://example.com/file.php?title=../../etc/passwd

???????../../etc/passwd?????????????????/etc/passwd?????????????

?????

???????????????????????????URL????????????????URL?

http://example.com/file.php?title=../

???????????????????????????????????????../../..??????????????????

????????????????????????????????????????????????

  • ????????????????????????????????
  • ???????????????????????????
  • ?????????????????????????????????..???????
  • ????

    ??????????????????????????????

  • ??1??????????jarheads.php??????URL???
  • http://192.168.34.193/pikachu//vul/dir/dir_list.php?title=jarheads.php
    1. ??2??????????truman.php??????URL???
    2. http://192.168.34.193/pikachu//vul/dir/dir_list.php?title=truman.php

      ???????URL???????title??????????????????????????????????????title?????

      http://192.168.34.193/pikachu//vul/dir/dir_list.php?title=../../

      ????????????????????????????????URL?

      http://192.168.34.193/pikachu//vul/dir/../

      ???????????????????????????

      ????

      ??????????????????????

    3. ???????????????????????????????????
    4. ??PHP?open_basedir?????PHP??????????????????
    5. ??Web??????mod_rewrite????????????????????????
    6. ?????????????????????????????????????????
    7. ?????

      ?Web????????????????????????????????????????????????????????????????????????????

    转载地址:http://dvqh.baihongyu.com/

    你可能感兴趣的文章
    php实现单链表
    查看>>
    php实现图片背景换色功能
    查看>>
    php实现多个一维数组对应合并成二维数组
    查看>>
    php实现多关键字查找方法
    查看>>
    PHP实现微信公众号H5支付
    查看>>
    PHP实现微信公众号网页授权
    查看>>
    PHP实现微信小程序推送消息至公众号
    查看>>
    php实现根据身份证获取年龄
    查看>>
    PHP实现的MongoDB数据增删改查
    查看>>
    php实现短信验证功能
    查看>>
    RabbitMQ连接报错(1)—— None of the specified endpoints were reachable
    查看>>
    php实现逆转数组
    查看>>
    PHP实现通过geoip获取IP地理信息
    查看>>
    PHP实现页面静态化、纯静态化及伪静态化
    查看>>
    php容许ajax跨域,PHP设置允许ajax跨域请求的两种常见方法
    查看>>
    RabbitMQ进程结构分析与性能调优
    查看>>
    PHP对接百度地图
    查看>>
    PHP对表单提交特殊字符的过滤和处理
    查看>>
    php对象引用和析构函数的关系
    查看>>
    RabbitMQ HTTP 认证后端项目常见问题解决方案
    查看>>