当前位置:网站首页>[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)
边栏推荐
- go-zero微服务实战系列(九、极致优化秒杀性能)
- [go basics] 2 - go basic sentences
- FOC控制
- [BSP video tutorial] stm32h7 video tutorial phase 5: MDK topic, system introduction to MDK debugging, AC5, AC6 compilers, RTE development environment and the role of various configuration items (2022-
- FRP intranet penetration, reverse proxy
- es6总结
- Parallel shift does not provide any acceleration - C #
- Do you know about autorl in intensive learning? A summary of articles written by more than ten scholars including Oxford University and Google
- Application of isnull in database query
- Wechat has new functions, and the test is started again
猜你喜欢
AcWing 244. Enigmatic cow (tree array + binary search)
How college students choose suitable computers
Redis 哨兵机制
How to choose solid state hard disk and mechanical hard disk in computer
DM8 command line installation and database creation
MySQL relearn 1-centos install mysql5.7
zabbix监控系统自定义监控内容
Moher college phpMyAdmin background file contains analysis traceability
Ecole bio rushes to the scientific innovation board: the annual revenue is 330million. Honghui fund and Temasek are shareholders
zabbix监控系统邮件报警配置
随机推荐
1、卡尔曼滤波-最佳的线性滤波器
FOC控制
[CV] Wu Enda machine learning course notes | Chapter 9
How to send pictures to the server in the form of file stream through the upload control of antd
What does range mean in PHP
Moher College phpmailer remote command execution vulnerability tracing
Laravel page load problem connection reset - PHP
zabbix监控系统部署
ES6 summary
Thesis learning -- time series similarity query method based on extreme point characteristics
How to improve your system architecture?
如何通过antd的upload控件,将图片以文件流的形式发送给服务器
ZABBIX monitoring system custom monitoring content
The second session of the question swiping and punching activity -- solving the switching problem with recursion as the background (I)
Need help resetting PHP counters - PHP
How does Xiaobai buy a suitable notebook
deno debugger
R language ggplot2 visualization: ggplot2 visualization grouping box diagram, place the legend and title of the visualization image on the top left of the image and align them to the left, in which th
How to re enable local connection when the network of laptop is disabled
2022 tower crane driver examination and tower crane driver examination questions and analysis