返回首页 IP范围扫描脚本

IP范围扫描脚本

**脚本 | 2025-06-18 04:10:43

#!/bin/bash
# 简易IP段存活检测
for ip in $(seq 1 254); do
    ping -c 1 192.168.1.$ip | grep "bytes from" | cut -d" " -f4 | cut -d":" -f1 &
done