查询ip归属地的shell脚本
发表于:2024-09-22 作者:千家信息网编辑
千家信息网最后更新 2024年09月22日,#!/bin/bashipp(){exec < $1while read adostring1=`curl -s "http://www.ip138.com/ips138.asp?ip=${a}&ac
千家信息网最后更新 2024年09月22日查询ip归属地的shell脚本
#!/bin/bashipp(){exec < $1while read adostring1=`curl -s "http://www.ip138.com/ips138.asp?ip=${a}&action=2"|iconv -f gb2312 -t utf-8|grep '
- ' | awk -F '[<>]+' '{print substr($5,7)}'`echo $aecho -e "\033[44;37;5m $string1 \033[0m"done}case $1 in-f)shiftipp $1;;-i)shiftstring1=`curl -s "http://www.ip138.com/ips138.asp?ip=${1}&action=2"| iconv -f gb2312 -t utf-8 |grep '
- ' | awk -F '[<>]+' '{print substr($5,7)}'`echo $1echo -e "\033[44;37;5m $string1 \033[0m";;*)echo "[Help]$0 need -f or -i-f ------ argument is a file-i ------ argument is a IP[For example]:$0 -f filename$0 -f ipaddress";;esac
- ' | awk -F '[<>]+' '{print substr($5,7)}'`echo $1echo -e "\033[44;37;5m $string1 \033[0m";;*)echo "[Help]$0 need -f or -i-f ------ argument is a file-i ------ argument is a IP[For example]:$0 -f filename$0 -f ipaddress";;esac
utf-8
脚本
归属
查询
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
网络安全例会制度
搜索网络安全手抄报
制作可视化数据库录入
服务器可以做哪些操作系统
数据库单元格只读是什么意思
怎样理解计算机中的软件开发
手机app软件开发费用多少钱
php游戏服务器框架
重庆网络安全执法
网络安全目的和意义
威海市网络安全
守护明天网络安全
数据库系统代码模板下载
网络安全连接的重要性
lol游戏环境最好的服务器
网络安全实名制的要求
黄南州网络安全
安卓手机ftp服务器
计算机网络技术看法
自学数据库哪本书好
软件开发面试有几面
网络安全运维英文简写的全称
数据库多线程开发
传奇4亚洲服务器在哪个国家
计算机网络技术中的bdc
网络技术职业查询
软件开发学习哪好
俺网络安全安全笔记怎么写
局域网服务器如何扩展
证券行业数据库