当前位置:网站首页>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
边栏推荐
- CTF serialization and deserialization
- Report on the "fourteenth five year plan" and future development direction of global and Chinese indoor vertical farms from 2022 to 2028
- Tencent Interviewer: How did binder get its system services?
- Microsoft prohibits Russian users from downloading and installing win10/11
- Zhubo Huangyu: all the precious metals you want to know are here
- Clickhouse stand alone installation
- Composer version rollback version switching
- BSC 及HT 等链的NFT 创造及绑定图片教程
- Notes on enterprise wechat development [original]
- Database related knowledge
猜你喜欢
线程同步之互斥量(互斥锁)
Laravel framework Alipay payment fails to receive asynchronous callback request [original]
Threejs专用天空盒素材,五种天空盒素材免费下载
Simple personal summary of tp6 multi application deployment -- Part I [original]
Part 4: drawing quadrilateral
六、项目实战---识别猫和狗
CTF serialization and deserialization
Redis cache data consistency solution analysis
修改Oracle连接数
Detailed explanation of globalkey of flutter
随机推荐
Threejs special sky box materials, five kinds of sky box materials are downloaded for free
Implementation of seven classes of BlockingQueue interface
[geek challenge 2019] rce me
Minecraft 1.16.5 生化8 模组 1.9版本 1.18版本同步
Analysis report on development status and future trend of CMOS image sensor industry in China 2022 ~ 2028
Install SVN in Pagoda and build SVN version Library
Clean up photo SCR virus / iframekill injection removal /iframekill removal photo scr
CTF PHP audit bypasses filtering learning from topics
What are the advantages and risks of paper gold investment
Oracle 數據泵導錶
Zhubo Huangyu: all the precious metals you want to know are here
A brain map to summarize the needs analysis (a supplement to the actual situation at work)
六、项目实战---识别猫和狗
Oracle 数据泵导表
Question brushing record day01
Your requirements could not be resolved
Principle and implementation of syn cookie
BSC 及HT 等链的NFT 创造及绑定图片教程
Oracle data pump table
Judge the same value of two sets 𞓜 different values