[Gratis] Simpele MD5 encoder

Gestart doorSebastiaanh23 reacties65 weergaven

24 berichten · pagina 1 van 2

Sebastiaanh

Lid · Topicstarter

Berichten
9.953
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hallo One2xs,

Bij deze een hele simpele MD5 encoder.
Voorbeeld: http://powngamer.nl/md5encoder.php

Code (MD5):

[COLOR= #0000BB]<?php[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]submit[/COLOR][COLOR= #007700]])) {[/COLOR]
    [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/empty"]empty[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]string[/COLOR][COLOR= #007700]])) {[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Voer wel tekst in![/COLOR][COLOR= #007700];
    }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Uitkomst: [/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/md5"]md5[/URL][COLOR= #007700]([/COLOR]htmlentities[COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]string[/COLOR][COLOR= #007700]])) .[/COLOR] [COLOR= #DD0000] [/COLOR][COLOR= #007700];
    }
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]

?>
    <form action="#" method="post" />
        Tekst: <br />
            <input type="text" name="string" /> <br /> <br />
            <input type="submit" name="submit" value="Encode" />
    </form>
[COLOR= #0000BB]<?php[/COLOR]

[COLOR= #007700]}[/COLOR]

?>


Code (Base64)

[COLOR= #0000BB]<?php[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]submit[/COLOR][COLOR= #007700]])) {[/COLOR]
    [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/empty"]empty[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]string[/COLOR][COLOR= #007700]])) {[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Voer wel tekst in![/COLOR][COLOR= #007700];
    }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Uitkomst: [/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/base64_encode"]base64_encode[/URL][COLOR= #007700]([/COLOR]htmlentities[COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]string[/COLOR][COLOR= #007700]])) .[/COLOR] [COLOR= #DD0000] [/COLOR][COLOR= #007700];
    }
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]

?>
    <form action="#" method="post" />
        Tekst: <br />
            <input type="text" name="string" /> <br /> <br />
            <input type="submit" name="submit" value="Encode" />
    </form>
[COLOR= #0000BB]<?php[/COLOR]

[COLOR= #007700]}[/COLOR]

?>


Ik weet dat het niet een hele nette code is, maar het werkt wel.

Groeten,
SebastiaanH

toevoeging op 12 februari 2012, 15:59:58:
Je kan het natuurlijk ook veranderen naar SHA, wat zeker veiliger is!
0
Berichten
3.532
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Nice, bedankt!
0
Berichten
3.425
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
wat kan je er mee? site down.
0
Berichten
9.454
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Webserver 3 is offline, komt dat daardoor?
0
Berichten
4.367
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Zillaxnl schreef:
Webserver 3 is offline, komt dat daardoor?
Ja dat komt daardoor,.

Ik ga hem zeker gebruiken biggrinbiggrin
0
Berichten
3.037
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Oh ik dacht decoder, zo kleine code?
Maar nee.. een coder emoNice, maar hoort dit niet in webwereld?
0
Berichten
13.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Verplaatst naar Webwereld.
0
Berichten
6.144
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Meer hashes kon ik niet vinden, hier krijg je een heel overzichtje

[COLOR= #0000BB]<?php[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]submit[/COLOR][COLOR= #007700]])) {[/COLOR]
    [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/empty"]empty[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]string[/COLOR][COLOR= #007700]])) {[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Voer wel tekst in![/COLOR][COLOR= #007700];
    }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
        [COLOR= #0000BB]$hashes[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]md5[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]sha1[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]md2[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]md4[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]sha256[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]sha384[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]sha512[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]ripemd128[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]ripemd160[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]ripemd256[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]ripemd320[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]whirlpool[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]tiger128,3[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]tiger160,3[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]tiger192,3[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]tiger128,4[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]tiger160,4[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]tiger192,4[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]snefru[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]gost[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]adler32[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]crc32[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]crc32b[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]haval128,3[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]haval160,3[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]haval192,3[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]haval224,3[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]haval256,3[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]haval128,4[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]haval160,4[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]haval192,4[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]haval224,4[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]haval256,4[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]haval128,5[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]haval160,5[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]haval192,5[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]haval224,5[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]haval256,5[/COLOR][COLOR= #007700]);[/COLOR]
        [URL="http://www.php.net/foreach"]foreach[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$hashes[/COLOR] [COLOR= #007700]as[/COLOR] [COLOR= #0000BB]$hash[/COLOR][COLOR= #007700]) {[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$hash[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]: <i>[/COLOR][COLOR= #007700].[/COLOR]hash[COLOR= #007700]([/COLOR][COLOR= #0000BB]$hash[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]string[/COLOR][COLOR= #007700]]).[/COLOR][COLOR= #DD0000]</i><br />[/COLOR][COLOR= #007700];
        }
    }
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]

?>
    <form action="#" method="post" />
        Tekst: <br />
            <input type="text" name="string" /> <br /> <br />
            <input type="submit" name="submit" value="Encode" />
    </form>
[COLOR= #0000BB]<?php[/COLOR]

[COLOR= #007700]}[/COLOR]

?>
0
Thom

Lid

Berichten
10.654
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Wat heb je eraan..
0
Berichten
6.144
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Niks, maar t kan soms wel eens handig zijn.
0
Berichten
3.112
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Als je een wachtwoord zoekt, misschien weet waar het woord op lijkt kun je kijken of hij er tussen zit..?
0
Thom

Lid

Berichten
10.654
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Gamedealer schreef:
Als je een wachtwoord zoekt, misschien weet waar het woord op lijkt kun je kijken of hij er tussen zit..?
Ik snap je niet? yummie
0
Berichten
20.364
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Thommiee schreef:
Wat heb je eraan..
Als je login systeem met MD5 is beveiligd kan je met dat scriptje een wachtwoord maken en invoeren in je database.
0
Marv

Lid

Berichten
3.092
Reputatie
1
Punten
0,21
Lid sinds
Laatst gezien
Heb je ook een decoder? gnagna
Afbeelding
0
Thom

Lid

Berichten
10.654
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Shahiem schreef:
Eerdere citaten tonen
Thommiee schreef:
Wat heb je eraan..
Als je login systeem met MD5 is beveiligd kan je met dat scriptje een wachtwoord maken en invoeren in je database.
Hmm ja zo kan het wel handig zijn
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren