UniiemStudio / CTFever

Fantastic toolkit for CTFers and everyone.
https://ctfever.uniiem.com/
GNU General Public License v3.0
873 stars 71 forks source link

[FEAT/OPT] i18n on tags; transform tag path to English #48

Closed dextermallo closed 2 years ago

dextermallo commented 2 years ago

Initiates

I am a rookie for CTF and just found this fantastic tool recently, hope I can contribute a bit :) (P.S. I only learned Vue a little around 3 years ago, please do let me know if there's anything I can improve)

Changes

Optimization

  1. Support i18n on function tags: It would be great if all the text displayed the exact language people choose :). Noted that it only supports those tools with displayed: true.

Feature

  1. Transform the tag path to English-only: When clicking on the tag (https://ctfever.uniiem.com/tag/<tagType>) it will display with encoded one right now (eg. https://ctfever.uniiem.com/tag/%E5%AD%97%E7%AC%A6%E7%BC%96%E7%A0%81). It would be prettier when using English-only just like the other url.

Chore

  1. Tag changes: Since there's new support for i18n on tags, as a person who just joins into the CTF recently, please kindly help to correct my poor translation if needed :)
Code English Chinese
encodingAndDecoding Encoding And Decoding 字符编码
generator Generator 产生器
hash Hash 杂凑
encryptionAndDecryption Encryption And Decryption 加密算法
conversion Conversion 数据处理
disassembler Disassembler 反编译
obfuscation Obfuscation 混淆
complier Complier 编译器
utility Utility 调试工具
inspection Inspection 校验
I also did some changes to some of the tools, here's the list: Tool name Before After
uuid 信息摘要 产生器
messageDigest 信息摘要 杂凑
ipAttribution IP2Geo 数据处理
crc 信息摘要, 校验 校验

Tests

node version: v12.22.1

Screen Shot 2022-05-18 at 00 02 42

Screen Shot 2022-05-18 at 00 02 49

Screen Shot 2022-05-18 at 00 02 54

Screen Shot 2022-05-18 at 00 03 11

Screen Shot 2022-05-18 at 00 02 31

Thanks again for the amazing tool :)

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
ctf-ever ✅ Ready (Inspect) Visit Preview May 17, 2022 at 11:09PM (UTC)