Changing MD5 on multiple files on my computer

Status
Not open for further replies.

rosinant

Active Member
120
2010
1
0
Hi guys, i need a program that can help me change md5 of files that i have on my computer.
If i start uploading them on hotfile they wont show up as hotfile ban that md5, so i wanna click on ~200files and change their md5 more easyly than unraring and raring.

With rapidleech i can easy do that bu can i do that on files that i wanna upload from my comp? is there such programme?
 
1 comment
Hello,

You can do it with PHP.

Code:
[COLOR=#000000][FONT=Times New Roman][LEFT][COLOR=#1C2837][FONT=arial]<?
// Here the downloads
$path = "files";

if (isset($_GET['file'])) {
    $handle = fopen("$path/".$_GET['file']."", 'a+');

    if ($handle) {
        fwrite($handle, '0');
    } else {
        echo "<br />Error!<br />";    
    }
    
    fclose($handle);
}

echo "Just click to change the md5 hash<br /<br />";



$handle = opendir ($path);


while (false !== ($file = readdir ($handle))){
    if ($file != "."){
        if ($file != ".."){
            if ($file != "index.html") {
                
                $byte = filesize($path."/".$file);
                
                
                if (! is_dir($path."/".$file)) {
                    echo "<a href='uploads.php?file=$file'>uploads/$file</a> ($byte Bytes)<br />";
                }
            }
        }
    }
}

closedir($handle);
?>[/FONT][/COLOR][/LEFT][/FONT][/COLOR]

Best regards,
M. Indonesia
 
Status
Not open for further replies.
Back
Top