<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>DF博客</title><link>https://blog.5948888.xyz/</link><description>关注芭芭拉喵</description><item><title>都5202年啦，你还在用windows？(目录篇)</title><link>https://blog.5948888.xyz/?id=26</link><description>&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;那么好，距离上一篇博文好像已经过去了114514天了 (其实只是两个月)，我不得不来更新这个系列的第二篇了，所以在这第二篇我们会来聊聊linux的文件目录结构 (感觉和第一篇有点本末倒置了捏)，不过这是我的博客我爱78怎么写9怎么写 OvO&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2026/01/202601311769798145424217.png&quot; alt=&quot;图片.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;俗话说看入先看脸 (我自己编的)，那么这篇博文会通过 &lt;strong&gt;系统引导以及核心 =》配置和数据 =》硬件和设备文件 =》软件和库文件 =》挂载文件&lt;/strong&gt; 的顺序来唠 。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;不得不说的是Linux 的文件目录结构遵循 &lt;strong&gt;FHS&lt;/strong&gt;（Filesystem Hierarchy Standard，文件系统层次结构标准）。它采用&lt;strong&gt;单根树状结构&lt;/strong&gt;（与 Windows 的多盘符 C:\ D:\ 不同），一切皆从根目录 &lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/&lt;/code&gt; 开始捏。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;有一句至高真理是：&lt;strong&gt;在linux里面一切皆文件。&lt;/strong&gt;(长成什么样您就看图8)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;系统引导以及核心&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;table data-v-1afa3a17=&quot;&quot;&gt;&lt;tbody data-v-1afa3a17=&quot;&quot;&gt;&lt;tr data-v-1afa3a17=&quot;&quot; class=&quot;firstRow&quot;&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;11&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/bin&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;610&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;单用户模式下必需&lt;/strong&gt;的基础命令（ls, cat, mv, bash）。系统启动早期甚至没挂载 /usr 时就需要这些&lt;/td&gt;&lt;/tr&gt;&lt;tr data-v-1afa3a17=&quot;&quot;&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;11&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/sbin&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; width=&quot;610&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;系统管理命令&lt;/strong&gt;（fdisk, fsck, reboot, iptables），通常需 root 权限&lt;/td&gt;&lt;/tr&gt;&lt;tr data-v-1afa3a17=&quot;&quot;&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;53&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/boot&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; width=&quot;610&quot;&gt;内核文件（vmlinuz）、initramfs、GRUB 引导配置。通常是独立分区，防止根目录写满导致无法启动&lt;/td&gt;&lt;/tr&gt;&lt;tr data-v-1afa3a17=&quot;&quot;&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;11&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/lib&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; width=&quot;610&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/bin&lt;/code&gt; 和 &lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/sbin&lt;/code&gt; 中程序必需的&lt;strong data-v-1afa3a17=&quot;&quot;&gt;共享库&lt;/strong&gt;（如 libc.so），以及内核模块&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;配置和数据&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;&lt;/code&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;table data-v-1afa3a17=&quot;&quot;&gt;&lt;tbody data-v-1afa3a17=&quot;&quot;&gt;&lt;tr data-v-1afa3a17=&quot;&quot; class=&quot;firstRow&quot;&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;17&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/etc&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;938&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;系统级配置文件&lt;/strong&gt;大本营（非二进制）。如 &lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/etc/ssh/sshd_config&lt;/code&gt;、&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/etc/passwd&lt;/code&gt;、&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/etc/fstab&lt;/code&gt;。重要原则：&lt;strong data-v-1afa3a17=&quot;&quot;&gt;程序默认配置在 /etc，用户覆盖配置在 ~/.config&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr data-v-1afa3a17=&quot;&quot;&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;59&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/home&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; width=&quot;938&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;普通用户&lt;/strong&gt;的个人数据、配置文件、下载内容。相当于 Windows 的 C:\Users&lt;/td&gt;&lt;/tr&gt;&lt;tr data-v-1afa3a17=&quot;&quot;&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;17&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/root&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; width=&quot;938&quot;&gt;root 用户的家目录。单独放置是因为如果 /home 是独立分区且挂载失败，root 仍需有地方登录修复系统&lt;/td&gt;&lt;/tr&gt;&lt;tr data-v-1afa3a17=&quot;&quot;&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;17&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/var&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; width=&quot;938&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;经常变化的数据&lt;/strong&gt;：日志（/var/log）、邮件（/var/mail）、打印队列（/var/spool）、数据库文件、缓存（/var/cache）&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;硬件和设备文件&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;table data-v-1afa3a17=&quot;&quot;&gt;&lt;tbody data-v-1afa3a17=&quot;&quot;&gt;&lt;tr data-v-1afa3a17=&quot;&quot; class=&quot;firstRow&quot;&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;16&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/dev&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;938&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;设备文件&lt;/strong&gt;。&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/dev/sda&lt;/code&gt; 是第一块硬盘，&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/dev/null&lt;/code&gt; 是黑洞，&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/dev/zero&lt;/code&gt; 吐零，&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/dev/random&lt;/code&gt; 提供随机数。操作这些文件 = 操作硬件&lt;/td&gt;&lt;/tr&gt;&lt;tr data-v-1afa3a17=&quot;&quot;&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;16&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/proc&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;938&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;进程和内核信息&lt;/strong&gt;的实时视图。&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/proc/1234/&lt;/code&gt; 是 PID 为 1234 的进程信息，&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/proc/cpuinfo&lt;/code&gt; 显示 CPU 详情，&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/proc/meminfo&lt;/code&gt; 显示内存。都是 0 字节的虚拟文件&lt;/td&gt;&lt;/tr&gt;&lt;tr data-v-1afa3a17=&quot;&quot;&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;58&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/sys&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;938&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;系统硬件的视图&lt;/strong&gt;（总线、设备、驱动、电源管理）。比 /proc 更结构化，用于 udev 规则、硬件热插拔管理&lt;/td&gt;&lt;/tr&gt;&lt;tr data-v-1afa3a17=&quot;&quot;&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;16&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/run&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; width=&quot;938&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;系统启动后的运行时数据&lt;/strong&gt;（PID 文件、锁文件、通信套接字）。取代了过去分散在 /var/run 和 /var/lock 的内容，tmpfs 挂载（重启清空）&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;软件和库文件&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;table data-v-1afa3a17=&quot;&quot;&gt;&lt;tbody data-v-1afa3a17=&quot;&quot;&gt;&lt;tr data-v-1afa3a17=&quot;&quot; class=&quot;firstRow&quot;&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;62&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/usr&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;857&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;用户级程序与数据&lt;/strong&gt;的二级层次结构，包含：&lt;br data-v-1afa3a17=&quot;&quot;/&gt;• &lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/usr/bin&lt;/code&gt;：绝大多数用户命令（gcc, python, git）&lt;br data-v-1afa3a17=&quot;&quot;/&gt;• &lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/usr/sbin&lt;/code&gt;：非必需系统管理工具&lt;br data-v-1afa3a17=&quot;&quot;/&gt;• &lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/usr/lib&lt;/code&gt;：应用程序的库&lt;br data-v-1afa3a17=&quot;&quot;/&gt;• &lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/usr/share&lt;/code&gt;：架构无关数据（图标、文档、字体、时区文件）&lt;br data-v-1afa3a17=&quot;&quot;/&gt;• &lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/usr/local&lt;/code&gt;：&lt;strong data-v-1afa3a17=&quot;&quot;&gt;手动编译安装软件&lt;/strong&gt;的默认位置（避开包管理器）&lt;/td&gt;&lt;/tr&gt;&lt;tr data-v-1afa3a17=&quot;&quot;&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;27&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/opt&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; width=&quot;857&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;第三方大型商业软件&lt;/strong&gt;的&amp;quot;自包含&amp;quot;安装点（如 Oracle、Google Chrome、ROS）。这些软件通常有自己的 bin/lib/etc 子目录，不分散到系统各处&lt;/td&gt;&lt;/tr&gt;&lt;tr data-v-1afa3a17=&quot;&quot;&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;27&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/tmp&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;857&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;临时文件&lt;/strong&gt;，任何用户可写，通常被挂载为 tmpfs（内存中），&lt;strong data-v-1afa3a17=&quot;&quot;&gt;重启后自动清空&lt;/strong&gt;。敏感：所有用户默认能看到彼此的临时文件（需 sticky bit 保护）&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;挂载文件&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;table data-v-1afa3a17=&quot;&quot;&gt;&lt;tbody data-v-1afa3a17=&quot;&quot;&gt;&lt;tr data-v-1afa3a17=&quot;&quot; class=&quot;firstRow&quot;&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;68&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/media&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;641&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;自动挂载&lt;/strong&gt;的可移动介质（U盘、光盘、移动硬盘）。现代桌面环境（GNOME/KDE）插入 U 盘即出现在此处&lt;/td&gt;&lt;/tr&gt;&lt;tr data-v-1afa3a17=&quot;&quot;&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;19&quot;&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;&lt;code data-v-7caec4f8=&quot;&quot; data-v-7bd7ca31=&quot;&quot; class=&quot;segment-code-inline&quot;&gt;/mnt&amp;nbsp;&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;&lt;td data-v-1afa3a17=&quot;&quot; align=&quot;left&quot; style=&quot;word-break: break-all;&quot; width=&quot;641&quot;&gt;&lt;p&gt;&lt;strong data-v-1afa3a17=&quot;&quot;&gt;手动临时挂载&lt;/strong&gt;点。系统管理员手动挂载 NFS、额外硬盘时通常先挂在这里&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;linux系列的目录篇就算是结束啦，我是建议先看着一篇再看其他篇的QAQ&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;下一篇博文我可能会讲讲debain和arch安装什么的，尽情期待8&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p data-v-2505e99a=&quot;&quot; data-v-c0b8fcf4=&quot;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong data-v-2505e99a=&quot;&quot;&gt;博客网址：blog.5948888.xyz&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p data-v-2505e99a=&quot;&quot; data-v-c0b8fcf4=&quot;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong data-v-2505e99a=&quot;&quot;&gt;B站：此生只为芭芭拉&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p data-v-2505e99a=&quot;&quot; data-v-c0b8fcf4=&quot;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong data-v-2505e99a=&quot;&quot;&gt;未经允许请勿转载&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sat, 31 Jan 2026 02:28:00 +0800</pubDate></item><item><title>都5202年啦，你还在用windows？(差异篇)</title><link>https://blog.5948888.xyz/?id=25</link><description>&lt;p&gt;距离上一篇博文已经过了差不多两个月了，很不幸月更目前看来因该是失败了捏，那么我们这一篇博文就来谈一谈操作系统8 OvO&lt;/p&gt;&lt;p&gt;知周所众 windous10 因为&lt;span style=&quot;text-decoration: line-through;&quot;&gt;巨硬&lt;/span&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;微软的调整正式的完成了她的生命周期，也就是说她gg了，一刻未能为她感到悲伤直接就被印度78 win11狠狠的插入了&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;&lt;img src=&quot;https://memeprod.sgp1.digitaloceanspaces.com/user-wtf/1642469438863.jpg&quot; alt=&quot;https://memeprod.sgp1.digitaloceanspaces.com/user-wtf/1642469438863.jpg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;那么屏幕前的UU可能会问，不想满嘴印度味怎么办捏？&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;那么就不得不提由linus开源的Linux啦，我也只是在9月份从windous切换到了arch linux&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;但是分不幸的是它挂掉了，所以我又换到了debain ：）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;而在本篇博文我会为大家介绍debain系和arch系linux的包管理器，更新和主要区别（其他的后面再说，起码先选好玩什么系OvO）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;&lt;img src=&quot;https://static1.makeuseofimages.com/wordpress/wp-content/uploads/2022/01/what-is-the-aur.jpg&quot; alt=&quot;https://static1.makeuseofimages.com/wordpress/wp-content/uploads/2022/01/what-is-the-aur.jpg&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;1.包管理器&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot;&gt;&lt;strong&gt;Debian 系（Debian / Ubuntu / Mint …）&lt;/strong&gt;&lt;/p&gt;&lt;div class=&quot;paragraph&quot;&gt;二进制包格式：*.deb&lt;/div&gt;&lt;div class=&quot;paragraph&quot;&gt;核心工具链&lt;br/&gt;‑ dpkg：底层“单点”工具，负责把 *.deb 文件解包、写数据库、维护状态。&lt;br/&gt;‑ APT（含 apt / apt-get / apt-cache 等前端）：高层框架，先下载索引、自动解析依赖，再调用 dpkg 完成实际安装；apt 是 2014 年后推出的“友好版”CLI，彩色进度条、简写命令，更适合交互，而 apt-get 偏向脚本兼容&lt;/div&gt;&lt;div class=&quot;paragraph&quot;&gt;常用命令&lt;br/&gt;更新索引：sudo apt update&lt;br/&gt;升级已装包：sudo apt upgrade&lt;br/&gt;完整升级（可增删包）：sudo apt full-upgrade&lt;br/&gt;安装：sudo apt install pkg&lt;br/&gt;删除：sudo apt remove pkg（保留配置）/ purge（连配置一起删）&lt;br/&gt;自动清理孤立依赖：sudo apt autoremove&lt;/div&gt;&lt;p class=&quot;paragraph&quot;&gt;&lt;strong&gt;Arch 系（Arch / Manjaro / EndeavourOS …）&lt;/strong&gt;&lt;/p&gt;&lt;div class=&quot;paragraph&quot;&gt;二进制包格式：*.pkg.tar.zst（早期 xz）&lt;/div&gt;&lt;div class=&quot;paragraph&quot;&gt;核心工具：pacman（Package Manager），一个二进制就完成“下载 → 依赖解析 → 安装/升级/删除”全链路，无单独的底层/高层之分。&lt;/div&gt;&lt;div class=&quot;paragraph&quot;&gt;常用命令&lt;br/&gt;同步并升级全系统：sudo pacman -Syu&lt;br/&gt;安装：sudo pacman -S pkg&lt;br/&gt;删除：sudo pacman -R pkg（保留依赖）/ -Rs pkg（连依赖一起删）&lt;br/&gt;查询文件归属：pacman -Qo file&lt;br/&gt;清理缓存：sudo pacman -Sc&lt;/div&gt;&lt;div class=&quot;paragraph&quot;&gt;社区仓库（AUR）生态：&lt;br/&gt;Arch 用户仓库提供 PKGBUILD 脚本，可自动从源码或上游二进制重新打包。常用辅助工具 yay/paru，它们先解析 AUR 依赖再调用 pacman，实现“一行命令装 aur/pkg”&lt;/div&gt;&lt;p class=&quot;paragraph&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;2.更新机制&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div class=&quot;paragraph&quot;&gt;&lt;strong&gt;Debian 系：&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;paragraph&quot;&gt;固定版本发布（Stable）。安全/严重补丁先进 security 仓库，日常仅做小版本号升级；大版本功能升级需手动修改 sources.list 做发行版迁移（例如 11 → 12）。&lt;/div&gt;&lt;div class=&quot;paragraph&quot;&gt;提供 Testing / Unstable（Sid）分支，但生产环境仍以“稳”字当头，更新节奏慢&lt;/div&gt;&lt;p class=&quot;paragraph&quot;&gt;&lt;strong&gt;Arch 系：&lt;/strong&gt;&lt;/p&gt;&lt;p class=&quot;paragraph&quot;&gt;滚动更新（rolling release）。官方仓库每天数次推送最新上游版本，只要执行 sudo pacman -Syu，内核、驱动、桌面、应用全部“滚”到最新；没有“大版本升级”概念，装一次可永久跟新。&lt;/p&gt;&lt;div class=&quot;paragraph&quot;&gt;风险与收益并存：新特性、新硬件支持最快；但更新幅度大，需用户阅读首页 News、随时准备处理手动干预提示。&lt;/div&gt;&lt;p class=&quot;paragraph&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;3.主要区别速览&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;paragraph&quot;&gt;&lt;strong&gt;稳定性 vs 前沿性&lt;/strong&gt;&lt;br/&gt;Debian 适合服务器、需要长期稳定运行的场景；Arch 适合想“用最新软件 + 深度定制”的桌面或开发机。&lt;/div&gt;&lt;div class=&quot;paragraph&quot;&gt;&lt;p&gt;&lt;strong&gt;包数量与获取方式&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Debian 官方仓库超 6 万预编译包，覆盖广；Arch 官方仓库相对精干，但通过 AUR 几乎能即时获得任何开源软件，且版本号往往领先。&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;paragraph&quot;&gt;&lt;p&gt;&lt;strong&gt;依赖处理与回滚&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;两者都自动解析依赖，但 Arch 的依赖链更“薄”，拆包粒度细；Debian 的 apt 会保留更多兼容包。&lt;/p&gt;Arch 可用 pacman -U /var/cache/pacman/pkg/xxx 快速回滚到旧版；Debian 降级需手动指定版本或借助 snapshot.debian.org，步骤略繁琐。&lt;span style=&quot;text-decoration: none;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;img src=&quot;https://embed.pixiv.net/artwork.php?illust_id=113984765&quot; alt=&quot;#ArchLinux 滚挂的Arch - Glowing Brickのイラスト - pixiv&quot; class=&quot; nofocus&quot; tabindex=&quot;0&quot; aria-label=&quot;#ArchLinux 滚挂的Arch - Glowing Brickのイラスト - pixiv&quot; role=&quot;button&quot;/&gt;&lt;/p&gt;&lt;p&gt;总结一下，就是你如果可以接受滚动更新并且要求高可玩性那就选arch，反之就选debain&lt;/p&gt;&lt;p&gt;你问我滚挂怎么办？下期会讲啦QAQ&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p data-v-2505e99a=&quot;&quot; data-v-c0b8fcf4=&quot;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong data-v-2505e99a=&quot;&quot;&gt;博客网址：blog.5948888.xyz&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p data-v-2505e99a=&quot;&quot; data-v-c0b8fcf4=&quot;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong data-v-2505e99a=&quot;&quot;&gt;B站：此生只为芭芭拉&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p data-v-2505e99a=&quot;&quot; data-v-c0b8fcf4=&quot;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong data-v-2505e99a=&quot;&quot;&gt;未经允许请勿转载&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sun, 23 Nov 2025 00:31:40 +0800</pubDate></item><item><title>欢迎来到DF博客</title><link>https://blog.5948888.xyz/?id=24</link><description>&lt;p&gt;这里是DF博客站长（dfnb1236）&lt;/p&gt;&lt;p&gt;是个没有什么技术的宅男，正在努力一月3更新&lt;/p&gt;&lt;p&gt;祝生活愉快OvO&lt;/p&gt;</description><pubDate>Fri, 03 Oct 2025 01:28:31 +0800</pubDate></item><item><title>内网ip扫描—终章</title><link>https://blog.5948888.xyz/?id=23</link><description>&lt;p&gt;在鸽了将近两个月之后，我终于用python写了个内网脚本出来，接下来我应该会把她开源到github上OvO&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-python&quot;&gt;import&amp;nbsp;os
import&amp;nbsp;platform
import&amp;nbsp;ipaddress
import&amp;nbsp;argparse
import&amp;nbsp;subprocess
from&amp;nbsp;concurrent.futures&amp;nbsp;import&amp;nbsp;ThreadPoolExecutor,&amp;nbsp;as_completed

