当前位置:网站首页>[attack and defense world | WP] cat
[attack and defense world | WP] cat
2022-07-04 08:31:00 【ethanyi9】
【 Attack and defend the world | WP】CAT
The problem solving steps
analysis
Open the page to see 
Input url Found no response , And input 127.0.0.1 This kind of ip After the address , Echo occurred

Find out url You can enter values directly , Let's try wide byte input , That is input %80, The error reporting interface appears 
Replace the error reporting interface with html, Found to be Django Error reporting interface
The bosses say yes django The code is set to gbk Caused wide characters to be incorrectly encoded ( More than the ascii Code range ).
The idea behind is to look at the prompt directly , I heard that there was a hint during the game 
That is to say, it can be used @ And file path
Then we can only follow the train of thought , That is, first look at the previous error page database The path of ( There is no idea to find others here , Just look at the database first )

Then read the file , Input
@/opt/api/database.sqlite3

Learning knowledge
URL code
What is? URL code
url Coding is a coding format , It and utf-8 perhaps GBK The difference in coding is url Encoding is for characters other than alphanumeric , for instance :
- ASCII Character control code : character in range 00-1F Hexadecimal (0-31 Decimal system ) and 7F(127 Decimal system )
- Not ASCII Encoding format characters , such as GBK code 、utf-8 Code the Chinese character part of these two codes ( notes :GBK Chinese characters in the code are two bytes , stay url In the code, it is shaped like %B4%BA, and utf-8 It's three bytes , stay url In the code, it is shaped like %E6%98%A5)
边栏推荐
- [gurobi] establishment of simple model
- [Chongqing Guangdong education] National Open University spring 2019 455 logistics practice reference questions
- 如何通过antd的upload控件,将图片以文件流的形式发送给服务器
- 墨者学院-PHPMailer远程命令执行漏洞溯源
- yolov5 xml数据集转换为VOC数据集
- [test de performance] lire jmeter
- C#实现一个万物皆可排序的队列
- A method for detecting outliers of data
- Li Kou today's question -1200 Minimum absolute difference
- Leetcode 23. Merge K ascending linked lists
猜你喜欢

【Go基础】1 - Go Go Go

Newh3c - network address translation (NAT)

墨者学院-Webmin未经身份验证的远程代码执行
![[go basics] 2 - go basic sentences](/img/b1/961615b439d75679a3bb40a60f208d.png)
[go basics] 2 - go basic sentences

Manjaro install wechat
![Sports [running 01] a programmer's half horse challenge: preparation before running + adjustment during running + recovery after running (experience sharing)](/img/c8/39c394ca66348044834eb54c68c2a7.png)
Sports [running 01] a programmer's half horse challenge: preparation before running + adjustment during running + recovery after running (experience sharing)

Système de surveillance zabbix contenu de surveillance personnalisé

Question 49: how to quickly determine the impact of IO latency on MySQL performance

Azure ad domain service (II) configure azure file share disk sharing for machines in the domain service

zabbix監控系統自定義監控內容
随机推荐
Use preg_ Match extracts the string into the array between: & | people PHP
DM8 database recovery based on point in time
Using the rate package for data mining
Comprendre la méthode de détection des valeurs aberrantes des données
运动【跑步 01】一个程序员的半马挑战:跑前准备+跑中调整+跑后恢复(经验分享)
Example analysis of C # read / write lock
AcWing 244. Enigmatic cow (tree array + binary search)
ZABBIX monitoring system custom monitoring content
Application of isnull in database query
Unity-Text上标平方表示形式+text判断文本是否为空
一文了解數據异常值檢測方法
Difference between static method and non static method (advantages / disadvantages)
Need help resetting PHP counters - PHP
根据数字显示中文汉字
The right way to capture assertion failures in NUnit - C #
Système de surveillance zabbix contenu de surveillance personnalisé
Azure ad domain service (II) configure azure file share disk sharing for machines in the domain service
2022 gas examination registration and free gas examination questions
Common components of flask
How college students choose suitable computers