How would use it ?
I've found a script in php to brute force. But i dont know really how use it. The link "dico.txt" is not a problem, I've got it.
$post = $_POST['post'];
if($post != "" ){
echo "à decrypter = $post<br>";
$file = @fopen("dico.txt","r" );
if(!$file)
{
echo 'Impossible de trouver le fichier dico.txt';
exit;
}
while (!feof ($file)) {
$buffer = fgets($file, 4096);
$buf = md5(trim($buffer));
$a++;
if(trim($decrypt) == trim($buf)) {
$passe = $buffer;
break;
}
}
echo $a." Mots dans le Dico<br>";
if($passe != "" ){
echo "Le programme a reussi a decrypter le mot<br>Le mot est : $passe";
}else{
echo "Le programme n'a pas reussi a decrypter le mot<br>Vous devriez mettre un dictionnaire plus important";
}
}
fclose($file);
?> ```
Should I put it in a page ?
What I have to do ?
PS : I know the PHP.
I'm quite sure, if you do not know how to use that script, then you do NOT know PHP…
Well, to answer your question, you would have to upload it to a server that supports PHP…
You could use a page hosting it at www.110mb.com
or use xampp and host is yourself… http://www.apachefriends.org/en/xampp.html
You should try to learn to code instead of using other people's scripts as well…
Learn some HTML, JAVASCRIPT, and SQL, VBS, and PHP here
http://www.w3schools.com/
Some C++ here http://www.cplusplus.com/doc/tutorial/
Maybe a little python http://www.python.org/doc/2.5.2/tut/tut.html
MSDN is always nice. http://msdn.microsoft.com/en-us/default.aspx
And GOOGLE is your BEST friend…. http://www.google.com/ig?hl=en
But it is really up to you, what you what to learn…. Or if you just want to use others' codes…
Best regards,
thanks for your answers, i didn't do this script, however i understand it. But my question is : for exemple, on the page pass.php, where i need a password. The code would be :
<input type="password" name="post">
<input type="submit">
</form>
<?php
if ($_POST['post'] == "world" )
{
echo "You have found the password.";
}
elseif ($_POST['post'] == "" )
{
echo "Enter the password.";
}
else
{
echo "Try again."
}
?>
Of course, i don't know the PHP code of pass.php. So how can i do to know it or to access at "You have found the password" with the first code i have posted ?
http://www.hellboundhackers.org/forum/viewthread.php?forum_id=15&thread_id=13840
You're both asking the same question… just with different examples. Since you took the liberty of posting in that thread, it's obvious you know where it is. Let's consolidate this discussion to that thread since that thread already has the answers you're seeking.
Lock