判断目标机器是否出网

基于协议判断目标机器是否出网

出网判断命令汇总

协议:ICMP、TCP、UDP、http、DNS

ICMP

ping ip/domain

tracert ip/domain

ping www.baidu.com

tracert baidu.com

TCP

telnet ip port

nc ip port

nc -zv ip port

UDP

nc -zuv ip port

HTTP/HTTPS

curl ip or domain

curl http://www.baidu.com

curl https://www.baidu.com

Linux: wget curl

Windows: certutil powershell bitsadmin regsrv....

DNS

linux:
dig @8.8.8.8 www.baidu.com

windows:
nslookup www.baidu.com 8.8.8.8

免责声明

严禁读者利用以上介绍知识点对网站进行非法操作 , 本文仅用于技术交流和学习 , 如果您利用文章中介绍的知识对他人造成损失 , 后果由您自行承担 , 如果您不能同意该约定 , 请您务必不要阅读该文章 , 感谢您的配合 !

posted @ 2021-04-18 11:19  Chen-w  阅读(1203)  评论(0编辑  收藏  举报