当前位置:网站首页>[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 :
- <
边栏推荐
- Helm -- a powerful package management tool for kubernetes applications
- 百度网盘+Chrom插件
- Li Kou 1184. Distance between bus stops
- 高阶产品如何提出有效解决方案?(1方法论+2案例+1清单)
- 头脑风暴之——利用reduce方法重构concat函数
- PCL点云处理之均匀采样抽稀(六十一)
- Org.json Jsonexception: what about no value for value
- 物联网平台返回数据解析时遇到org.json.JSONException: No value for Value怎么办
- Outlook邮件创建的规则失效,可能的原因
- Gradle learning set integration
猜你喜欢

一文读懂Elephant Swap的LaaS方案的优势之处

Monotonic stack structure exercise -- cumulative sum of minimum values of subarrays

从暴力递归到动态规划,记忆化搜索

Gee - dataset introduction mcd12q1

背景图和二维码合成

Using FRP to achieve intranet penetration

From A76 to A78 -- learning arm microarchitecture in change
![Luogu p2024 [noi2001] food chain](/img/7f/6ccbc19942f0d4a153025346496834.png)
Luogu p2024 [noi2001] food chain

Plane regularization of PCL point cloud processing (55)

From Fibonacci sequence to matrix fast power technique
随机推荐
线段树,,
JUC concurrent programming - Advanced 05 - lock free of shared model (CAS | atomic integer | atomic reference | atomic array | field updater | atomic accumulator | unsafe class)
Process / thread synchronization mechanism
[1184. Distance between bus stops]
Available parameters of ansible Playbook
有序表之AVL树
QT learning vs creating QT items shows instances where object references are not set to objects
从暴力递归到动态规划,记忆化搜索
阿里云SSL证书
Oracle中实现对指定数据分组且获取重复次数
《ArchSummit:珍爱微服务底层框架演进》
Poj2308 continuously look at dfs+bfs+ optimization
Website resources
PCL point cloud processing to find the two endpoints of the line point set (57)
IndexTree2D
PCL点云处理之均匀采样抽稀(六十一)
《元宇宙2086》单日销量超《三体》 夺得京东图书单日科幻榜冠军
Application programming of communication heartbeat signal for communication abnormality judgment
用VS Code搞Qt6:编译源代码与基本配置
【云原生之kubernetes】kubernetes集群高级资源对象statefulesets