当前位置:网站首页>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
边栏推荐
- 冰冰学习笔记:循环队列的实现
- PostgreSQL数据库WAL——RM_HEAP_ID日志记录动作
- GBASE 8s的并行操作问题场景描述
- Classification of gbase 8s locks
- Anaconda安装+TensorFlow安装+Keras安装+numpy安装(包含镜像和版本信息兼容问题)
- 大话云原生数据库中的存算分离
- Xiaobai learns MySQL - Statistical 'opportunism'
- Musk released humanoid robot. Why is AI significant to musk?
- leetcode1221. 分割平衡字符串
- The solution of wechat applet switchtab unable to take parameters
猜你喜欢

The solution of wechat applet switchtab unable to take parameters

CTF_ Web:php weak type bypass and MD5 collision

PHP extracts and analyzes table contents, and collects bidding information

第九章 APP项目测试(2) 测试工具

单元测试覆盖率

Anaconda安装+TensorFlow安装+Keras安装+numpy安装(包含镜像和版本信息兼容问题)

CTF_ Web: Advanced questions of attack and defense world expert zone WP (1-4)

leetcode1221. 分割平衡字符串

Upgrade PHP to php7 The impact of X (2), the obsolescence of mcrypt decryption

2.0SpingMVC使用RESTful
随机推荐
CTF_ Web: how to recognize and evaluate a regular expression
Machine learning deep learning -- Vectorization
GBase 8s 锁的分类
Thorough understanding of database transactions
Office macro virus bounce shell experiment
简单的恶意样本行文分析-入门篇
Vscode 设置clang-format
GBASE 8s的隔离级别介绍
js的call()和apply()
English Grammar - pronunciation rules
GBASE 8s存储过程执行和删除
计算学生成绩等级(虚函数和多态)
Upgrade PHP to php7 The impact of X (2), the obsolescence of mcrypt decryption
What is the storage engine and the three common database storage engines for MySQL
2020.3.3 notes async/await and promise and Then processes and threads
515. 在每个树行中找最大值 / 剑指 Offer II 095. 最长公共子序列
Immutable學習之路----告別傳統拷貝
Mongodb cluster
Upgrade PHP to php7 X (III) failure of wechat payment callback
GBASE 8S内存管理