MCPcopy Index your code
hub / github.com/0x727/DropLabTools

github.com/0x727/DropLabTools @DropLabTools-V1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release DropLabTools-V1.0 ↗ · + Follow
414 symbols 1,270 edges 84 files 63 documented · 15%

Browse by type

Functions 332 Types & classes 82
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

说明书

前言

团队介绍

水滴实验室:

红队渗透技术研究团队,主要方向以研究攻防红队技术为主,百场以上国家级,省级攻防对抗优秀攻击队称号,以红队视角评估客户安全防护体系薄弱点,为高端客户提供专业的红队评估服务。实验室成员均为从业多年攻防实战的红队选手,拥有非常完善的攻防经验,为客户的安全防御能力检测提供了强有力的保障。

使用方法

  • 一天三次,饭前服用,神清气爽,精神抖擞

编译说明

  • 项目采用 springboot开发,可以通过 jar方式直接运行。
  • 编译:mvn clean package -DskipTests --> build.bat
  • 运行 :java.exe -jar ./target/DropLabTools-0.0.1-SNAPSHOT.jar --> run.bat
  • 访问 http://127.0.0.1:43023
  • 项目启动时会在当前目录生成一个tomcat文件夹,自动释放一个tomcat-embed-core-8.5.40.jar依赖包,在动态编译过程中需要使用这个依赖。

使用说明

说明

Execute类型:是回显的命令执行,通过 Header头中的 TestdmcTestecho两个参数传递命令,探测是否执行成功。

image-20220907133439567

UploadShell类型:是通过 lib依赖自动寻址,然后落地一个 webshell,具体实现可以看 CodeFactory这个类。其中落地的 webshell内容一般可以自定义,通过文件上传方式传递。

image-20220907133815125

Memoryshell类型:是注入内存马,一般默认都是注入一个 Valve-Godzilla类型的内存马。连接密码和key都是qax36oNb。注入的 valve内存马是两用内存马,可以单独执行系统命令。

image-20220907134103843

image-20220907134128394

首页

image-20220907132738390

代理

设置全局代理,支持httpsocks5,可以抓取请求包数据

image-20220907132911560

fastjson

编写了两种fastjson的不出网利用方式,一种是BCEL表达式,另外一种是结合C3P0二次反序列化。这里返回了一个固定格式的json,根据漏洞传递的不同 json格式可以自行修改。

image-20220907133140387

el表达式shell

一个实验中的想法,上传文件时不允许包含 <%等标签时可以上传 el表达式 el表达式 shell,然后利用 el表达式执行 ScriptEngineManager脚本,这个客户端就是自动实现了一些功能。

webshell内容:${"".getClass().forName("javax.script.ScriptEngineManager").newInstance().getEngineByName("js").eval(param.Code)}

image-20220907141307333

image-20220907141233706

image-20220907141501179

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 237
Function 95
Class 78
Interface 4

Languages

Java77%
TypeScript23%

Modules by API surface

src/main/resources/static/js/jquery-min.js83 symbols
src/main/java/com/droplab/Utils/ResponseUtils.java24 symbols
src/main/java/com/droplab/Utils/HttpUtils.java16 symbols
src/main/java/com/droplab/Utils/compile/MemoryJavaFileManager.java14 symbols
src/main/java/com/droplab/Controller/FastJson/Common/C3P0SerializeObject.java13 symbols
src/main/java/com/droplab/Controller/FineReport/Common/FinereportV10Hibernatel.java11 symbols
src/main/java/com/droplab/Utils/UnSerialize/utils/Reflections.java9 symbols
src/main/java/com/droplab/Utils/CommonUtils.java9 symbols
src/main/resources/static/js/bootstrap.min.js8 symbols
src/main/java/com/droplab/Controller/Seeyon/SeeyonController.java8 symbols
src/main/java/com/droplab/Controller/BlueEkp/BlueEkpController.java8 symbols
src/main/java/com/droplab/Utils/FileZipUtils.java7 symbols

For agents

$ claude mcp add DropLabTools \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page