标签 · Php

Php

6 篇
  1. CISCN 2019 web writeup

    web1 题目源码链接 https://d4n-picture-database.oss-cn-beijing.aliyuncs.com/img/CISCN+2019+web1.zip 访问:http://172.28.76.89:8845/CISCN_2019_web1/ 得到提示,利用伪协议获取hint.php和index.php内容

  2. .htaccess 文件利用方式

    What’s .htaccess .htaccess文件是 Apache 中有一种特殊的文件,其提供了针对目录改变配置的方法,即在一个特定的文档目录中放置一个包含一条或多条指令的配置文件。此作用文件作用于此目录及其所有子目录。

  3. php exit 死亡绕过

    最近在复习一些内容,做记录,免得又忘了 Demo0 给出题目demo,如下: demo0.php 1 2 3 4 5 6 <?php show_source(__FILE__); $content = $_GET['content']; $data = $_GET['data']; $data = '<?php …

  4. PHP本体的C语言源码调试

    期望效果 比如某个php文件内容如下 1 2 3 4 5 6 7 8 9 10 11 12 <?php error_reporting(0); $strr = "<?php exit();"; $r = preg_replace('|[^a-z0-9A-Z+/]|s', '', $strr); …

  5. PHP Filter 伪协议实现细节

    在PHP中,关于编码转换,使用php://filter和iconv()进行编码转换有所不同 iconv 基本语法: 1 string iconv(string $in_charset, string $out_charset, string $str) 参数说明: $in_charset: 输入字符编码,即源字符串的编码。 $out_charset: 输出字符编码,即目标字符串 …

  6. PHP 转换过滤器

    PHP 过滤转换器 convert.base64* 包括 convert.base64-encode convert.base64-decode 使用这两个过滤器等同于分别用 base64_encode() 和 base64_decode() 函数处理所有的流数据。 设置参数 convert.base64-encode 支持以一个关联数组给出的参数。 如果给出了 …