xF1 File Hashes CLI Script

  • Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Radio

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,497
    7,735
    321
    localhost
    Heisenberg submitted a new resource:

    - Generate the file hashes array to copy into your method.

    Visible Branding:
    No
    Super basic PHP CLI script that'll take a directory path, and spit out a copy/pasteable code snippet containing the array of the file hashes for the file_health_check callback.

    Note: You have to set two variables near the top of the file for it to work correctly!

    Usage: php GenSums.php <directory> <extensions> [<exclude_files>]

    Extensions and exclude_files are a comma separated list. Directory is one value only.

    Example Output:

    Code:
    Liams-Mac:LiamW liam$...

     
    Last edited: