• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Unmaintained File Hashes CLI Script 1.0.0

No permission to download

XenForo Rocks

Team Member
Administrator
Moderator
+Lifetime VIP+
Contributor
ViP
True Member
Suppliers
Registered
Joined
May 22, 2015
Messages
12,273
Likes
29,911
Location
UK
#1
XenForo Rocks submitted a new resource:

Unmaintained File Hashes CLI Script - Generate the file hashes array to copy into your method.

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$ ./GenSums.php ../PayToPost .php...
Read more about this resource...