<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>渗透测试 on Mofei's Blog</title><link>https://mofei-blog.pages.dev/tags/%E6%B8%97%E9%80%8F%E6%B5%8B%E8%AF%95/</link><description>Recent content in 渗透测试 on Mofei's Blog</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><copyright>Mofei</copyright><lastBuildDate>Mon, 24 Nov 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://mofei-blog.pages.dev/tags/%E6%B8%97%E9%80%8F%E6%B5%8B%E8%AF%95/index.xml" rel="self" type="application/rss+xml"/><item><title>渗透知识整理1</title><link>https://mofei-blog.pages.dev/p/%E6%95%B4%E7%90%86%E8%B8%A9%E5%9D%91%E6%97%A5%E8%AE%B0/</link><pubDate>Mon, 24 Nov 2025 00:00:00 +0000</pubDate><guid>https://mofei-blog.pages.dev/p/%E6%95%B4%E7%90%86%E8%B8%A9%E5%9D%91%E6%97%A5%E8%AE%B0/</guid><description>&lt;img src="https://mofei-blog.pages.dev/p/%E6%95%B4%E7%90%86%E8%B8%A9%E5%9D%91%E6%97%A5%E8%AE%B0/1.jpg" alt="Featured image of post 渗透知识整理1" />&lt;h2 id="渗透环境准备">渗透环境准备
&lt;/h2>&lt;h3 id="渗透工具">渗透工具
&lt;/h3>&lt;h4 id="java">Java
&lt;/h4>&lt;pre>&lt;code>JDK 8
&lt;/code>&lt;/pre>
&lt;h4 id="python">python
&lt;/h4>&lt;pre>&lt;code>miniconda3虚拟环境中安装
&lt;/code>&lt;/pre>
&lt;h4 id="vmware">VMware
&lt;/h4>&lt;pre>&lt;code>虚拟机
&lt;/code>&lt;/pre>
&lt;h4 id="linux使用基础">Linux使用基础
&lt;/h4>&lt;h4 id="kail-linux">kail Linux
&lt;/h4>&lt;pre>&lt;code>1、下载Kail Linux 的iso镜像，使用VMWare虚拟机安装镜像，然后搭建一个kail Linux环境
2、配置Kail Lnux
&lt;/code>&lt;/pre>
&lt;h4 id="虚拟靶场环境搭建">虚拟靶场环境搭建
&lt;/h4>&lt;h4 id="docker">Docker
&lt;/h4>&lt;pre>&lt;code>一个开源的应用容器引擎，让开发者可以打包应用及依赖包到一个可移植的容器中，然后发布到任何流行的Linux或Windows机器上，也可以实现虚拟化容器（使用沙箱机制）
&lt;/code>&lt;/pre>
&lt;h5 id="组成部分">组成部分
&lt;/h5>&lt;pre>&lt;code>Docker Client ：客户端
Docker Daemon ：守护进程
Docker Image ：镜像
Docker Container ：容器
&lt;/code>&lt;/pre>
&lt;h5 id="安装">安装
&lt;/h5>&lt;pre>&lt;code>1、下载docker(这里使用了脚本)
2、查看docker服务状态 [root@localhost ~]# systemctl status docker
3、启动docker服务 [root@localhost ~]# systemctl start docker
4、开启自动启动Docker服务 [root@localhost ~]# systemctl enable docker
5、安装docker-compose（虽然新版Docker自带了compose命令，但是不好用，还是自己安装一个docker-compose）
6、配置为国内镜像源
&lt;/code>&lt;/pre>
&lt;h5 id="基本操作">基本操作
&lt;/h5>&lt;h6 id="镜像操作">镜像操作
&lt;/h6>&lt;pre>&lt;code>1、查看镜像 [root@localhost ~]# docker images/docker image ls -a
2、拉取镜像 [root@localhost ~]# docker image pull +镜像名
3、删除镜像 [root@localhost ~]# docker image rm +镜像名/docker rmi +镜像名/镜像ID（正在运行的容器是无法删除的）
4、停止镜像[root@localhost ~]# docker ps
5、镜像保存[root@localhost ~]# docker save -o 保存的文件 镜像名
6、镜像加载[root@localhost ~]# docker load -i 镜像文件
&lt;/code>&lt;/pre>
&lt;h6 id="容器操作">容器操作
&lt;/h6>&lt;pre>&lt;code>1、创建容器 [root@localhost ~]# docker run -it +镜像名 /bin/bash（交互式容器）/docker run -dit +镜像名 /bn/bash（守护式容器）
2、查看容器 [root@localhost ~]# docker ps /docker container ls/docker ps -a/docker container ls --all
3、启动容器 [root@localhost ~]# docker start +容器ID（容器名）/docker container start +容器ID（容器名）
4、停止容器 [root@localhost ~]# docker stop +容器ID（容器名）/docker container stop +容器ID（容器名）
5、删除容器 [root@localhost ~]# docker rm +容器ID（容器名）/docker container rm +容器ID（容器名）/docker container rm -f +容器ID（容器名）
6、容器保存为镜像 [root@localhost ~]# docker commit +容器名 镜像名
&lt;/code>&lt;/pre>
&lt;h2 id="渗透测试基础">渗透测试基础
&lt;/h2>&lt;h3 id="网络协议基础">网络协议基础
&lt;/h3>&lt;h4 id="分层网络协议osi七层tcp四层五层">分层网络协议（OSI七层、TCP四层、五层）
&lt;/h4>&lt;p>这里使用的是五层模型&lt;/p></description></item><item><title>upload-labs通关记录（1-21关）</title><link>https://mofei-blog.pages.dev/p/%E8%AE%B0%E5%BD%95%E8%87%AA%E5%B7%B1%E7%9A%84%E5%AD%A6%E4%B9%A0%E5%92%8C%E8%B8%A9%E5%9D%91%E7%BB%8F%E5%8E%86/</link><pubDate>Tue, 04 Nov 2025 00:00:00 +0000</pubDate><guid>https://mofei-blog.pages.dev/p/%E8%AE%B0%E5%BD%95%E8%87%AA%E5%B7%B1%E7%9A%84%E5%AD%A6%E4%B9%A0%E5%92%8C%E8%B8%A9%E5%9D%91%E7%BB%8F%E5%8E%86/</guid><description>&lt;img src="https://mofei-blog.pages.dev/p/%E8%AE%B0%E5%BD%95%E8%87%AA%E5%B7%B1%E7%9A%84%E5%AD%A6%E4%B9%A0%E5%92%8C%E8%B8%A9%E5%9D%91%E7%BB%8F%E5%8E%86/1.jpg" alt="Featured image of post upload-labs通关记录（1-21关）" />&lt;h2 id="环境部署">环境部署
&lt;/h2>&lt;h3 id="windows搭建">windows搭建
&lt;/h3>&lt;h4 id="upload-labs">upload-labs
&lt;/h4>&lt;p>一个专门用于学习和测试文件上传漏洞的开源靶场&lt;/p>
&lt;p>&lt;a class="link" href="https://github.com/c0ny1/upload-labs" target="_blank" rel="noopener" >
&lt;span style="display: inline-flex; align-items: center; gap: 0.5em;">
c0ny1/upload-labs:一个想帮你总结所有类型的上传漏洞的靶场
&lt;svg width=".7em" height=".7em" viewBox="0 0 21 21" xmlns="http://www.w3.org/2000/svg">
&lt;path d="m13 3l3.293 3.293l-7 7l1.414 1.414l7-7L21 11V3z" fill="currentColor" />
&lt;path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z" fill="currentColor" />
&lt;/svg>
&lt;/span>
&lt;/a>（github有时候国内访问慢）&lt;/p></description></item></channel></rss>