A Python tool for analyzing and breaking multi-byte XOR ciphers by guessing key length and content.
xortool is a Python-based command-line tool for analyzing and decrypting data encrypted with multi-byte XOR ciphers. It automates the process of guessing the key length and the key itself using statistical methods and brute-force techniques, solving challenges in security research and capture-the-flag competitions.
Security researchers, CTF participants, forensic analysts, and developers working with XOR-encoded data who need an automated tool for cryptanalysis.
Developers choose xortool for its specialized focus on XOR cipher analysis, offering automated key guessing, flexible brute-forcing modes, and character set filtering that streamline decryption tasks compared to manual methods.
A tool to analyze multi-byte xor cipher
Uses statistical methods like character equality patterns to guess key length and most frequent chars, reducing manual cryptanalysis effort as shown in the key length guessing examples.
Supports brute-forcing all possible chars (-b) or only printable ones (-o), allowing tailored attacks for different data types, evident in the option descriptions.
Filters decrypted outputs based on predefined sets (e.g., base64) or custom sets via -t flag, helping isolate valid plaintexts efficiently, as demonstrated in the Base64 example.
Enables key recovery using known plaintext snippets with -p option, enhancing attack capabilities without full brute-force, shown in examples with partial plaintext.
Requires Python 3 and installation via pip or poetry, which may not integrate well with non-Python environments or systems lacking these dependencies.
Automated decryption can fail, requiring user intervention to adjust parameters like key length (-l) or max length (-m), as admitted in the calibration examples.
Decrypted files are saved in ./xortool_out with non-intuitive names (e.g., Number_<key repr>), making organization and post-processing cumbersome, as noted in the README.
Metasploit Framework
Automatic SQL injection and database takeover tool
TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes.
A little tool to play with Windows security
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.