一、题目/源代码
靶场链接:BUU UPLOAD COURSE 1
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<title>上传文件</title>
</head>
<body>
<div style="text-align: center">
<h>文件会被上传到 ./uploads</h>
<form action="index.php?file=upload.php" method="post" enctype="multipart/form-data">
<input type="file" name="upload_file"/>
<input type="submit" value="上传"/>
</form>
</div>
</body>
</html>
二、题目分析
这道题是一道文件上传题目,考点如下:
-
文件上传+图片马/命令执行