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

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

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

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

工具目录

分类

查看所有分类
Loading categories
salt-scanner — 基于Salt Open和Vulners审计API的Linux漏洞扫描器,支持Slack通知和JIRA集成 | Kitploit
工具/GitHubGitHub/0x4d31/salt-scanner
漏洞扫描器漏洞分析配置审计云安全DevSecOps日志分析Archived
GitHub0x4d31/salt-scanner

salt-scanner

基于Salt Open和Vulners审计API的Linux漏洞扫描器,支持Slack通知和JIRA集成

查看仓库
262478年前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

salt-scanner

基于Vulners Audit API和Salt Open的Linux漏洞扫描器,支持Slack通知和JIRA集成。

功能特性

  • Slack通知和报告上传
  • JIRA集成
  • OpsGenie集成

环境要求

  • Salt Open 2016.11.x (salt-master, salt-minion)¹
  • Python 2.7
  • salt(可能需要安装gcc、gcc-c++、python开发包)
  • slackclient
  • jira
  • opsgenie-sdk

注意:Salt Master和Minion版本应匹配。Salt-Scanner支持Salt 2016.11.x版本。如果使用2017.7.x版本,请将salt-scanner.py中的"expr_form"替换为"tgt_type"。

使用方法

root@kitploit:~
$ ./salt-scanner.py -h

 ==========================================================
  Vulnerability scanner based on Vulners API and Salt Open
 _____       _ _     _____                                 
/  ___|     | | |   /  ___|                               
\ `--.  __ _| | |_  \ `--.  ___ __ _ _ __  _ __   ___ _ __ 
 `--. \/ _` | | __|  `--. \/ __/ _` | '_ \| '_ \ / _ \ '__|
/\__/ / (_| | | |_  /\__/ / (_| (_| | | | | | | |  __/ |   
\____/ \__,_|_|\__| \____/ \___\__,_|_| |_|_| |_|\___|_|   

               Salt-Scanner 0.1 / by 0x4D31               
 ==========================================================

usage: salt-scanner.py [-h] [-t TARGET_HOSTS] [-tF {glob,list,grain}]
                       [-oN OS_NAME] [-oV OS_VERSION]

optional arguments:
  -h, --help            show this help message and exit
  -t TARGET_HOSTS, --target-hosts TARGET_HOSTS
  -tF {glob,list,grain}, --target-form {glob,list,grain}
  -oN OS_NAME, --os-name OS_NAME
  -oV OS_VERSION, --os-version OS_VERSION

$ sudo SLACK_API_TOKEN="EXAMPLETOKEN" ./salt-scanner.py -t "*"

 ==========================================================
  Vulnerability scanner based on Vulners API and Salt Open
 _____       _ _     _____                                 
/  ___|     | | |   /  ___|                               
\ `--.  __ _| | |_  \ `--.  ___ __ _ _ __  _ __   ___ _ __ 
 `--. \/ _` | | __|  `--. \/ __/ _` | '_ \| '_ \ / _ \ '__|
/\__/ / (_| | | |_  /\__/ / (_| (_| | | | | | | |  __/ |   
\____/ \__,_|_|\__| \____/ \___\__,_|_| |_|_| |_|\___|_|   

               Salt-Scanner 0.1 / by 0x4D31               
 ==========================================================

+ No default OS is configured. Detecting OS...
+ Detected Operating Systems:
   - OS Name: centos, OS Version: 7
+ Getting the Installed Packages...
+ Started Scanning '10.10.10.55'...
   - Total Packages: 357
   - 6 Vulnerable Packages Found - Severity: Low
+ Started Scanning '10.10.10.56'...
   - Total Packages: 392
   - 6 Vulnerable Packages Found - Severity: Critical

+ Finished scanning 2 host (target hosts: '*').
2 Hosts are vulnerable!

+ Output file created: 20170622-093138_232826a7-983f-499b-ad96-7b8f1a75c1d7.txt
+ Full report uploaded to Slack
+ JIRA Issue created: VM-16
+ OpsGenie alert created

您也可以在目标主机中使用Salt Grains,例如ec2_tags:

root@kitploit:~
$ sudo ./salt-scanner.py --target-hosts "ec2_tags:Role:webapp" --target-form grain

Slack告警

Salt-Scanner

待办事项

  • 清理代码并添加一些错误处理
  • 使用Salt Grains获取操作系统信息和已安装的软件包

[1] 10分钟内的Salt:https://docs.saltstack.com/en/latest/topics/tutorials/walkthrough.html

下载工具