{"id":18688774,"url":"https://github.com/noraj/ctf-party","last_synced_at":"2025-05-16T19:08:22.557Z","repository":{"id":37491011,"uuid":"274089517","full_name":"noraj/ctf-party","owner":"noraj","description":":triangular_flag_on_post: A CLI tool \u0026 library to enhance and speed up script/exploit writing with string conversion/manipulation.","archived":false,"fork":false,"pushed_at":"2025-04-04T09:29:15.000Z","size":509,"stargazers_count":83,"open_issues_count":0,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-12T18:49:46.910Z","etag":null,"topics":["ctf","ctf-framework","ctf-tools","data-manipulation","decoding","encoding","hacktoberfest","hashing","library","security-tools","string-manipulation"],"latest_commit_sha":null,"homepage":"https://noraj.github.io/ctf-party/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Orange-Cyberdefense/ctf-party","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noraj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","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,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"noraj","issuehunt":"noraj","ko_fi":"noraj","liberapay":"noraj"}},"created_at":"2020-06-22T09:03:22.000Z","updated_at":"2025-04-04T09:29:11.000Z","dependencies_parsed_at":"2023-10-12T17:47:17.736Z","dependency_job_id":"56a6175a-0013-4b2e-bef3-da6723813b2b","html_url":"https://github.com/noraj/ctf-party","commit_stats":{"total_commits":193,"total_committers":5,"mean_commits":38.6,"dds":"0.49740932642487046","last_synced_commit":"8802d3e90c8ec2e6ef729a3fa938b3f775941b45"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noraj%2Fctf-party","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noraj%2Fctf-party/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noraj%2Fctf-party/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noraj%2Fctf-party/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noraj","download_url":"https://codeload.github.com/noraj/ctf-party/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253805847,"owners_count":21967053,"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":["ctf","ctf-framework","ctf-tools","data-manipulation","decoding","encoding","hacktoberfest","hashing","library","security-tools","string-manipulation"],"created_at":"2024-11-07T10:38:20.774Z","updated_at":"2025-05-16T19:08:22.528Z","avatar_url":"https://github.com/noraj.png","language":"Ruby","funding_links":["https://github.com/sponsors/noraj","https://issuehunt.io/r/noraj","https://ko-fi.com/noraj","https://liberapay.com/noraj"],"categories":[],"sub_categories":[],"readme":"# ctf-party\n\n[![Gem Version](https://badge.fury.io/rb/ctf-party.svg)](https://badge.fury.io/rb/ctf-party)\n![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/noraj/ctf-party)\n[![GitHub forks](https://img.shields.io/github/forks/noraj/ctf-party)](https://github.com/noraj/ctf-party/network)\n[![GitHub stars](https://img.shields.io/github/stars/noraj/ctf-party)](https://github.com/noraj/ctf-party/stargazers)\n[![GitHub license](https://img.shields.io/github/license/noraj/ctf-party)](https://github.com/noraj/ctf-party/blob/master/LICENSE.txt)\n[![Rawsec's CyberSecurity Inventory](https://inventory.raw.pm/img/badges/Rawsec-inventoried-FF5050_flat.svg)](https://inventory.raw.pm/tools.html#ctf-party)\n\n[![Packaging status](https://repology.org/badge/vertical-allrepos/ctf-party.svg)](https://repology.org/project/ctf-party/versions)\n\n![](https://noraj.github.io/ctf-party/_media/logo.png)\n\n\n## What it is\n\nA CLI tool \u0026 library to enhance and speed up script/exploit writing for CTF players (or\nsecurity researchers, bug bounty hunters, pentesters but mostly focused on CTF)\nby patching the String class to add a short syntax of usual code patterns.\nThe philosophy is also to keep the library to be pure ruby (no dependencies)\nand not to re-implement what another library is already doing well\n(eg. [xorcist] for xor).\n\n[xorcist]:https://github.com/fny/xorcist\n\nFor example instead of writing:\n\n```ruby\nrequire 'base64'\n\nmyvar = 'string'\nmyvar = Base64.strict_encode64(myvar)\n```\n\nJust write (shorter and easier to remember):\n\n```ruby\nrequire 'ctf_party'\n\nmyvar = 'string'\nmyvar.to_b64!\n```\n\nMost of the methods are available as commands CLI tool:\n\n```\n$ ctf-party 'security' to_hex\n7365637572697479\n\n$ ctf-party 'NzQ2Zjc0NmY=' from_b64 hex2str str2bin\n01110100011011110111010001101111\n```\n\n## Features\n\n- base64: `to_b64`, `from_b64`, `b64?` and bang versions\n- digest: `md5`, `sha1`, etc. and bang versions\n- flag: `flag`, `flag!`, `flag?` (apply/check a flag format)\n- rot: `rot`, `rot13`, `rot_all` and bang versions\n- hex: `hex2dec`, `dec2hex`, `to_hex`, `from_hex`, `str2hex`, `hex2str`, `hex2bin`, `bin2hex`, `from_hexip`, `to_hexip`, etc. and bang versions\n- case: `randomcase`, `alternatecase` and bang versions\n- cgi: `urlencode`, `urlencode_component`, `urldecode`, `urldecode_component`, `htmlescape`, `htmlunescape` and bang versions\n- bin: `to_bin`, `from_bin`, `str2bin`, `bin2str`, `hex2bin`, `bin2hex`, etc. and bang versions\n- leet: `leet` and bang version\n- dec: `dec2str`, `str2dec`, `hex2dec`, `dec2hex` and bang versions\n- xor: `ulxor`, `alxor`, `urxor`, `arxor` and bang versions\n- misc: `istrip` and bang version\n- defang: `defang_ip`, `defang_uri`, `defang_domain`, `defang_email`, `refang_ip`, etc. and bang versions\n- network: `ipv4?`, `ipv6?`, `ip?`, `uri?`, `domain?`, `email?`\n\n## References\n\nHomepage / Documentation: https://noraj.github.io/ctf-party/\n\n## Author\n\nMade by Alexandre ZANNI ([@noraj](https://pwn.by/noraj/)). Forked from [Orange-Cyberdefense/ctf-party](https://github.com/Orange-Cyberdefense/ctf-party).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoraj%2Fctf-party","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoraj%2Fctf-party","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoraj%2Fctf-party/lists"}