当前位置:网站首页>[zero basis] SQL injection for PHP code audit
[zero basis] SQL injection for PHP code audit
2022-07-24 22:41:00 【Xuanzi Technology】
In the eyes of many people , The basis of code audit is code , That's right , But if you can't code , Can we learn code auditing ?
The answer is : Sure ( However, due to the limited reading ability of personal code , Many vulnerabilities may not be so easy to be noticed )
0x01 The preparation process
Before we start, we need to know some necessary things we need to prepare , Of course, we are not talking about the environment required for code audit , But some information we need to consult in the process of code audit .
1:php Official website
https://www.php.net/
The main function is to view the function function , Our article mainly talks about sql Inject , Except, of course sql Functions related to vulnerabilities other than injection can also be passed php Viewed on the official website , Of course, in order to improve myself php Code reading ability can also pass php Learn on the official website .
2: Rookie College
https://www.runoob.com/php/php-tutorial.html
Rookie College php The page is not as complete as the functions on the official website , But rookie college is mainly for learning , It can improve personal code reading ability .
0x02 sql The generation of Injection
In previous articles , You may have been right sql Injection has a certain understanding , Let's not introduce too much , Students who don't understand can read our past articles , Let's look directly at the code , With sqli-labs Medium less-1 For example , The page code is as follows :
- <
边栏推荐
- VC prompts to recompile every time you press F5 to run
- General syntax and classification of SQL language (II)
- ansible-playbook 可用参数
- MySQL查询慢的一些分析
- Baidu online disk +chrome plug-in
- ODBC executes stored procedure to get return value
- On the open and closed principle
- 一文读懂Elephant Swap的LaaS方案的优势之处
- The kettle job implementation runs a kettle conversion task every 6S
- Monotonic stack structure exercise -- cumulative sum of minimum values of subarrays
猜你喜欢

工业物联网中的时序数据

Icassp 2022 | KS transformer for multimodal emotion recognition

IP first experiment hdcl encapsulates PPP, chap, mGRE

单调栈结构练习——子数组最小值的累加和

Multi task face attribute analysis based on deep learning (based on paddlepaddle)

暴力递归——N皇后详解 && 如何用位运算进行优化

Application programming of communication heartbeat signal for communication abnormality judgment

IndexTree

The specified data is grouped and the number of repetitions is obtained in Oracle

《元宇宙2086》单日销量超《三体》 夺得京东图书单日科幻榜冠军
随机推荐
Process / thread synchronization mechanism
洛谷 P2024 [NOI2001] 食物链
What are the methods of knowledge map relation extraction
Flex layout
Enterprise operation we media can't "self Hi": the content should be grounded, not advertising
阿里云SSL证书
Connector in C
暴力递归——N皇后详解 && 如何用位运算进行优化
由斐波那契数列引述到矩阵快速幂技巧
P3201 [HNOI2009] 梦幻布丁 启发式合并
[which is better to use, apopost or apifox? Just read this!]
burp从溯源到反制思路
《元宇宙2086》单日销量超《三体》 夺得京东图书单日科幻榜冠军
关于板载继电器供电不足引起不能吸合的问题
A compatible, smaller and easy-to-use web font API
聊聊 Redis 是如何进行请求处理
Website resources
DDoS attack classification
How about Minsheng futures? Is it safe?
AVL tree of ordered table