国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Linux > 正文

在Linux系統上用nmap掃描SSL漏洞的方法

2020-07-10 11:21:36
字體:
來源:轉載
供稿:網友

以下載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)漏洞,則會有出現下面的提示:


復制代碼
代碼如下:
Nmap scan report for mediacentre (192.168.1.5)
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 /* 風險高*/

這兩行表示掃描的結果。


升級完成后,我們再次測試,就沒有剛才的提示了。而是變成:

   

復制代碼
代碼如下:
Nmap scan report for mediacentre (192.168.1.5)
Host is up (0.0011s latency).
PORT STATE SERVICE VERSION
443/tcp open ssl OpenSSL (SSLv3)</p><p> 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

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 长治县| 阜南县| 司法| 含山县| 黑山县| 大城县| 鱼台县| 花垣县| 博兴县| 黎川县| 连城县| 博客| 佛山市| 红桥区| 武乡县| 台中市| 西华县| 临颍县| 谷城县| 平顺县| 垣曲县| 开江县| 柯坪县| 日土县| 崇礼县| 偃师市| 阳城县| 利辛县| 会理县| 穆棱市| 香格里拉县| 鄂伦春自治旗| 临夏市| 福清市| 拉萨市| 徐闻县| 上虞市| 黄大仙区| 田阳县| 朝阳市| 乡城县|