SYSTEM&amp;nbsp;=&amp;nbsp;platform.system().lower()

#&amp;nbsp;----------&amp;nbsp;1.&amp;nbsp;ping&amp;nbsp;----------
def&amp;nbsp;build_ping_cmd(host:&amp;nbsp;str,&amp;nbsp;timeout_ms:&amp;nbsp;int)&amp;nbsp;-&amp;gt;&amp;nbsp;str:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;SYSTEM&amp;nbsp;==&amp;nbsp;&amp;quot;windows&amp;quot;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return&amp;nbsp;f&amp;quot;ping&amp;nbsp;-n&amp;nbsp;1&amp;nbsp;-w&amp;nbsp;{timeout_ms}&amp;nbsp;{host}&amp;nbsp;&amp;gt;NUL&amp;nbsp;2&amp;gt;&amp;amp;1&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;timeout_s&amp;nbsp;=&amp;nbsp;max(1,&amp;nbsp;timeout_ms&amp;nbsp;//&amp;nbsp;1000)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return&amp;nbsp;f&amp;quot;ping&amp;nbsp;-c&amp;nbsp;1&amp;nbsp;-W&amp;nbsp;{timeout_s}&amp;nbsp;{host}&amp;nbsp;&amp;gt;/dev/null&amp;nbsp;2&amp;gt;&amp;amp;1&amp;quot;

def&amp;nbsp;ping_host(host:&amp;nbsp;str,&amp;nbsp;timeout_ms:&amp;nbsp;int)&amp;nbsp;-&amp;gt;&amp;nbsp;bool:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return&amp;nbsp;os.system(build_ping_cmd(host,&amp;nbsp;timeout_ms))&amp;nbsp;==&amp;nbsp;0

#&amp;nbsp;----------&amp;nbsp;2.&amp;nbsp;名称解析&amp;nbsp;----------
def&amp;nbsp;get_name(host:&amp;nbsp;str)&amp;nbsp;-&amp;gt;&amp;nbsp;str:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;&amp;quot;&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;先尝试&amp;nbsp;nslookup，再尝试&amp;nbsp;nbtstat（Windows）或&amp;nbsp;smbclient（Linux）
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;返回解析到的第一个名字，失败则返回空串
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;&amp;quot;&amp;quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;1.&amp;nbsp;nslookup
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;try:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;out&amp;nbsp;=&amp;nbsp;subprocess.check_output(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;quot;nslookup&amp;quot;,&amp;nbsp;host],&amp;nbsp;timeout=3,&amp;nbsp;stderr=subprocess.DEVNULL
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;).decode(errors=&amp;quot;ignore&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for&amp;nbsp;line&amp;nbsp;in&amp;nbsp;out.splitlines():
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;line&amp;nbsp;=&amp;nbsp;line.strip()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;line.lower().startswith(&amp;quot;name:&amp;quot;):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return&amp;nbsp;line.split()[1].rstrip(&amp;quot;.&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;except&amp;nbsp;Exception:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pass

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;2.&amp;nbsp;Windows&amp;nbsp;专用&amp;nbsp;nbtstat
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;SYSTEM&amp;nbsp;==&amp;nbsp;&amp;quot;windows&amp;quot;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;try:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;out&amp;nbsp;=&amp;nbsp;subprocess.check_output(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;quot;nbtstat&amp;quot;,&amp;nbsp;&amp;quot;-A&amp;quot;,&amp;nbsp;host],&amp;nbsp;timeout=3,&amp;nbsp;stderr=subprocess.DEVNULL
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;).decode(errors=&amp;quot;ignore&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for&amp;nbsp;line&amp;nbsp;in&amp;nbsp;out.splitlines():
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;line&amp;nbsp;=&amp;nbsp;line.strip()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;&amp;quot;&amp;lt;00&amp;gt;&amp;quot;&amp;nbsp;in&amp;nbsp;line&amp;nbsp;and&amp;nbsp;&amp;quot;UNIQUE&amp;quot;&amp;nbsp;in&amp;nbsp;line:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return&amp;nbsp;line.split()[0]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;except&amp;nbsp;Exception:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pass
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return&amp;nbsp;&amp;quot;&amp;quot;

#&amp;nbsp;----------&amp;nbsp;3.&amp;nbsp;扫描&amp;nbsp;----------
def&amp;nbsp;sweep(network:&amp;nbsp;str,&amp;nbsp;timeout_ms:&amp;nbsp;int,&amp;nbsp;workers:&amp;nbsp;int):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;try:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;net&amp;nbsp;=&amp;nbsp;ipaddress.ip_network(network,&amp;nbsp;strict=False)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;except&amp;nbsp;ValueError&amp;nbsp;as&amp;nbsp;e:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print(&amp;quot;网段格式错误:&amp;quot;,&amp;nbsp;e)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exit(1)

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alive&amp;nbsp;=&amp;nbsp;[]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print(f&amp;quot;开始扫描&amp;nbsp;{network}，并发：{workers}，超时：{timeout_ms}&amp;nbsp;ms\n&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;with&amp;nbsp;ThreadPoolExecutor(max_workers=workers)&amp;nbsp;as&amp;nbsp;pool:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;future_map&amp;nbsp;=&amp;nbsp;{pool.submit(ping_host,&amp;nbsp;str(ip),&amp;nbsp;timeout_ms):&amp;nbsp;ip&amp;nbsp;for&amp;nbsp;ip&amp;nbsp;in&amp;nbsp;net.hosts()}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for&amp;nbsp;f&amp;nbsp;in&amp;nbsp;as_completed(future_map):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ip&amp;nbsp;=&amp;nbsp;str(future_map[f])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;f.result():
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;name&amp;nbsp;=&amp;nbsp;get_name(ip)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;alive.append((ip,&amp;nbsp;name))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print(f&amp;quot;[+]&amp;nbsp;{ip:&amp;lt;15}&amp;nbsp;&amp;nbsp;{name&amp;nbsp;or&amp;nbsp;&amp;#39;--&amp;#39;}&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print(f&amp;quot;\n扫描完成，存活&amp;nbsp;{len(alive)}&amp;nbsp;台：&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for&amp;nbsp;ip,&amp;nbsp;name&amp;nbsp;in&amp;nbsp;alive:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;print(f&amp;quot;{ip:&amp;lt;15}&amp;nbsp;&amp;nbsp;{name&amp;nbsp;or&amp;nbsp;&amp;#39;--&amp;#39;}&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return&amp;nbsp;alive

if&amp;nbsp;__name__&amp;nbsp;==&amp;nbsp;&amp;quot;__main__&amp;quot;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;parser&amp;nbsp;=&amp;nbsp;argparse.ArgumentParser(description=&amp;quot;网段存活扫描&amp;nbsp;+&amp;nbsp;设备名称&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;parser.add_argument(&amp;quot;network&amp;quot;,&amp;nbsp;help=&amp;quot;例：192.168.1.0/24&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;parser.add_argument(&amp;quot;-w&amp;quot;,&amp;nbsp;&amp;quot;--timeout&amp;quot;,&amp;nbsp;type=int,&amp;nbsp;default=500,&amp;nbsp;help=&amp;quot;ping&amp;nbsp;超时毫秒，默认&amp;nbsp;500&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;parser.add_argument(&amp;quot;-c&amp;quot;,&amp;nbsp;&amp;quot;--concurrency&amp;quot;,&amp;nbsp;type=int,&amp;nbsp;default=100,&amp;nbsp;help=&amp;quot;并发数，默认&amp;nbsp;100&amp;quot;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;args&amp;nbsp;=&amp;nbsp;parser.parse_args()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sweep(args.network,&amp;nbsp;args.timeout,&amp;nbsp;args.concurrency)&lt;/pre&gt;&lt;p&gt;使用方法是:&lt;/p&gt;&lt;pre data-v-efb858b9=&quot;&quot; class=&quot;language-bash&quot;&gt;python&amp;nbsp;脚本名.py&amp;nbsp;网段/24&amp;nbsp;-w&amp;nbsp;最大毫秒数&amp;nbsp;-c&amp;nbsp;线程&lt;/pre&gt;&lt;p&gt;比如:&lt;/p&gt;&lt;pre data-v-efb858b9=&quot;&quot; class=&quot;language-bash&quot;&gt;python&amp;nbsp;sweep_with_name.py&amp;nbsp;192.168.1.0/24&amp;nbsp;-w&amp;nbsp;600&amp;nbsp;-c&amp;nbsp;50&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p data-v-2505e99a=&quot;&quot; data-v-c0b8fcf4=&quot;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong data-v-2505e99a=&quot;&quot;&gt;博客网址：blog.5948888.xyz&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p data-v-2505e99a=&quot;&quot; data-v-c0b8fcf4=&quot;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong data-v-2505e99a=&quot;&quot;&gt;B站：此生只为芭芭拉&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p data-v-2505e99a=&quot;&quot; data-v-c0b8fcf4=&quot;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong data-v-2505e99a=&quot;&quot;&gt;未经允许请勿转载&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;</description><pubDate>Tue, 30 Sep 2025 01:41:52 +0800</pubDate></item><item><title>g102鼠标回滚换编码器教程</title><link>https://blog.5948888.xyz/?id=21</link><description>&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;AUV您吉祥，咱们也是赶上了罗技的计划性报废，在过保的3个月后出现了鼠标回滚：（&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;但是其实也非常好解决，只需要换一个编码器就好了，那么您需要准备电烙铁和电子钳这两样工具&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;并且撕下来圈出来的三个脚贴和贴纸，并拧开螺丝，打开后盖&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/08/202508171755360198767720.png&quot; alt=&quot;屏幕截图_20250816_235959.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;取下波轮并且翻到背面，您会发现5处焊点（下图是我重新焊的鸡屎焊）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/08/202508171755360831369041.jpg&quot; alt=&quot;5413f19b9eec672b918b1adc982a892c.jpg&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;您需要把这五处焊点全部熔焊，并且拿吸锡器处理干净&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;非常注意的是不要碰到下面的贴片电阻和电容，要不然就GG辣&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/08/202508171755361164578153.jpg&quot; alt=&quot;5d9e6b1d316121b55c8bdee978acb764.jpg&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;我买的就是上图这种，您把这种编码器的5个针脚狠狠插入小孔 (我没有在开车QAQ) 就好了&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;建议拿直径细一些的低温稀焊回去（前提是你有把焊盘清理好）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;最后把滚轮和盖子装回去就好了，如果要是实在不会请移步B站的BV1YJ4m177Ab（反正比我讲的明白）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;最后差不多就这样了QAQ&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p data-v-2505e99a=&quot;&quot; data-v-c0b8fcf4=&quot;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong data-v-2505e99a=&quot;&quot;&gt;博客网址：blog.5948888.xyz&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p data-v-2505e99a=&quot;&quot; data-v-c0b8fcf4=&quot;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong data-v-2505e99a=&quot;&quot;&gt;B站：此生只为芭芭拉&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p data-v-2505e99a=&quot;&quot; data-v-c0b8fcf4=&quot;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong data-v-2505e99a=&quot;&quot;&gt;未经允许请勿转载&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sat, 16 Aug 2025 23:53:56 +0800</pubDate></item><item><title>垃圾佬神机----1300左右最强配置</title><link>https://blog.5948888.xyz/?id=19</link><description>&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;uu们，我配新电脑了所以内网IP扫描先鸽一段时间，我们里唠唠捡垃圾OvO&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;差不多在最早的几个博文中说到了我要配新电脑，但是由于一些事情就搁置了（主要是没有钱）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;但是就在不久前我的心态发生了转变&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;咱们正经主机配不起，咱还不能捡垃圾吗？&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/07/202507151752512857351473.jpg&quot; alt=&quot;v2-00ac236d1498705da842896abeee52bc_1440w.jpg&quot;/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;所以就有了本篇的博文，我本来给自己设置的目标是1400元，但是由于捡了两个逆天大漏就1200拿下了&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;我们先说主板，我本来是想上80元的zv102a1滴&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;但是运气比较逆天，从好uu那里200拿到了精粤x99tid4 32g内存和2630v4的U+散热&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;显卡方面也是从他那里700就搞到了rx6600然后自己降压20毫伏超频到显存1900 boots频率2720&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;当然我这边还是推荐大家不超频上5700xt差不多的价格（好像还便宜一些）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;硬盘方面我C盘给到了128g然后自己搞了一个1t的游戏盘，大概250左右吧&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;最后花了145来了个玄武500k，总计1200多一点&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/07/202507151752513491151652.jpg&quot; alt=&quot;c576d27e0f5499cb1ca849dd351ac36.jpg&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;其中我花了差不多将近100块在这个可以上机柜的机箱上面&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;timespy跑分可以达到8437,显卡是8700多&lt;/span&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/07/202507151752513660376177.jpg&quot; alt=&quot;edff4709f01f630c54514c4fabdaaf9.jpg&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;现在这张开在超频后是可以吊打3060 12g 和老黄最近新发布的答辩3060 8g的&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;但是&lt;span style=&quot;text-decoration: line-through; font-size: 16px;&quot;&gt;撸大师&lt;/span&gt;&lt;span style=&quot;text-decoration: none; font-size: 16px;&quot;&gt;鲁大师&lt;/span&gt;可能不能识别我的第二个固态所以只拿到了83万分&lt;/span&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/07/202507151752514138313862.jpg&quot; alt=&quot;9c07a72a142fa644a080d30af104f6e.jpg&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;很有可能是撸大师撸晕掉了，所以对这台电脑恶意大了亿点&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;游戏实测就是祖传2077 2k（不会5202年了还有人用1080p吧）高画质 不开fsr 轻松稳60fps&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;2k 极高 开fsr轻松稳80fps&lt;/span&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/07/202507151752514349690440.jpg&quot; alt=&quot;cc4a4ad021269b2e1a109f00219d4ff.jpg&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;上文提到了我为了上那个破机柜花了将近100块，主要是服务器机箱和导轨&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;那么久给我的机柜来照个相吧，下面的黑东东就是这台主机啦&lt;/span&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/07/202507151752514477869975.jpg&quot; alt=&quot;a05a4673b41c7b06222ffcc8df48408.jpg&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 20px; padding: 0px; font-size: 16px; border: 0px; vertical-align: baseline; text-align: justify; color: rgb(51, 51, 51); font-family: Penrose, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, Tahoma, Arial, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, simsun, sans-serif; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;博客网址：&lt;/strong&gt;&lt;/span&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;blog.5948888.xyz&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 20px; padding: 0px; font-size: 16px; border: 0px; vertical-align: baseline; text-align: justify; color: rgb(51, 51, 51); font-family: Penrose, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, Tahoma, Arial, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, simsun, sans-serif; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;B站：此生只为芭芭拉&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 20px; padding: 0px; font-size: 16px; border: 0px; vertical-align: baseline; text-align: justify; color: rgb(51, 51, 51); font-family: Penrose, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, Tahoma, Arial, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, simsun, sans-serif; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;未经允许请勿转载&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 15 Jul 2025 01:28:28 +0800</pubDate></item><item><title>详解内网IP扫描--谈谈ping命令</title><link>https://blog.5948888.xyz/?id=17</link><description>&lt;p&gt;距离上一篇文章也差不多一个月了，所以今天来填坑&lt;/p&gt;&lt;p&gt;上一篇说这一篇会写内网IP扫描相关的知识，所以我们来聊一聊Ping命令&lt;/p&gt;&lt;p&gt;既然说到Ping命令，那么想当然的会令人发出疑问：&lt;/p&gt;&lt;p&gt;&lt;strong&gt;怎么使用这个命令呢？&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;实际上非常简单如果你是windous电脑的话需要win+R&lt;/p&gt;&lt;p&gt;然后输入cmd就进入win的终端啦&lt;/p&gt;&lt;p&gt;然后以ping+地址的方式就可以完成命令了&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/06/202506201750350716342246.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;那么ping命令是怎么工作的呢？&lt;/p&gt;&lt;p&gt;是的我们又要搬出来我们的OSI模型了&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;h3 class=&quot;&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin: 0px 0px 16px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; color: rgba(0, 0, 0, 0.9); text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;1. 物理层（Physical Layer）&lt;/span&gt;&lt;/h3&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin: 0px 0px 16px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space: pre-wrap; word-break: break-word; color: rgba(0, 0, 0, 0.9); background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;物理层是OSI模型的最底层，负责在物理介质上以电信号的形式传输原始比特流。在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令的执行过程中，物理层的作用主要体现在以下几个方面：&lt;/span&gt;&lt;/div&gt;&lt;ul start=&quot;1&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin-bottom: 16px; padding: 0px 0px 0px 24px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; list-style-position: initial; list-style-image: initial; color: rgba(0, 0, 0, 0.9); letter-spacing: 0.5px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span class=&quot;&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;传输介质&lt;/span&gt;：物理层涉及到实际的传输介质，如双绞线、同轴电缆、光纤等。当执行&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令时，发送方的设备（如计算机）会将数据信号通过选定的传输介质发送出去。例如，如果使用的是以太网双绞线，物理层会将数据信号转换为适合双绞线传输的电信号形式。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span class=&quot;&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;信号编码与解码&lt;/span&gt;：物理层负责将数字信号（如二进制比特流）转换为适合物理介质传输的信号形式。在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令中，发送方的物理层会将要发送的数据进行编码，将其转换为电信号。接收方的物理层则会将接收到的电信号解码，还原为数字信号。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span class=&quot;&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;物理连接的建立与拆除&lt;/span&gt;：物理层负责建立和拆除物理连接。在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令执行之前，发送方和接收方的设备需要通过物理介质建立连接。例如，通过插拔网线来建立或拆除以太网连接。一旦连接建立，&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令的数据就可以通过物理层进行传输。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 class=&quot;&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin: 0px 0px 16px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; color: rgba(0, 0, 0, 0.9); text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;2. 数据链路层（Data Link Layer）&lt;/span&gt;&lt;/h3&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin: 0px 0px 16px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space: pre-wrap; word-break: break-word; color: rgba(0, 0, 0, 0.9); background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;数据链路层位于物理层之上，主要负责将来自网络层的数据封装成帧，并在相邻节点之间进行可靠的数据传输。在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令中，数据链路层的作用如下：&lt;/span&gt;&lt;/div&gt;&lt;ul start=&quot;1&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin-bottom: 16px; padding: 0px 0px 0px 24px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; list-style-position: initial; list-style-image: initial; color: rgba(0, 0, 0, 0.9); letter-spacing: 0.5px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span class=&quot;&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;帧封装&lt;/span&gt;：网络层将数据封装成IP数据报后，数据链路层会将IP数据报进一步封装成帧。以以太网为例，数据链路层会添加以太网帧头和帧尾。帧头包含目标MAC地址、源MAC地址以及其他控制信息，帧尾通常包含校验码（如CRC），用于检测传输过程中是否出现错误。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;MAC地址解析&lt;/span&gt;：数据链路层负责将目标IP地址解析为对应的MAC地址。在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令中，发送方的设备会通过ARP（地址解析协议）查询目标设备的MAC地址。一旦获取到目标MAC地址，数据链路层就会将目标MAC地址写入帧头，确保数据帧能够正确地发送到目标设备。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;差错检测与纠正&lt;/span&gt;：数据链路层通过帧尾的校验码（如CRC）来检测数据帧在传输过程中是否出现错误。如果接收方发现数据帧有错误，会要求发送方重新发送该帧。在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令中，数据链路层的差错检测机制可以确保数据帧的完整性，避免因传输错误导致&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令失败。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 class=&quot;&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin: 0px 0px 16px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; color: rgba(0, 0, 0, 0.9); text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;3. 网络层（Network Layer）&lt;/span&gt;&lt;/h3&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin: 0px 0px 16px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space: pre-wrap; word-break: break-word; color: rgba(0, 0, 0, 0.9); background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;网络层是OSI模型中负责路由和转发数据的关键层。在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令中，网络层的作用主要体现在以下几个方面：&lt;/span&gt;&lt;/div&gt;&lt;ul start=&quot;1&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin-bottom: 16px; padding: 0px 0px 0px 24px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; list-style-position: initial; list-style-image: initial; color: rgba(0, 0, 0, 0.9); letter-spacing: 0.5px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span class=&quot;&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;IP地址寻址&lt;/span&gt;：网络层使用IP地址来标识网络中的设备。在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令中，用户需要指定目标设备的IP地址。网络层会根据这个IP地址来确定数据包的传输路径。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;IP数据报封装&lt;/span&gt;：网络层将来自传输层的数据封装成IP数据报。IP数据报包含IP头部和数据部分。IP头部包含了源IP地址、目标IP地址、协议类型等信息。在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令中，网络层会将ICMP（Internet Control Message Protocol，互联网控制消息协议）回显请求消息封装成IP数据报。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;路由选择&lt;/span&gt;：网络层负责根据IP地址和网络拓扑结构选择最佳路径。在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令中，当数据包从发送方传输到目标方时，网络层会根据路由表来确定数据包的下一跳路由器。路由器会根据IP地址和路由算法将数据包转发到正确的路径上，直到数据包到达目标设备。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 class=&quot;&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin: 0px 0px 16px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; color: rgba(0, 0, 0, 0.9); text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;4. 传输层（Transport Layer）&lt;/span&gt;&lt;/h3&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin: 0px 0px 16px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space: pre-wrap; word-break: break-word; color: rgba(0, 0, 0, 0.9); background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;传输层主要负责端到端的通信和数据传输的可靠性。在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令中，传输层的作用相对较小，因为&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令使用的是ICMP协议，而不是TCP或UDP协议。然而，传输层仍然在一定程度上参与了&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令的执行：&lt;/span&gt;&lt;/div&gt;&lt;ul start=&quot;1&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin-bottom: 16px; padding: 0px 0px 0px 24px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; list-style-position: initial; list-style-image: initial; color: rgba(0, 0, 0, 0.9); letter-spacing: 0.5px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span class=&quot;&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;端口号&lt;/span&gt;：虽然&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令不使用端口号，但传输层的概念仍然存在。ICMP协议属于网络层协议，但它在某种程度上类似于传输层协议，因为它负责在主机之间传输控制消息。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span class=&quot;&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;数据传输&lt;/span&gt;：传输层在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令中主要负责将ICMP回显请求消息传递给网络层。当发送方的设备生成ICMP回显请求消息后，传输层会将其传递给网络层，由网络层封装成IP数据报进行传输。在接收方，传输层会将接收到的ICMP回显应答消息传递给上层应用程序（如&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令的执行程序）。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 class=&quot;&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin: 0px 0px 16px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; color: rgba(0, 0, 0, 0.9); text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;5. 会话层（Session Layer）&lt;/span&gt;&lt;/h3&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin: 0px 0px 16px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space: pre-wrap; word-break: break-word; color: rgba(0, 0, 0, 0.9); background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;会话层负责建立、管理和终止会话。在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令中，会话层的作用主要体现在以下几个方面：&lt;/span&gt;&lt;/div&gt;&lt;ul start=&quot;1&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin-bottom: 16px; padding: 0px 0px 0px 24px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; list-style-position: initial; list-style-image: initial; color: rgba(0, 0, 0, 0.9); letter-spacing: 0.5px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;会话建立&lt;/span&gt;：当用户执行&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令时，会话层会建立一个会话连接。这个会话连接用于在发送方和目标方之间传输ICMP消息。会话层会确保在会话期间，数据能够正确地传输。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;会话管理&lt;/span&gt;：会话层负责管理会话的整个过程。在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令中，会话层会跟踪ICMP回显请求消息的发送和ICMP回显应答消息的接收。如果在一定时间内没有收到应答消息，会话层会触发超时机制，并重新发送请求消息。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span class=&quot;&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;会话终止&lt;/span&gt;：当&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令执行完成后，会话层会终止会话连接。这标志着&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令的结束，释放相关的系统资源。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 class=&quot;&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin: 0px 0px 16px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; color: rgba(0, 0, 0, 0.9); text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;6. 表示层（Presentation Layer）&lt;/span&gt;&lt;/h3&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin: 0px 0px 16px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space: pre-wrap; word-break: break-word; color: rgba(0, 0, 0, 0.9); background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;表示层主要负责数据的格式转换、加密和解密等。在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令中，表示层的作用相对较小，因为&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令主要涉及简单的网络连通性测试，不涉及复杂的数据格式转换或加密操作。然而，表示层仍然在一定程度上参与了&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令的执行：&lt;/span&gt;&lt;/div&gt;&lt;ul start=&quot;1&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin-bottom: 16px; padding: 0px 0px 0px 24px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; list-style-position: initial; list-style-image: initial; color: rgba(0, 0, 0, 0.9); letter-spacing: 0.5px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;数据格式转换&lt;/span&gt;：表示层可以将数据转换为适合网络传输的格式。在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令中，表示层可能会对ICMP消息进行简单的格式化，确保其能够在网络中正确传输。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span class=&quot;&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;数据加密与解密&lt;/span&gt;：虽然&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令本身不涉及加密操作，但在某些安全环境中，表示层可能会对ICMP消息进行加密处理，以防止数据在传输过程中被窃取或篡改。在接收方，表示层会对接收到的加密消息进行解密，还原为原始数据。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 class=&quot;&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin: 0px 0px 16px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; color: rgba(0, 0, 0, 0.9); text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;7. 应用层（Application Layer）&lt;/span&gt;&lt;/h3&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin: 0px 0px 16px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space: pre-wrap; word-break: break-word; color: rgba(0, 0, 0, 0.9); background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;应用层是OSI模型的最高层，直接面向用户和应用程序。在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令中，应用层的作用主要体现在以下几个方面：&lt;/span&gt;&lt;/div&gt;&lt;ul start=&quot;1&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0); margin-bottom: 16px; padding: 0px 0px 0px 24px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; list-style-position: initial; list-style-image: initial; color: rgba(0, 0, 0, 0.9); letter-spacing: 0.5px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;用户接口&lt;/span&gt;：应用层为用户提供了一个简单的命令行接口，用户可以通过输入&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令来启动网络连通性测试。用户可以指定目标IP地址、发送次数、超时时间等参数。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;ICMP协议&lt;/span&gt;：应用层使用ICMP协议来实现&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令的功能。ICMP协议是一种网络层协议，用于在主机之间传输控制消息。在&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令中，应用层会生成ICMP回显请求消息，并将其传递给传输层。当接收到ICMP回显应答消息时，应用层会解析该消息，并向用户显示相关信息，如往返时间（RTT）。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0); margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span class=&quot;&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; font-size: 14px;&quot;&gt;结果反馈&lt;/span&gt;：应用层负责将&lt;/span&gt;&lt;code data-v-cad61513=&quot;&quot; data-v-2ee015cb=&quot;&quot; class=&quot;segment-code-inline&quot; style=&quot;font: inherit; scrollbar-color: transparent transparent; margin: 0px 4px; padding: 2px 6px; border: 0px; vertical-align: baseline; background-color: rgba(0, 0, 0, 0.03); border-radius: 4px; max-width: 100%; word-break: break-word; overflow: auto;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ping&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;命令的测试结果反馈给用户。如果成功接收到ICMP回显应答消息，应用层会显示目标设备可达，并显示往返时间等信息。如果在超时时间内没有收到应答消息，应用层会显示目标设备不可达或请求超时等信息。&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;font-family: inherit; scrollbar-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0); margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;那么说了这么多有的没的，那有没有什么方法来简单的完成内网IP的扫描呢？&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;font-family: inherit; scrollbar-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0); margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;有的，兄弟，有的&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: inherit; scrollbar-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0); margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;还是一样的先打开cmd，然后输入ipconfig得到你的网段（不理解这是个什么东西就看图，以后会讲）&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/06/202506201750351357626665.png&quot; alt=&quot;d285553c08d2558914dc6c8f7884097.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;如上图所示，把IP地址的最后一位变成零就是你的网段啦&lt;/p&gt;&lt;p&gt;那么知道了网段后怎么做呢&lt;/p&gt;&lt;p&gt;&lt;strong&gt;答案是：一个一个的ping&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;虽然非常的令人无语但是这就是最朴实的方法了，由于二进制的原因一个网段下最多有225个设备&lt;/p&gt;&lt;p&gt;也就是说你差不多需要ping225次，非常的难绷&lt;/p&gt;&lt;p&gt;&lt;strong&gt;那么有没有什么图形化的简单方法？&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;有的，兄弟，有的&lt;/p&gt;&lt;p&gt;但是我们下篇博文再讲（OvO）&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 20px; padding: 0px; font-size: 16px; border: 0px; vertical-align: baseline; text-align: justify; color: rgb(51, 51, 51); font-family: Penrose, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, Tahoma, Arial, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, simsun, sans-serif; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;博客网址：&lt;/strong&gt;&lt;/span&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;blog.5948888.xyz&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 20px; padding: 0px; font-size: 16px; border: 0px; vertical-align: baseline; text-align: justify; color: rgb(51, 51, 51); font-family: Penrose, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, Tahoma, Arial, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, simsun, sans-serif; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;B站：此生只为芭芭拉&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 20px; padding: 0px; font-size: 16px; border: 0px; vertical-align: baseline; text-align: justify; color: rgb(51, 51, 51); font-family: Penrose, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, Tahoma, Arial, &amp;quot;Lantinghei SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, simsun, sans-serif; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;未经允许请勿转载&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;&quot;&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Fri, 20 Jun 2025 00:19:23 +0800</pubDate></item><item><title>详解简单arp攻击---图形化断网神器</title><link>https://blog.5948888.xyz/?id=16</link><description>&lt;p&gt;&lt;strong&gt;观前提示：&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;请遵守各国法律法规，&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;本教程仅限于网安测试，&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;一切后果本人概不负责。&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;本篇博文是本年的第二篇博文，最近事情比较繁忙，补文列表可能要无限期后延QAQ&lt;/p&gt;&lt;p&gt;但是在本篇博文中我将介绍一个好玩意，即&lt;strong&gt;arp妙妙工具：arpspoof-arp欺骗&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/05/202505171747413949216538.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;接下来的一大段将会从原理入手，用OSI 7层模型先给各位搞清楚什么是arp攻击&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;那么好，首先什么是OSI 7层模型呢？&lt;/strong&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin: 0px 0px 16px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space: pre-wrap; word-break: break-word; color: rgba(0, 0, 0, 0.9); background-color: rgb(255, 255, 255);&quot;&gt;OSI（Open Systems Interconnection）七层模型是国际标准化组织（ISO）制定的一个用于描述网络通信的参考模型，从下到上分为七层：&lt;/div&gt;&lt;ol start=&quot;1&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0); margin-bottom: 16px; padding: 0px 0px 0px 24px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-stretch: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; list-style-position: initial; list-style-image: initial; color: rgba(0, 0, 0, 0.9); letter-spacing: 0.5px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot; class=&quot; list-paddingleft-2&quot;&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; font-size: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline;&quot;&gt;物理层（Physical Layer）&lt;/span&gt;：负责物理介质上的信号传输，例如电缆、光纤等。&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span class=&quot;&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; font-size: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline;&quot;&gt;数据链路层（Data Link Layer）&lt;/span&gt;：负责将物理层的信号组织成帧，并进行错误检测和纠正。&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span class=&quot;&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; font-size: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline;&quot;&gt;网络层（Network Layer）&lt;/span&gt;：负责路由选择和网络互联，例如IP地址的处理。&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; font-size: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline;&quot;&gt;传输层（Transport Layer）&lt;/span&gt;：负责端到端的通信和数据传输的可靠性，例如TCP和UDP协议。&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; font-size: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline;&quot;&gt;会话层（Session Layer）&lt;/span&gt;：负责建立、管理和终止会话。&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0); margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span class=&quot;&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; font-size: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline;&quot;&gt;表示层（Presentation Layer）&lt;/span&gt;：负责数据的格式转换、加密和解密等。&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;paragraph&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span class=&quot;&quot; style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; font-size: inherit; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline;&quot;&gt;应用层（Application Layer）&lt;/span&gt;：为用户提供网络应用服务，例如HTTP、FTP等。&lt;/div&gt;&lt;p&gt;&lt;br/&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/05/202505171747414714279123.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;strong&gt;那么什么又是arp攻击呢？&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: rgba(0, 0, 0, 0.9); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt;ARP（Address Resolution Protocol）协议位于OSI模型的&lt;/span&gt;&lt;span class=&quot;&quot; style=&quot;font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-variant-alternates: inherit; font-variant-position: inherit; font-variant-emoji: inherit; font-weight: 600; font-stretch: inherit; font-size: 16px; line-height: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; color: rgba(0, 0, 0, 0.9); white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt;网络层&lt;/span&gt;&lt;span style=&quot;color: rgba(0, 0, 0, 0.9); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt;，其主要功能是将网络层的IP地址解析为数据链路层的物理地址（MAC地址）。ARP攻击主要利用了ARP协议的缺陷，通过伪造ARP报文来实现攻击目的。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: rgba(0, 0, 0, 0.9); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;&lt;em&gt;&lt;strong&gt;&lt;span style=&quot;color: rgba(0, 0, 0, 0.9); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt;那么在OSI7层模型中arp攻击具体怎么实现呢？&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: rgba(0, 0, 0, 0.9); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt;如上文所述由于arp协议的缺点，我们可以一直想目标主机发送报文，把目标引导向错误的位置，就好像说小明妈妈问小明去哪里吃饭，小明说去麦当劳，我们就可以利用妙妙ARP干扰小明妈妈让她去肯德基。&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style=&quot;color: rgba(0, 0, 0, 0.9); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: rgba(0, 0, 0, 0.9); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: rgba(0, 0, 0, 0.9); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Source Han Sans SC&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Noto Sans CJK SC&amp;quot;, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: #FFFFFF;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;好，那么理论环节结束，我们改怎么实操呢？&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: inherit; scrollbar-color: transparent transparent; margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: 16px; line-height: 26px; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; vertical-align: baseline; letter-spacing: 0px; max-width: 100%; white-space-collapse: preserve; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;首先您需要下载我的妙妙工具压缩包&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;下载链接：&lt;/strong&gt;&lt;strong&gt;&lt;a href=&quot;https://wweg.lanzouo.com/iVcNv2wfdr2h&quot; _src=&quot;https://wweg.lanzouo.com/iVcNv2wfdr2h&quot;&gt;https://wweg.lanzouo.com/iVcNv2wfdr2h&lt;/a&gt; &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;下载完事后解压得到下图两个软件&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/05/202505171747415550132568.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;您首先需要一路安装&lt;strong&gt;winpcap&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;然后打开&lt;strong&gt;arp欺骗&lt;/strong&gt;，并设置你所对应局域网的网卡&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/05/202505171747415527382850.png&quot; alt=&quot;Screenshot 2025-05-17 011140.png&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;并且在欺骗ip哪里填写目标主机的ip,&lt;strong&gt;并且开始攻击&lt;/strong&gt;就大功告成了&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/05/202505171747415841799401.png&quot; alt=&quot;Screenshot 2025-05-17 011702.png&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;您可能会疑惑，不知道目标ip怎么办？&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;那么有请&lt;strong&gt;下期预告：内网ip扫描&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;博客网址：&lt;/strong&gt;&lt;/span&gt;&lt;strong style=&quot;font-size: 16px;&quot;&gt;blog.5948888.xyz&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;B站：此生只为芭芭拉&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;未经允许请勿转载&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;</description><pubDate>Sat, 17 May 2025 00:34:45 +0800</pubDate></item><item><title>FED5B—红色沙皇的没落</title><link>https://blog.5948888.xyz/?id=15</link><description>&lt;p style=&quot;--tw-shadow: 0 0 #0000; --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(59,130,246,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; padding: 0px; -webkit-tap-highlight-color: transparent; cursor: text; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(47, 50, 56); font-family: Helvetica, Arial, sans-serif; font-size: 17px; text-align: justify; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;根据年前的博客补文列表来看，我们这篇博文应该来讲fed5B了，这台相机是苏联很后面右转之后搞出来的。反正就是质量参差不齐，做工比较的粗犷，我的那一台已经坏了QAQ&lt;/p&gt;&lt;p style=&quot;--tw-shadow: 0 0 #0000; --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(59,130,246,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; padding: 0px; -webkit-tap-highlight-color: transparent; cursor: text; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(47, 50, 56); font-family: Helvetica, Arial, sans-serif; font-size: 17px; text-align: justify; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/01/202501161736963672878477.jpg&quot; alt=&quot;6536c2744d31748640d5d9d23bea01ea1392472913.jpg&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;--tw-shadow: 0 0 #0000; --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(59,130,246,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; padding: 0px; -webkit-tap-highlight-color: transparent; cursor: text; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(47, 50, 56); font-family: Helvetica, Arial, sans-serif; font-size: 17px; text-align: justify; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;历史部分大家只需要知道，它从一代开始就是仿照徕卡进行设计的，像是原型机和二代对标的是巴纳克，从fed3开始就是对标徕卡的M系统，ed3后面几天我会讲到，然后fed5就是对标那坨莱卡历史上的勾石，也就是m5了&lt;/p&gt;&lt;p style=&quot;--tw-shadow: 0 0 #0000; --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(59,130,246,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; padding: 0px; -webkit-tap-highlight-color: transparent; cursor: text; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(47, 50, 56); font-family: Helvetica, Arial, sans-serif; font-size: 17px; text-align: justify; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/01/202501161736963702565435.jpg&quot; alt=&quot;c4f4cae398bef4d3d69ad7b8a1782da71392472913.jpg&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;--tw-shadow: 0 0 #0000; --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(59,130,246,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; padding: 0px; -webkit-tap-highlight-color: transparent; cursor: text; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(47, 50, 56); font-family: Helvetica, Arial, sans-serif; font-size: 17px; text-align: justify; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;--tw-shadow: 0 0 #0000; --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(59,130,246,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; padding: 0px; -webkit-tap-highlight-color: transparent; cursor: text; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(47, 50, 56); font-family: Helvetica, Arial, sans-serif; font-size: 17px; text-align: justify; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;我们先看正脸，先是卡口（祖传l39）我配的镜头是industrial61，这个镜头等年后再讲，然后是黄斑对焦系统和自拍，自拍是10秒差不多，黄斑的调节靠镜头卡口里面的那个拨杆实现，黄斑校准需要拧开他的那个盖盖然后用一字螺丝刀调&lt;/p&gt;&lt;p style=&quot;--tw-shadow: 0 0 #0000; --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(59,130,246,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; padding: 0px; -webkit-tap-highlight-color: transparent; cursor: text; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(47, 50, 56); font-family: Helvetica, Arial, sans-serif; font-size: 17px; text-align: justify; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/01/202501161736963722494750.jpg&quot; alt=&quot;7f3d4f6e595ccaeed7fca6e48d6ef7401392472913.jpg&quot;/&gt;&lt;/p&gt;&lt;p style=&quot;--tw-shadow: 0 0 #0000; --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(59,130,246,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; padding: 0px; -webkit-tap-highlight-color: transparent; cursor: text; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(47, 50, 56); font-family: Helvetica, Arial, sans-serif; font-size: 17px; text-align: justify; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;顶部的话就是一个最高500分之一秒速度的快门盘（记得新上弦再转）和一个没有任何卵用的iso指示盘,因为fed5b是fed5取消了测光的版本，比较麻烦的是回卷需要去扭那个转盘&lt;/p&gt;&lt;p style=&quot;--tw-shadow: 0 0 #0000; --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(59,130,246,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; padding: 0px; -webkit-tap-highlight-color: transparent; cursor: text; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(47, 50, 56); font-family: Helvetica, Arial, sans-serif; font-size: 17px; text-align: justify; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2025/01/202501161736963744462042.jpg&quot; alt=&quot;91c9125a0e9e9328fa56e067e36f8db71392472913.jpg&quot;/&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;--tw-shadow: 0 0 #0000; --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(59,130,246,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; padding: 0px; -webkit-tap-highlight-color: transparent; cursor: text; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(47, 50, 56); font-family: Helvetica, Arial, sans-serif; font-size: 17px; text-align: justify; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;背面的话就是闪光灯接口对角窗口，比较值得吐槽的就是没有了屈光度调节，很抽象，依旧是布帘快门，反正就是各种减配吧。当时日本的相机随便来一个也得8000快门速度以上，它从fed2开始就是500的快门速度，在加上国力的日薄西山就造就了这么一个故障率奇高无比，稳定性几乎没有的工业辣鸡。&lt;/p&gt;&lt;p style=&quot;--tw-shadow: 0 0 #0000; --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgba(59,130,246,.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; padding: 0px; -webkit-tap-highlight-color: transparent; cursor: text; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 list-6 0 list-7 0 list-8 0 list-9 0; color: rgb(47, 50, 56); font-family: Helvetica, Arial, sans-serif; font-size: 17px; text-align: justify; white-space: pre-wrap; background-color: rgb(255, 255, 255);&quot;&gt;本期没有返图（因为相机坏了），下次讲fed3的时候就又有了QAQ&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sun, 12 Jan 2025 01:02:46 +0800</pubDate></item><item><title>白嫖！！！免费二级域名可托管到CF</title><link>https://blog.5948888.xyz/?id=13</link><description>&lt;p&gt;本来说是要把带英游记写完的，&lt;/p&gt;&lt;p&gt;但是没崩住把扫描仪卖了，这段时间也比较的忙就只能搁置一手啦QAQ&lt;br/&gt;&lt;/p&gt;&lt;p&gt;那么我们这篇博文就来填白嫖二级域名的坑&lt;/p&gt;&lt;p&gt;-----------------------------------------------------------------&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;0000 域名注册&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;我们这一次用到的免费服务商（大冤种）就是我目前自用的二级域名 url:&amp;nbsp;&lt;strong&gt;register.us.kg&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;而我们需要准备的东西则是你的邮件和你伪造的工作名片（有大用处）&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;在进入&lt;strong&gt;register.us.kg后点击注册&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2024/10/202410191729272231617809.png&quot; alt=&quot;Screenshot 2024-10-19 012320.png&quot;/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;正常进行注册就行，但是邮箱&lt;strong&gt;不能用微软的和谷歌的&lt;/strong&gt;（甚至QQ和163的没有问题，倒反天罡了属于是）&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;这里的家庭住址和电话号码可以用美国人身份生成器搞定&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2024/10/202410191729272412392348.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;注册完成后需要完成邮箱验证（复制这个网址就行）&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2024/10/202410191729272681422782.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;注册成功后返回登录，然后它会要求你进行身份验证&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2024/10/202410191729272805664742.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;现在就需要你伪造的名片了，你的名片需要包括名字，邮箱，家庭地址和电话&lt;/p&gt;&lt;p&gt;并且要和你注册时一样（就下图那样的名片就行）&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2024/10/202410191729273067333966.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;然后选择上传KYC文件的选项，再填一下原因再上传一下你伪造的工作名片就行了就行了（英语不好的同学百度翻译一下吧）&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2024/10/202410191729273301791206.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;进入控制台后什么都不用动往下划拉，找到domain name 这个东西，并且选择它&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2024/10/202410191729273608850128.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;起个名字，正常注册就好了&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2024/10/202410191729273719613960.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;到这一步我们就可以开始part2了&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2024/10/202410191729273790536634.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;-------------------------------------------------------------------&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 18px;&quot;&gt;&lt;strong&gt;0001 托管CF&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;进入CF的仪表盘点击网站和添加&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2024/10/202410191729274048620858.png&quot; alt=&quot;Screenshot 2024-10-19 015308.png&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;输入你的域名&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2024/10/202410191729274169425437.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;选择免费计划&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2024/10/202410191729274216726834.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;添加你的解析&lt;/span&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2024/10/202410191729274415172054.png&quot; alt=&quot;image.png&quot;/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;把这两个网址输入us.kg那里的解析服务器就好了&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;https://blog.5948888.xyz/zb_users/upload/2024/10/202410191729274512299718.png&quot; alt=&quot;image.png&quot;/&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;剩下的按照正常配置就好啦&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;那么恭喜你，你已经白嫖到了二级域名，&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;下一个文章我将会教你怎么用这个二级域名DDNS&lt;/span&gt;&lt;/p&gt;</description><pubDate>Sat, 19 Oct 2024 01:07:58 +0800</pubDate></item></channel></rss>