{"id":13841143,"url":"https://github.com/momosecurity/oxpecker","last_synced_at":"2025-10-13T13:08:26.756Z","repository":{"id":104056929,"uuid":"202712143","full_name":"momosecurity/oxpecker","owner":"momosecurity","description":"oxpecker是一款用于从IDE提取开发项目仓库地址、当前分支、三方组件等信息用于安全分析的JetBrains家族IDE插件。","archived":false,"fork":false,"pushed_at":"2019-08-16T11:08:58.000Z","size":515,"stargazers_count":11,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T11:07:59.096Z","etag":null,"topics":["idea-plugin","phpstorm-plugin","security-analysis"],"latest_commit_sha":null,"homepage":"https://github.com/momosecurity/oxpecker.git","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/momosecurity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-08-16T10:58:27.000Z","updated_at":"2025-01-21T02:15:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"4fb0fa62-de5f-48c2-9c9b-a6490f68002d","html_url":"https://github.com/momosecurity/oxpecker","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/momosecurity%2Foxpecker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momosecurity%2Foxpecker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momosecurity%2Foxpecker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/momosecurity%2Foxpecker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/momosecurity","download_url":"https://codeload.github.com/momosecurity/oxpecker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248097902,"owners_count":21047333,"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":["idea-plugin","phpstorm-plugin","security-analysis"],"created_at":"2024-08-04T17:01:03.249Z","updated_at":"2025-10-13T13:08:21.711Z","avatar_url":"https://github.com/momosecurity.png","language":"Java","funding_links":[],"categories":["Java","Java (504)"],"sub_categories":[],"readme":"## 关于我们\nWebsite：https://security.immomo.com \u003cbr\u003e\nWeChat:\u003cbr\u003e \n\u003cimg src=\"https://momo-mmsrc.oss-cn-hangzhou.aliyuncs.com/img-1c96a083-7392-3b72-8aec-bad201a6abab.jpeg\" width=\"200\" hegiht=\"200\" align=center /\u003e\u003cbr\u003e\n[文章地址](https://dwz.cn/yIyclLxZ)\n\u003cbr\u003e\n## 项目简介\n\noxpecker是一款用于从IDE提取开发项目仓库地址、当前分支、三方组件等信息用于安全分析的JetBrains家族IDE插件。\n\n---\n## 一、准备\n- Project JDK: 1.8+\n- Gradle: 5.0+（Require JDK1.8+ for gradle）\n\n## 二、构建\n\n在开始构建之前，修改/oxpecker/src/main/java/com/thecastle/idea/until/InformationExtractAndSendUtil.java文件第47、54、104、214行\n\n```java\n//修改上传数据加签key\nprivate static final String key = \"change_md5_key\";\n\n//修改用于探测服务可达的地址，建议与数据提交地址位于相同服务上\nString response = HttpRequestUtil.sendGet(\"http://web.local.com\", \"\");\n\n //修改为实际数据提交地址\nHttpRequestUtil.sendPost(\"http://web.local.com\", param);\n\n//域名修改为内部仓库地址；非该域名的信息将不会上传\n if (!gitAddress.contains(\"github.com\")) {\n\n```\n构建\n```\ncd oxpecker\ngradle clean buildPlugin\n```\n\n## 三、插件安装\n#### 1、本地文件安装\n依次选择\n```\nPreferences \u003e\u003e Plugins \u003e\u003e Install plugin from disk...\n```\n从./oxpecker/build/libs 选择oxpecker-1.0.0.jar安装，然后重启IDE\n\u003cbr\u003e\n\u003cbr\u003e\n![install_from_disk](./doc/images/install_from_disk.jpg)\n\n#### 2、通过私有插件仓库安装\n搭建web服务，把updatePlugins.xml 及oxpecker-1.0.0.jar文件放在web目录下，updatePlugins.xml文件内容如下：\n\n```$xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cplugins\u003e\n    \u003cplugin id=\"com.thecastle.oxpecker\" url=\"./oxpecker-1.0.0.jar\" version=\"1.0.0\"\u003e\n         \u003cidea-version since-build=\"162.1628.40\" /\u003e \n    \u003c/plugin\u003e\n\u003c/plugins\u003e\n\n```\n然后依次打开：\n\n```\nPreferences \u003e\u003e Plugins \u003e\u003e Browse repositories... \u003e\u003e Manage repositories...\n```\n添加私有仓库地址http://test.local.com/updatePlugins.xml\n\u003cbr\u003e\n\u003cbr\u003e\n![set_address](./doc/images/set_address.jpg)\n\u003cbr\u003e\n\u003cbr\u003e\n查询并进行安装\n\u003cbr\u003e\n\u003cbr\u003e\n![search](./doc/images/search.jpg)\n\u003cbr\u003e\n\u003cbr\u003e\n插件需要更新时，把新版本插件上传到web目录下，并修改updatePlugins.xml文件内容，IDE即可选择更新\n\u003cbr\u003e\n\u003cbr\u003e\n![update](./doc/images/update.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmomosecurity%2Foxpecker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmomosecurity%2Foxpecker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmomosecurity%2Foxpecker/lists"}