频道栏目
首页 > 资讯 > 浏览器 > 正文

获取局域网中可以ssh登陆的ip地址,nmap使用

15-06-30        来源:[db:作者]  
收藏   我要投稿
arp - a         //
ifconfig -a     //old 
ip addr         //ip a :iproute2 suite
sudo nmap –sS 192.168.1.*   //或者sudo nmap -sS -p 22 192.168.1.0/24; if you ip address is in 192.168.1.1-255. -sP 渗透内网之后判断当前网络哪些主机在线; -p 22 端口号,ssh默认端口为22 ; -sS为TCP SYN 扫描 (又称半开放,或隐身扫描).不同的参数对扫描时间有影响:
    e.g.:  nmap -p 22 --open -sV 10.0.0.0/24
    nmap : the executable name
    -p 22 : specifies the port to test
    --open : suppress output for clients that are not listening
    -sV : display the version string reported by the scanned server
    10.0.0.0/24 : the target network, could have been 192.168.0.0/24
    (/24 specifies a subnet of 255.255.255.0, look up slash notation)
相关TAG标签
上一篇:Android调试器存在漏洞,可获取设备内存数据
下一篇:nginx和lua
相关文章
图文推荐

关于我们 | 联系我们 | 广告服务 | 投资合作 | 版权申明 | 在线帮助 | 网站地图 | 作品发布 | Vip技术培训 | 举报中心

版权所有: 红黑联盟--致力于做实用的IT技术学习网站