您现在的位置是:网站首页> 编程资料编程资料
在Linux系统上用nmap扫描SSL漏洞的方法_LINUX_操作系统_
2023-03-18
875人已围观
简介 在Linux系统上用nmap扫描SSL漏洞的方法_LINUX_操作系统_
以下载nmap 6.45及以上版本。如果懒的重新安装,可以直接下载ssl-heartbleed.nse 脚本。
使用nmap 6.45扫描服务器心脏出血漏洞(heartbleed)的具体方法(步骤)如下:
当然,你要先按好nmap,自己可以去网上google下。
在使用nmap 的过程中指定 ssl-heartbleed.nse 脚本来扫描探测,命令如下;
[root@dabu.info ~]#nmap -sV -p 443 --script=ssl-heartbleed.nse 192.168.1.5
或者
[root@dabu.info ~]#nmap -sV -p 443 --script=ssl-heartbleed 192.168.1.5
解释;其中 192.168.1.5 是要被扫描的ip,也可以换成域名
假设你的服务器(vps)有心脏出血漏洞(heartbleed)漏洞,则会有出现下面的提示:
Host is up (0.0059s latency).
Not shown: 992 closed ports
PORT STATE SERVICE VERSION
443/tcp open ssl OpenSSL (SSLv3)
| ssl-heartbleed:
| VULNERABLE:
| The Heartbleed Bug is a serious vulnerability in the popular OpenSSL cryptographic software library. It allows for stealing information intended to be protected by SSL/TLS encryption.
| State: VULNERABLE
| Risk factor: High
| Description:
| OpenSSL versions 1.0.1 and 1.0.2-beta releases (including 1.0.1f and 1.0.2-beta1) of OpenSSL are affected by the Heartbleed bug. The bug allows for reading memory of systems protected by the vulnerable OpenSSL versions and could allow for disclosure of otherwise encrypted confidential information as well as the encryption keys themselves.
|
| References:
| https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0160
| http://www.openssl.org/news/secadv_20140407.txt
|_ http://cvedetails.com/cve/2014-0160/
Service Info: Host: firefly003; OS: Linux; CPE: cpe:/o:linux:linux_kernel
注意:
| State: VULNERABLE /*受威胁 */
| Risk factor: High /* 风险高*/
这两行表示扫描的结果。
升级完成后,我们再次测试,就没有刚才的提示了。而是变成:
Host is up (0.0011s latency).
PORT STATE SERVICE VERSION
443/tcp open ssl OpenSSL (SSLv3)
Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 11.24 seconds
相关内容
- linux如何查看防火墙?Linux手动关闭防火墙的教程_LINUX_操作系统_
- 在Linux下打包tar文件时添加密码的方法_LINUX_操作系统_
- 使用find命令查找Linux中的隐藏文件的方法_LINUX_操作系统_
- 为Linux系统的VPS服务器开启SSH密钥登录的方法_LINUX_操作系统_
- 管理用SSH远程登录Linux服务器的用户的权限_LINUX_操作系统_
- Linux系统中关于KVM虚拟机迁移的一些相关问题_LINUX_操作系统_
- Linux iptables的备份和恢复操作详解_LINUX_操作系统_
- Linux系统的服务器上配置电信网通双IP的方法_LINUX_操作系统_
- Percona Server 5.5.44-37.3/5.6.25-73.0 发布_LINUX_操作系统_
- Linux使用git检出一个单独的分支的方法_LINUX_操作系统_
