ctf_party 0.2.0

Rust CTF Party is a tool that provides various cryptographic and network utilities for CTF (Capture The Flag) competitions. It is written in Rust and offers a command-line interface for easy usage. The tool includes features such as base64 encoding/decoding, MD5 hashing, SHA1 hashing, SHA2 hashing, hex encoding/decoding, URL encoding/decoding, HTML escaping, random number generation, regex matching, and more.
Documentation

Rust CTF Party

Description

Rust CTF Party is a tool that provides various cryptographic and network utilities for CTF (Capture The Flag) competitions. It is written in Rust and offers a command-line interface for easy usage.

How to Use the Tool

To use the tool, you need to provide a command and subcommand. Here are some examples:

  1. Base64 encoding:

    rust_ctf_party.exe base64 to-b64 "hello"
    
  2. Calculate MD5 hash:

    rust_ctf_party.exe digest md5 "hello"
    
  3. Rotate text by 13 positions (ROT13):

    rust_ctf_party.exe rot rot13 "hello"
    
  4. Check if a string is a valid flag:

    rust_ctf_party.exe flag check "flag{example}"
    
  5. Convert text to hexadecimal:

    rust_ctf_party.exe hex to-hex "hello"
    
  6. Check if an IP address is valid:

    rust_ctf_party.exe network ipv4 "192.168.1.1"
    

Using Piped Input

You can also pipe input to the tool:

echo "hello" | rust_ctf_party.exe base64 to-b64

Getting Help

To get help for a specific command, use:

rust_ctf_party.exe base64 --help

This will show you all the available subcommands for the base64 command.

Summary

The error you're seeing is not actually an error - it's the tool telling you that you need to provide a specific command to perform an operation. The tool is working correctly, but you need to specify which operation you want to perform.