mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 13:06:23 +01:00
10 lines
228 B
PHP
10 lines
228 B
PHP
<?php
|
|
|
|
exec("ls -1 | grep -v \".php\" | grep -v infopage | grep bin", $list);
|
|
foreach($list as $file){
|
|
$data = file_get_contents($file);
|
|
$data = substr($data,0,10240);
|
|
$md5 = strtoupper(md5($data));
|
|
echo "$file - $md5\n";
|
|
}
|