Repository navigation
Releases
Releases · overspace-labs/MaR
MaR 2.1
MaR 2.0.2
MaR 2.0.1
更新内容
MaR 2.0.1 版本更新内容如下。
修复
- 修复在 Windows 高 DPI 缩放 / 最新版 Burp Suite 环境下,新增或修改规则时规则编辑窗口显示异常的问题。
What's New
The update details for MaR 2.0.1 are as follows.
Bug Fixes
- Fixed a rule editor display issue on Windows with High DPI scaling / latest Burp Suite when adding or editing rules.
MaR 2.0
更新内容
MaR 2.0版本更新内容如下。
新特性
- 新增 Extract(动态提取替换) 功能,支持通过正则表达式从HTTP消息中提取内容,并在Match/Replace字段中通过
{1}、{2}等标识符引用捕获组,实现动态替换。- E-Scope:指定提取数据的作用域(request/response及其子部分)。
- F-Regex:第一正则,用于从E-Scope目标中提取内容。
- S-Regex:第二正则(可选),对F-Regex第一个捕获组的结果进行二次提取。
- 支持延迟提取机制:当Condition匹配请求但Extract目标为响应时,提取操作自动延迟至响应阶段执行,确保跨请求/响应的动态替换场景正确工作。
优化
- 重构Tester测试面板UI:移除原有的CardLayout+RadioButton(Request/Response/Raw)模式切换,改用JTabbedPane标签页切换;移除Raw编辑器;新增底部Diff面板,以红绿高亮直观展示替换前后的差异。
- Tester支持自动跳转:执行规则后根据M-Scope自动切换至对应的Request或Response标签页;选中规则表格行时自动静默应用规则并展示结果。
- 引入正则表达式编译缓存(
ConcurrentHashMap),避免重复编译相同正则,提升匹配性能。 - 规则配置向下兼容:旧版YAML配置文件缺少
E-Scope、F-Regex、S-Regex字段时自动填充空字符串默认值,无需手动迁移。
贡献者信息
考虑到 @Arg3Sea 在MaR项目中的杰出贡献,项目组第一作者建议将其提名为第三位作者。目前该建议已经过项目组评审并获得确认。
What's New
The update details for MaR 2.0 are as follows.
New Features
- Added Extract (Dynamic Extraction & Replacement) feature, enabling regex-based content extraction from HTTP messages with captured groups referenced in Match/Replace fields via
{1},{2}, etc.- E-Scope: Specifies the scope from which to extract data (request/response and their sub-parts).
- F-Regex: First regex, used to extract content from the E-Scope target.
- S-Regex: Second regex (optional), applied to the first capture group of F-Regex for further extraction.
- Supports a deferred extraction mechanism: when the Condition matches on request but the Extract target is response, the extraction is automatically deferred to the response phase, ensuring correct behavior for cross request/response dynamic replacement scenarios.
Improvements
- Refactored the Tester panel UI: replaced the CardLayout + RadioButton (Request/Response/Raw) mode switching with JTabbedPane tabs; removed the Raw editor; added a bottom Diff panel with red/green highlighting for intuitive before/after comparison.
- Tester now supports automatic tab switching: after applying a rule, it auto-switches to the corresponding Request or Response tab based on M-Scope; selecting a rule row in the table silently applies the rule and displays results.
- Introduced regex compilation cache (
ConcurrentHashMap) to avoid redundant compilation of identical patterns, improving matching performance. - Backward-compatible rule configuration: old YAML config files missing
E-Scope,F-Regex, orS-Regexfields are automatically populated with empty string defaults — no manual migration required.
Contributors
Considering @Arg3Sea outstanding contributions to the MaR project, the first author of the project group suggests nominating them as the third author. The proposal has now been reviewed and confirmed by the project group.
MaR 1.4
MaR 1.3
MaR 1.2
更新内容
MaR 1.2更新内容如下。
功能更新
在Rules界面中增加Tester测试功能,便于测试确认规则是否生效。
问题修复
无。
贡献者信息
感谢 @JaveleyQAQ、@yuyan-sec 对于项目的大力支持和优化建议。
MaR 1.1
MaR 1.0
从0到1全面认识漏洞测试工具 MaR——这是继 HaE、CaA 之后,第三个基于 Burp Suite 平台开发的网络安全辅助型项目,延续了 HaE 与 CaA 一贯的友好交互体验与家族化设计理念。