当前位置:网站首页>Cookie is used to collect the admin privileges CTF foundation problem
Cookie is used to collect the admin privileges CTF foundation problem
2022-08-02 04:01:00 【SevenCold】
A very basic ctf cookie question, if you don't know much about cookies, you can go here to see
https://blog.csdn.net/playboyanta123/article/details/79464684
Not much to say, go directly to the picture.
Source code is something useless.
According to the meaning of the question, we directly use burp to intercept and change the cookie
If the permission is insufficient after the naked packet capture, we directly change the cookie.
Comparing the u and r in the cookie, it will be found that both start with 351e766803, so let's decrypt (MD5) the following things.
Found that u is username and r is limited.
So we have to change the latter to get admin privileges.
is to change both u and r to 351e766803+md5 (admin), which is 351e76680321232f297a57a5a743894a0e4a801fc3.
Done!flag it appeared!
边栏推荐
- 13.JS输出内容和语法
- PHP image compression to specified size
- Masashi: 1 vulnhub walkthrough
- PHP的几个有趣的打开方式:从基本到变态
- [symfony/mailer] An elegant and easy-to-use mail library
- Alibaba Cloud MySQL 5.7 installation and some major problems (total)
- Query the indexes of all tables in the database and parse them into sql
- When PHP initiates Alipay payment, the order information is garbled and solved
- Orasi: 1 vulnhub walkthrough
- hackmyvm: kitty walkthrough
猜你喜欢
随机推荐
Shuriken: 1 vulnhub walkthrough
Xiaoyao multi-open emulator ADB driver connection
利用cookie获取admin权限 CTF基础题
About the apache .htaccess file of tp
Baidu positioning js API
(3) 字符串
[campo/random-user-agent] Randomly fake your User-Agent
SQL classification, DQL (Data Query Language), and corresponding SQL query statement demonstration
(2) 顺序结构、对象的布尔值、选择结构、循环结构、列表、字典、元组、集合
PHP8.2将会有哪些新东西?
The Error in the render: "TypeError: always read the properties of null '0' (reading)" Error solution
CSRF(跨站请求伪造)
TypeScript error error TS2469, error TS2731 solution
17.JS条件语句和循环,以及数据类型转换
hackmyvm: juggling walkthrough
(1) the print () function, escape character, binary and character encoding, variables, data type, the input () function, operator
3. PHP data types, constants, strings and operators
vim编辑模式
(1) print()函数、转义字符、二进制与字符编码 、变量、数据类型、input()函数、运算符
一个网络安全小白鼠的学习之路—nmap高级用法之脚本使用







![[league/climate]一个功能健全的命令行功能操作库](/img/ce/39114b1c74af649223db97e5b0e29c.png)