Skip to main content

CTF Flag Generator

A CTF leet flag generator

Install

pip install flag-gen

Usage

To translate alpha characters to leet string:

flag-gen 'this is your flag' 

And output maybe:

TH1S_i5_yOUr_fL@6
Entropy: 20.92 bits

You can use it in your code:

import flag_gen

print(flag_gen.leet('this is your flag'))
# ('7H1s_1$_youR_fL46', 20.92481250360578)

Metadata

Release files for flag-gen 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flag-gen 0.0.2
File Size Uploaded
flag_gen-0.0.2.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flag-gen 0.0.2
File Interpreter ABI Platform
flag_gen-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 kB

Release files / flag_gen-0.0.2.tar.gz

Download URL flag_gen-0.0.2.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8e5e6dd23f8c37617b4788c108dcdb165e997d63351b88ea1e7d71f273d84f71
BLAKE2b-256 checksum
How to use checksums
0cc9a406870645c256cf7542c19d0bb9789be5915cdc34f61e26ccd296174271
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release files / flag_gen-0.0.2-py3-none-any.whl

Download URL flag_gen-0.0.2-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5489023bd7c87f6c5962bdecdc2dcafc57403ebf3a6c2688a7b6f2cd95d42977
BLAKE2b-256 checksum
How to use checksums
a7fc020a70b02c434855b59d88453db3f73d97964e6bcd68e485065c432f2b6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page