Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
patch-openssl-CVE-2014-0160 — 使用 ansible 修补 openssl #heartbleed | Kitploit
工具/GitHubGitHub/jdauphant/patch-openssl-cve-2014-0160
云基础设施安全漏洞分析脚本与自动化配置审计DevSecOps
GitHubjdauphant/patch-openssl-cve-2014-0160

patch-openssl-CVE-2014-0160

使用 ansible 修补 openssl #heartbleed

查看仓库

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
19811年前尚未审核

patch-openssl-CVE-2014-0160

使用 Ansible 修补 openssl #heartbleed(心脏出血漏洞)

使用方法:

root@kitploit:~
pip install ansible
ansible-playbook -i your_inventory_file patch-openssl-CVE-2014-0160.yml

your_inventory_file 只需包含你的服务器列表:

root@kitploit:~
192.168.0.10
webserver1.example.com
webserver2.example.com
db1.example.com

支持

  • 升级 Debian 系列操作系统中的 openssl
  • 重启部分受影响的服务

待办事项

  • 重启更多服务
  • 重新生成 SSL 证书
  • 支持更多操作系统

判断是否需要修补

root@kitploit:~
% openssl version -a
OpenSSL 1.0.1 14 Mar 2012
built on: Tue Aug 21 05:18:48 UTC 2012
-> 你需要修补(构建日期在 2014 年 4 月 7 日之前)
% openssl version -a
OpenSSL 1.0.1 14 Mar 2012
built on: Mon Apr  7 20:33:29 UTC 2014
-> 你的系统通常已修补(构建日期在 2014 年 4 月 7 日之后)

# openssl s_client -connect twitter.com:443  -tlsextdebug 2>&1| grep 'server extension "heartbeat" (id=15)'
TLS server extension "heartbeat" (id=15), len=1 
-> 如果你使用 openssl,则心跳扩展已激活,可能需要修补

# openssl s_client -connect cloudflare.com:443  -tlsextdebug 2>&1| grep 'server extension "heartbeat" (id=15)'
-> cloudflare 已修补

更多信息

  • CVE-2014-0160
  • http://heartbleed.com/
  • https://www.openssl.org/news/secadv_20140407.txt

作者

Julien DAUPHANT

下载工具