当前位置:网站首页>[CTF攻防世界] WEB区 关于Cookie的题目
[CTF攻防世界] WEB区 关于Cookie的题目
2022-07-26 22:39:00 【ATZXC红蓝对抗】
1、题目描述
X老师告诉小宁他在cookie里放了些东西,小宁疑惑地想:‘这是夹心饼干的意思吗?’
2、题目涉及知识点
涉及到Cookie的知识点,以及JS脚本的获取Cookie的代码
alert(document.cookie());3、解题思路
通过题目,打开它的在线场景,可以得到一个字符串
你知道什么是cookie吗?
打开这个检查命令,然后通过命令获取Cookie
alert(document.cookie); 可以看到获取的Cookie是一个PHP的页面
通过获取到的页面,进行拼接,查看一下

从此处可以得到一个信息,翻译过来就是查看HTTP的响应
我们查看一下HTTP的响应
最后得到flag

cyberpeace{190a9067582421889a7260d32eb80965}
边栏推荐
- 用New,delete和用malloc,free申请,释放堆区空间
- [4.4 detailed explanation of fast power and inverse element of fast power]
- CDs simulation of minimum dominating set based on MATLAB
- 继承,继承,继承
- [4.10 detailed explanation of game theory]
- 2020-12-20 99 multiplication table
- 【4.9 容斥原理详解】
- [4.9 detailed explanation of inclusion exclusion principle]
- DOM day_ 04 (7.12) BOM, open new page (delayed opening), address bar operation, browser information reading, historical operation
- DOM day_ 01 (7.7) introduction and core operation of DOM
猜你喜欢

【 Educational Codeforces Round 132 (Rated for Div. 2) A·B·C】

Leetcode 301 week

【AcWing第61场周赛】

JSCORE day_01(6.30) RegExp 、 Function

The use of C language static can flexibly change the life cycle and make you write code like a duck to water

Application of encoding in XSS

Crop TIF image

DOM day_ 01 (7.7) introduction and core operation of DOM
![[qt] attribute](/img/ca/5f9d8f33e38b0ac5cbb0768a7b3ffd.png)
[qt] attribute

C language shutdown applet
随机推荐
JS screen detection method summary 2021-10-05
Ansible MySQL installation case record
JSCORE day_ 05(7.6)
【4.4 快速幂详解及快速幂求逆元】
ES6中的export和import
Promise basic usage 20211130
Learn json.stringify again
SSRF explanation and burp automatic detection SSRF
JSCORE day_02(7.1)
DOM day_02(7.8)网页制作流程、图片src属性、轮播图、自定义属性、标签栏、输入框事件、勾选操作、访问器语法
Dynamic binding, static binding, and polymorphism
[SQL注入] 扩展注入手法
Two methods of automated testing XSS vulnerabilities using burpsuite
Alibaba internal "shutter" core advanced notes~
3_ Jupiter notebook, numpy and mattlotlib
Detailed explanation of this point in JS
[红明谷CTF 2021]write_shell
QML type system
【AcWing第61场周赛】
2020-12-22 maximum common factor