当前位置:网站首页>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!
边栏推荐
猜你喜欢
MOMENTUM: 2 vulnhub walkthrough
(3) Thinkphp6 database
SQL classification, DQL (Data Query Language), and corresponding SQL query statement demonstration
hackmyvm: controller walkthrough
kali安装IDEA
VIKINGS: 1 vulnhub walkthrough
Shuriken: 1 vulnhub walkthrough
13. JS output content and syntax
The Error in the render: "TypeError: always read the properties of null '0' (reading)" Error solution
(1)Thinkphp6入门、安装视图、模板渲染、变量赋值
随机推荐
(2) Thinkphp6 template engine ** tag
(7) superficial "crawlers" process (concept + practice)
[trendsoft/capital]金额转中文大写库
TypeScript error error TS2469, error TS2731 solution
Masashi: 1 vulnhub walkthrough
hackmyvm-random walkthrough
CSRF(跨站请求伪造)
[symfony/mailer]一个优雅易用的发送邮件类库
hackmyvm: controller walkthrough
What are the PHP framework?
(3)Thinkphp6数据库
hackmyvm-hopper walkthrough
文件上传漏洞
2. PHP variables, output, EOF, conditional statements
Baidu positioning js API
CTF入门之php文件包含
攻防世界—MISC 新手区1-12
hackmyvm: again walkthrough
Warzone: 3 (Exogen) vulnhub walkthrough
After the mailbox of the Pagoda Post Office is successfully set up, it can be sent but not received.