This script is used to create corrupt files with user-specified sizes and formats.
- Customizable: Create files with a specified name, format, and size.
- Random Data: Uses random data from
/dev/urandom
to ensure the file is corrupt. - Multi-language: Available in both Bash and Python versions.
-
Clone Repository:
Clone this repository to your local directory.
git clone https://github.com/jonyxz/males.git cd males
-
For Python Version: If you haven't installed Python yet, make sure to install it:
sudo pacman -S python
-
How to run the Bash script:
chmod +x males.sh ./males.sh
-
How to run the Python script:
python males.py
This Corrupt File Generator is a simple yet useful tool to quickly create corrupt files for testing or experimentation. Whether you're using Bash or Python, you can easily generate files with random data in any format and size. We hope this tool is helpful for your needs, and feel free to contribute or provide feedback to improve it further.
Thank you for using this tool, and happy coding!
This project is licensed under the MIT License. See the LICENSE file for details.