安全软件
点击放大

A collection of security related Python and Bash shell scripts, mainly re
around testing hosts for security . For the shell scripts no
fancy programming framework is required, all that is needed is a Bash shell.
Note that it is highly recommended to use analyze_hosts.py as it is the most
recent . No new features will be added to the Bash analyze_hosts.sh.
analyze_hosts is also a as Docker image, including the open source
scanners droopescan, nmap, Nikto and testssl.sh. Build it yourself using
the supplied Dockerfile, or grab the image from Docker Hub
You can also run the included tools that way; just o the entrypoint. As
an example, run testssl.sh:
A simple wrapper script around several open source security tools to simplify
scanning of hosts for network . The script lets you analyze one
or several hosts for common misconfiguration and weaknesses.
The main objectives for the script is to make it as easy as possible to perform
generic security tests, without any hea, make the output as
informative as possible, and use open source tools. It can easily be used as
scheduled task, or be implemented in Continuous Integration en.
The only requirements are nmap and Python3.
As the scan output can be written to a JSON file it can be used to generate
deltas (differences) between scans, or to use the output for further inspection.
Note that you can also run analyze_hosts straight from a Docker image:
One-time installation steps without (all required Python libraries
are specified in the requirements.txt file):
The script analyze_hosts automatically execute other scans (based on their
fingerprint or open ports):
You can use the following en (all uppercase) to specify the
tools if they cannot be found in the standard paths:
CURL, DROOPESCAN, NIKTO, OPENSSL, TESTSSL, WPSCAN
A settings file can be used (--settings) to configure or tweak scan parameters
per host / port combination. This allows you to suppress false positives in scan
results. Currently the Nikto Plugins, Tuning and output parameters are
supported, as well as a list of allowed / expected open ports, and testssl
parameters:
Example settings file:
This will supply the `-Plugins '@@ALL' -Tuning 'x1' -output 'report.html'
parameters to Nikto, when port 80 is scanned.
Furthermore, it will not generate an alert when an open port other than port 22,
80 or 443 is found. By default, an alert will be generated if an open port other
than 80 or 443 is found.
There will no alert be generated if the SSL/TLS endpoint on port 443 contains an
untrusted (self-signed) certificate. And instead of all default tests, only
three SSL/TLS tests will be performed.
A little helper script that formats the scan results nicely, so that scan
results can easily be re.
A simple wrapper script around several open source security tools to simplify
scanning of hosts for network . The script lets you analyze one
or several hosts for common misconfiguration and weaknesses. The
main objectives for the script is to make it as easy as possible to perform
generic security tests, without any hea, make the output as
informative as possible, and use open source tools....
* whois
#### SSL certificates
Shows details of a certificate, like the issuer and subject. It warns when
certificate is expired or when the certificate is a certificate authority.
Example output:
#### SSL/TLS ciphers
Checks which ciphers are allowed. It warns when insecure ciphers are being used.
By default the ports 443, 465, 993, 995 and 3389 and are checked. You can
specify the ports by using --sslports The -v flag outputs all results, regardles
of the message type.
Example output:
A script to test TLS/SSL handshakes with. Several bugtests are included:
\$ ./test_ssl_handshake.sh
开发语言:Python
Star 数:281
该项目属于安全软件方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕A collection of security related Python and Bash shell scripts. Analyze hosts on generic security vulnerabilities. Wrapper around popular tools like nmap (portscanner), nikto (webscanner) and testssl.sh (SSL/TLS scanner)展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | security-scripts - A collection of security related Python and Bash s |
| 所属分类 | 安全软件 |
| 发布作者 | admin |
| 发布时间 | 2026-10-05 22:38:27 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 80 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |