nmap 检测扫描端口,shell elif then else 用法
#!/bin/bash #yum install -y nmap # 安装扫描工具 read -p "请输入域名或IP地址进行检测:" eaddress read -p "请选择执行方式:1 为端口范围,2 为指定端口,由数组 eport ...
#!/bin/bash #yum install -y nmap # 安装扫描工具 read -p "请输入域名或IP地址进行检测:" eaddress read -p "请选择执行方式:1 为端口范围,2 为指定端口,由数组 eport ...