{"id":13538819,"url":"https://github.com/wyatu/perun","last_synced_at":"2025-04-02T05:31:58.932Z","repository":{"id":41519404,"uuid":"164305109","full_name":"WyAtu/Perun","owner":"WyAtu","description":"Perun是一款主要适用于乙方安服、渗透测试人员和甲方RedTeam红队人员的网络资产漏洞扫描器/扫描框架","archived":false,"fork":false,"pushed_at":"2019-04-25T03:10:11.000Z","size":1186,"stargazers_count":1059,"open_issues_count":1,"forks_count":247,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-11-19T10:49:05.536Z","etag":null,"topics":["pentest-tool","pentesting","redteam","scanner","security","security-tool","vulnerability-scanners"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WyAtu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-06T12:30:43.000Z","updated_at":"2024-10-15T07:32:40.000Z","dependencies_parsed_at":"2022-09-19T07:12:35.731Z","dependency_job_id":null,"html_url":"https://github.com/WyAtu/Perun","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WyAtu%2FPerun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WyAtu%2FPerun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WyAtu%2FPerun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WyAtu%2FPerun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WyAtu","download_url":"https://codeload.github.com/WyAtu/Perun/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246763806,"owners_count":20829795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pentest-tool","pentesting","redteam","scanner","security","security-tool","vulnerability-scanners"],"created_at":"2024-08-01T09:01:16.511Z","updated_at":"2025-04-02T05:31:53.922Z","avatar_url":"https://github.com/WyAtu.png","language":"Python","readme":"# Perun\n[![Python 2.7](https://img.shields.io/badge/python-2.7-yellow.svg)](https://www.python.org/) [![License](https://img.shields.io/aur/license/yaourt.svg)](https://github.com/WyAtu/Perun/blob/master/LICENSE) [![Vulns](https://img.shields.io/badge/Vulns/20190425-57-red.svg)](https://github.com/WyAtu/Perun/tree/master/vuln) \n\n**Perun**是一款主要适用于**乙方安服、渗透测试人员和甲方RedTeam红队人员的网络资产漏洞扫描器/扫描框架**，它主要适用于**内网环境**，加载漏洞检测Vuln模块后能够快速发现安全问题，并根据需要生成报表，以方便安全人员对授权项目完成测试工作。\n\n**Perun**由Python2.7和Python标准库开发，所有功能(端口扫描，漏洞检测，控制台输出，生成Html报告)兼容Windows系统和\\*nix系统，Html报告采用Vue+Element，**支持对扫描结果的排序、搜索、分页**。\n\n**在内网环境中只需上传Perun的启动器文件**(未安装Python的主机环境下可以使用Pyinstaller[打包](https://github.com/WyAtu/Perun/tree/master/doc/package2exe#%E6%89%93%E5%8C%85perun%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6)生成的单个控制台exe二进制启动器文件，大小在3-5M)，其余文件可以部署在云端，也可以部署在目标内网中，**既可用作普通的端口扫描器，又可用作漏洞扫描器**，方便安全人员在内网环境中进行工作。\n\n## 快照预览\n\n- 控制台快照\n\n  ![all_list](https://github.com/WyAtu/Perun/blob/master/doc/snapshot/all_list.jpg)\n  \n  ---\n\n  ![test](https://github.com/WyAtu/Perun/blob/master/doc/snapshot/test.jpg)\n\n---\n\n- 报告快照\n\n  ![report_snapshot1](https://github.com/WyAtu/Perun/blob/master/doc/snapshot/report_snapshot1.jpg)\n  \n  ---\n\n  ![report_snapshot1](https://github.com/WyAtu/Perun/blob/master/doc/snapshot/report_snapshot2.jpg)\n  \n  ---\n\n  ![report_snapshot1](https://github.com/WyAtu/Perun/blob/master/doc/snapshot/report_snapshot3.jpg)\n\n## 工作流程\n\n- 加载-l参数指定路径下的项目代码\n\n- 解析-t参数指定的目标\n\n- 进行ping扫描活跃主机(使用--skip-ping参数将跳过ping扫描阶段)\n\n- 根据默认扫描端口或-p参数对指定端口进行端口扫描，默认扫描178个端口，详见[Perun/conf/globallistconf.py](https://github.com/WyAtu/Perun/blob/master/conf/globallistconf.py)\n\n- 解析--vuln和--search(包括--filter和--exclude)参数指定的漏洞检测Vuln模块\n\n- 根据各Vuln模块默认扫描端口或--set-port指定各Vuln模块扫描端口，匹配目标主机开放端口，生成待扫描目标列表\n\n- 加载各漏洞扫描Vuln模块Payload，进行漏洞扫描\n\n- 生成报告(使用--skip-report参数将跳过生成报告)\n\n## 启动和加载\n\nPerun由Perun.py(或是由Perun.py打包生成的二进制文件)启动，有两种方式加载，远程加载和本地加载，通过-l/--load-file-path参数指定本地文件路径或者远程地址url后，Perun.py将会加载其他代码和漏洞检测Vuln模块并执行。\n\n这样可以在保证项目开发目录结构清晰的同时，只需要一个启动器文件在内网环境中即可工作，其余文件可部署在公网云端或内网环境本地，单个启动器文件方便打包成更小的exe二进制文件，且更新插件不需要重新打包(如导入新的Python库则需要重新打包)，一劳永逸。\n\n## 使用参数\n\n[使用参数](https://github.com/WyAtu/Perun/blob/master/doc/how2start.md#%E4%BD%BF%E7%94%A8%E5%8F%82%E6%95%B0)\n\n## 使用举例\n\n[使用举例](https://github.com/WyAtu/Perun/blob/master/doc/how2start.md#%E4%BD%BF%E7%94%A8%E4%B8%BE%E4%BE%8B)\n\n## 支持的Vuln模块\n\n**Perun**目前支持57个Vuln模块\n\n[支持的Vuln模块](https://github.com/WyAtu/Perun/blob/master/doc/aboutvuln.md#%E6%94%AF%E6%8C%81%E7%9A%84vuln%E6%A8%A1%E5%9D%97)\n\n## 自定义Vuln模块\n\n[编写新的自定义Vuln模块](https://github.com/WyAtu/Perun/blob/master/doc/aboutvuln.md#%E8%87%AA%E5%AE%9A%E4%B9%89vuln%E6%A8%A1%E5%9D%97)\n\n**欢迎编写并提交更多自定义Vuln模块，直接pr或者发到邮箱wyatu[@]foxmail.com**\n\n## 如何打包\n\n[打包Perun二进制文件](https://github.com/WyAtu/Perun/tree/master/doc/package2exe#%E6%89%93%E5%8C%85perun%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6)\n\n## 更新日志\n\n[CHANGELOG.md](https://github.com/WyAtu/Perun/blob/master/CHANGELOG.md)\n\n## 致谢\n\n- [liyuan](https://github.com/ly1102)大哥的报告前端代码支持\n\n- [xunfeng](https://github.com/ysrc/xunfeng)、[Scanver](https://github.com/ydhcui/Scanver/)等开源项目和其他开源脚本/项目，很多Vuln模块参考或取自这些优秀的开源项目\n\n在此表示感谢。\n\n- Ntears编写的Weblogic wls9-async RCE CNVD-C-2019-48814 Vuln模块\n\n## 说明\n\nBug/更多自定义Vuln模块提交/意见建议，请直接pr或者发到邮箱wyatu[@]foxmail.com\n\n本项目仅进行漏洞探测工作，无漏洞利用、攻击性行为，开发初衷仅为方便安全人员对授权项目完成测试工作和学习交流使用，**请使用者遵守当地相关法律，勿用于非授权测试，如作他用所承受的法律责任一概与作者无关，下载使用即代表使用者同意上述观点**。\n\n附《[中华人民共和国网络安全法](http://www.npc.gov.cn/npc/xinwen/2016-11/07/content_2001605.htm)》。\n","funding_links":[],"categories":["\u003ca id=\"683b645c2162a1fce5f24ac2abfa1973\"\u003e\u003c/a\u003e漏洞\u0026\u0026漏洞管理\u0026\u0026漏洞发现/挖掘\u0026\u0026漏洞开发\u0026\u0026漏洞利用\u0026\u0026Fuzzing","\u003ca id=\"5dd93fbc2f2ebc8d98672b2d95782af3\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"c0bec2b143739028ff4ec439e077aa63\"\u003e\u003c/a\u003e漏洞扫描\u0026\u0026挖掘\u0026\u0026发现","\u003ca id=\"8afafc25f4fb0805556003864cce90e2\"\u003e\u003c/a\u003eRedTeam"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwyatu%2Fperun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwyatu%2Fperun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwyatu%2Fperun/lists"}