Skip to content

jonyxz/males

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Corrupt File Generator

This script is used to create corrupt files with user-specified sizes and formats.

Features

  • 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.

Installation

  1. Clone Repository:

    Clone this repository to your local directory.

    git clone https://github.com/jonyxz/males.git
    cd males
  2. For Python Version: If you haven't installed Python yet, make sure to install it:

    sudo pacman -S python

Usage

  • How to run the Bash script:

    chmod +x males.sh
    ./males.sh
  • How to run the Python script:

    python males.py

Conclusion

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!

License

This project is licensed under the MIT License. See the LICENSE file for details.