noraj/ctf-party
GitHub: noraj/ctf-party
一个用于字符串编码转换和格式处理的Ruby库与CLI工具,通过扩展String类简化CTF和安全研究中的常见操作。
Stars: 91 | Forks: 9
# ctf-party
[](https://badge.fury.io/rb/ctf-party)

[](https://github.com/noraj/ctf-party/network)
[](https://github.com/noraj/ctf-party/stargazers)
[](https://github.com/noraj/ctf-party/blob/master/LICENSE.txt)
[](https://inventory.raw.pm/tools.html#ctf-party)
[](https://repology.org/project/ctf-party/versions)

## 它是什么
一个 CLI 工具和库,通过修补 String 类以添加常用代码模式的简短语法,
旨在为 CTF 选手(或安全研究人员、漏洞赏金猎人、渗透测试人员,但主要关注 CTF)
增强和加速脚本/漏洞利用的编写。
其理念还包括保持库为纯原生 ruby(无依赖),
并且不重新实现其他库已经做得很好的功能。
例如,与其这样写:
```
require 'base64'
myvar = 'string'
myvar = Base64.strict_encode64(myvar)
```
只需这样写(更短且更容易记忆):
```
require 'ctf_party'
myvar = 'string'
myvar.to_b64!
```
大多数方法都可作为 CLI 工具的命令使用:
```
$ ctf-party 'security' to_hex
7365637572697479
$ ctf-party 'NzQ2Zjc0NmY=' from_b64 hex2str str2bin
01110100011011110111010001101111
```
## 特性
[点击查看](https://noraj.github.io/ctf-party/#/pages/features)。
## 参考
[主页 / 文档](https://noraj.github.io/ctf-party/)。
## 作者
由 Alexandre ZANNI ([@noraj](https://pwn.by/noraj/)) 制作。Fork 自 [Orange-Cyberdefense/ctf-party](https://github.com/Orange-Cyberdefense/ctf-party)。
标签:Base64, Bug Bounty, CTF工具, DNS 反向解析, Ruby, RubyGems, XML 请求, 十六进制, 可自定义解析器, 字符串处理, 安全开发, 数据展示, 漏洞搜索, 知识库, 红队, 编码转换