青少年CTF - Web - Flag在哪里 Wp WriteUp

12 篇文章 7 订阅
9 篇文章 2 订阅

平台名称:青少年CTF训练平台

题目名称:Flag在哪里?

解题过程:

 启动环境,需要等待大概20秒左右的时间。

访问,页面显示Flag反正不在这。

右键网页,发现无法使用右键。

那么我们直接F12

在<head>标签中的title标签下方,就有被注释的flag。

flag是动态的哦,同学们要自己好好做题!!

分析:

 通过这一语句禁用的右键。

<script>
document.oncontextmenu=new Function("return false")
document.onselectstart=new Function("return false")
</script>

当然,也可以写成

document.oncontextmenu = function() {return false;};

都是通过事件空返回造成的,这个时候只需要F12或者使用CURL等工具即可。

如果想很快的看到flag,其实我们好好使用F12即可。

F12在这里,可以很快的看到无缩减的HTML源码。

<html lang="en"><head>
    <meta charset="UTF-8">
    <title>Flag在哪里呢?</title>
	<!-- qsnctf{819a102b-db60-47e2-9929-3cffe0e86d22} --><style class="mpa-style-fix ImageGatherer">.FotorFrame{position:fixed!important}</style><style class="mpa-style-fix SideFunctionPanel">.weui-desktop-online-faq__wrp{top:304px!important;bottom:unset!important}.weui-desktop-online-faq__wrp .weui-desktop-online-faq__switch{width:38px!important}</style></head>
<body mpa-version="8.0.10" mpa-extension-id="ibefaeehajgcpooopoegkifhgecigeeg">
<script>
document.oncontextmenu=new Function("return false")
document.onselectstart=new Function("return false")
</script>


<h1>Flag反正不在这。</h1>


<div class="mpa-sc mpa-plugin-article-gatherer mpa-new mpa-rootsc" data-z="100" style="display: block;" id="mpa-rootsc-article-gatherer"></div><div class="mpa-sc mpa-plugin-image-gatherer mpa-new mpa-rootsc" data-z="100" style="display: block;" id="mpa-rootsc-image-gatherer"></div><div class="mpa-sc mpa-plugin-page-clipper mpa-new mpa-rootsc" data-z="100" style="display: block;" id="mpa-rootsc-page-clipper"></div><div class="mpa-sc mpa-plugin-text-gatherer mpa-new mpa-rootsc" data-z="100" style="display: block;" id="mpa-rootsc-text-gatherer"></div><div class="mpa-sc mpa-plugin-video-gatherer mpa-new mpa-rootsc" data-z="100" style="display: block;" id="mpa-rootsc-video-gatherer"></div><div class="mpa-sc mpa-plugin-side-function-panel mpa-new mpa-rootsc" data-z="110" style="display: block;" id="mpa-rootsc-side-function-panel"></div><div class="mpa-sc mpa-plugin-notifier mpa-new mpa-rootsc" data-z="120" style="display: block;" id="mpa-rootsc-notifier"></div><div class="mpa-sc mpa-plugin-notification-manager mpa-new mpa-rootsc" data-z="130" style="display: block;" id="mpa-rootsc-notification-manager"></div></body></html>

  • 3
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值