当前位置:网站首页>An unexpected attempt (Imperial CMS list template filters spaces and newlines in smalltext introduction)
An unexpected attempt (Imperial CMS list template filters spaces and newlines in smalltext introduction)
2022-06-26 04:21:00 【Scholar and】
Online search methods :
`
<?
$qian=array(" "," ","\t","\n","\r","<br/>","<p>","</p>");
$hou=array("","","","","","","","");
$smalltext=str_replace($qian,$hou,$navinfor[smalltext]);
echo $smalltext;
?>
`
The experiment failed , Subsequent use htmlentities Function outputs variables as is , The result contains “ Line breaks like spaces ”.
analysis : When the system is submitted , In the content variable br,p, A carriage return , The line feed labels are uniformly converted to carriage return characters , Saved in the database .
result :
<?
$smalltext=str_replace(' ','',$navinfor[smalltext]);
echo $smalltext;
?>
After many tests, it is found that the parameters to be replaced are “ A carriage return ” That is to say, just hit "enter"
notes : It was an incredible result , Just an unintentional attempt , It turned out to be it , Because I am not very proficient in computer theory , So know what it is and don't know why , Write it down for later decryption
边栏推荐
- C generic
- Sorting out the knowledge points of the renderview renderobject parentdata of the shuttle
- Mobile terminal pull-down loading pull-down loading data
- Using jsup to extract images from interfaces
- What should I do if I don't understand the precious metal indicators
- Minecraft 1.16.5 biochemical 8 module 1.9 version 1.18 version synchronization
- Which is the best embedded visual programming software? (introduction, evaluation and selection of visual programming platform) [scratch, mind+, mixly]
- How does virtual box virtual machine software accelerate the network speed in the virtual system?
- Install dbeaver and connect Clickhouse
- Understand CGI and fastcgi
猜你喜欢
![[Qunhui] import certificate](/img/1f/ab63b0556a60b98388b482d70f6156.jpg)
[Qunhui] import certificate

Wechat applet is bound to a dynamic array to implement a custom radio box (after clicking the button, disable the button and enable other buttons)

CTF PHP audit bypasses filtering learning from topics

Modify the number of Oracle connections

Tp6 controller does not exist: app\index\controller\index

Knowledge of SQL - database design, backup and restore

Chrome page recording and playback function

Part 4: drawing quadrilateral

Install cenos in the virtual machine

Spark - 一文搞懂 parquet
随机推荐
Mysql8.0 configuring my SQL in INI file_ mode=NO_ AUTO_ CREATE_ User can start
[Qunhui] no port access (reverse proxy + intranet penetration)
Install dbeaver and connect Clickhouse
Getting started with flask
BSC 及HT 等链的NFT 创造及绑定图片教程
SQL related knowledge - DDL
Ipvs0 network card of IPVS
Performance test comparison between PHP framework jsnpp and thinkphp6
List of provinces, cities and counties in China
Minecraft 1.16.5 biochemical 8 module 1.9 version 1.18 version synchronization
[learn FPGA programming from scratch -45]: vision chapter - integrated circuits help high-quality development in the digital era -2- market forecast
Video label forbids downloading. The test is valid. Hide button. The test is valid at three points
Force buckle 515 Find the maximum value in each tree row
The open software of win10 system is too small. How to make it larger (effective through personal test)
Oracle 數據泵導錶
CTF serialization and deserialization
The stc-isp burning program for 51 single chip microcomputer always shows that "the target single chip microcomputer is being detected..." the cold start board does not respond
mysql自帶的性能測試工具mysqlslap執行壓力測試
Swagger
How to use EEPROM in 51 Single Chip Microcomputer?