当前位置:网站首页>Why PHP is not safe
Why PHP is not safe
2022-06-25 04:39:00 【zepcjsj0801】
Recently I met two customers , Said a question that made me a little suspicious of life :php unsafe
Be me php Decade , This problem started with me php I heard that , But I never took it seriously .
My college major is .net, My job after graduation is to develop , however .net Development and debugging of 、 modify bug The process is very urgent , It may also be caused by insufficient level at that time .
Once in a while, I came into contact with the project php, To be exact, contact with thinkphp, Projects in other languages are php It seems too bloated and cumbersome in front of me , Then on php It just got out of hand .
Until recently, two large customers asked this question , After I tried my best to explain the reason, I had to recall whether what I explained seemed more obvious .
Back to the point :
1. For the non professional development customer group ,php The reason for insecurity is that their company's official website is suspended , Notice that this is " Official website ", Why do you say that? , The official website quotation of a custom design is generally in 5k To ten thousand , It does not rule out that big factories have high requirements . But if the quotation for a template is about 1000, it will be done , Even lower , A company is seldom willing to spend tens of thousands to do one java perhaps .net Its official website . The most common is to find a set cms Change directly , Common are phpcms, The empire cms, Dream weaving, etc , These sets cms Are no longer updated and maintained , Online downloads are all older versions , Loopholes have long been all over the network , Niche cms Let alone . therefore , The more you use, the more questions you ask .
2. Programmers like php The reason is that it is simple or convenient , Take a chestnut , Use one if($xx) Can judge xx Use not used as a condition to perform the next step ,java or .net First, ensure the data format , Then we can judge whether it is empty or true. therefore , The simpler things are, the easier they are to be broken
3. Development issues , What I have more contact with is thinkphp and yii frame , The system is rarely said to be hacked , It doesn't mean that you need a frame to prevent being hacked , It is only the composition of the framework that avoids the emergence of loopholes , Just take it url In terms of parameters , Use within the framework is handled , Use directly without treatment , Just like streaking .
– Too busy , Write again when you have time
边栏推荐
- OOP 向量加减(友元+拷贝构造)
- CTF_ Web: deserialization of learning notes (II) CTF classic test questions from shallow to deep
- Gbase 8s memory management
- Excel exports data to SQL and pictures to folder through macro | VBA
- GBASE 8s的并行操作问题场景描述
- LabVIEW development gas regulator
- SQL注入详解
- Deep learning - several types of learning
- 单元测试覆盖率
- GBASE 8s存储过程执行和删除
猜你喜欢
重磅直播 | 相移法+多频外差之数学原理推导+实现
File upload vulnerability shooting range upload labs learning (pass1-pass5)
leetcode1221. 分割平衡字符串
Deep learning - several types of learning
CTF_ Web: Advanced questions of attack and defense world expert zone WP (19-21)
unity Quad剔除背面并剔除透明部分的shader
30岁了开始自学编程,家里比较困难还来得及吗?
Upgrade PHP to php7 The impact of X (I). The problem of session retention. Keep login
【无标题】
CTF_ Web: how to recognize and evaluate a regular expression
随机推荐
单元测试覆盖率
小白学习MySQL - 统计的'投机取巧'
Classification of gbase 8s locks
Wechat likes to pay attention to the solution of invalid automatic reply
Part I Verilog quick start
Code scanning payment flow chart of Alipay payment function developed by PHP
Vscode 设置clang-format
Thorough understanding of database transactions
Use text analysis to identify the main gender in a text
Gbase 8s stored procedure syntax structure
Musk released humanoid robot. Why is AI significant to musk?
JS' sort() function
What is persistence? What are RDB and AOF in redis persistence?
Paper notes: multi label learning ESMC (I don't understand it, but I haven't written it yet, so I'll put it here for a place temporarily)
ROS2/DDS/QoS/主题的记录
Solution of gbase 8s livelock and deadlock
Record small knowledge points
Retrofit source code analysis
2021.8.29 notes: register, bit operation, pointer, structure
js的arguments