Braiens Posted November 8, 2003 Report Share Posted November 8, 2003 Nju luuk. Te man ir kods ka vinsh uztaisa man paroli uz md5() <code><font color="#000000"> <font color="#0000CC"><? $pass </font><font color="#006600">= </font><font color="#CC0000">"parole"</font><font color="#006600">; </font><font color="#0000CC">$pass </font><font color="#006600">= </font><font color="#0000CC">[url=http://lv.php.net/md5]md5[/url]</font><font color="#006600">(</font><font color="#0000CC">$pass</font><font color="#006600">); echo </font><font color="#0000CC">$pass</font><font color="#006600">; </font><font color="#0000CC">?></font> </font> </code> Un man vajadzetu lai kads pasaka ka lietot vinu... Piem. Man ir fails ar login kur ir parole ar md5() paroli. Un man vajag lai vinsh atkode sho paroli... Link to comment Share on other sites More sharing options...
Braiens Posted November 8, 2003 Author Report Share Posted November 8, 2003 Piemeram man ir parole: test un uz md5() vina izskatas: 098f6bcd4621d373cade4e832627b4f6 Ka lai es vinu atkodeju? Link to comment Share on other sites More sharing options...
Sliipeetais Posted November 8, 2003 Report Share Posted November 8, 2003 atkodeet tu vinju nevareesi, toties tu vareesi saliidzinaat ar sakodeeto: <? if(md5($pass)=='098f6bcd4621d373cade4e832627b4f6'){ echo 'Pilniigi pareizi, parole ir test!'; } else{ echo 'Nezini gan tu paroli!'; } ?> piemeeram, shii kodeetaa parole glabaajas tev uz servera, tu vinju izsauc un shaadi saliidzini ar lietotaaja noraadiito $pass. pat tad, ja no tava servera tiks ieguuta shii sakodeetaa parole, ieguveejs ar to neko nevarees dariit, tikai kaa saliidzinaat to ar kaadu tekstu. Link to comment Share on other sites More sharing options...
Braiens Posted November 8, 2003 Author Report Share Posted November 8, 2003 atkodeet tu vinju nevareesi, toties tu vareesi saliidzinaat ar sakodeeto: <? if(md5($pass)=='098f6bcd4621d373cade4e832627b4f6'){ echo 'Pilniigi pareizi, parole ir test!'; } else{ echo 'Nezini gan tu paroli!'; } ?> piemeeram, shii kodeetaa parole glabaajas tev uz servera, tu vinju izsauc un shaadi saliidzini ar lietotaaja noraadiito $pass. pat tad, ja no tava servera tiks ieguuta shii sakodeetaa parole, ieguveejs ar to neko nevarees dariit, tikai kaa saliidzinaat to ar kaadu tekstu. Tik daudz es zinu... Bet viens dzeks varad binary atkodeja jebkadu md5 kodu un vinsh teica ka vinam ir kautkads atkodetajs... Link to comment Share on other sites More sharing options...
Braiens Posted November 8, 2003 Author Report Share Posted November 8, 2003 Skat ka es te chakareju : <code><font color="#000000"> <font color="#0000CC"><? </font><font color="#006600">echo </font><font color="#CC0000">"<form action="" method="</font><font color="#0000CC">post</font><font color="#CC0000">"> <input name="</font><font color="#0000CC">parole</font><font color="#CC0000">" type="</font><font color="#0000CC">text</font><font color="#CC0000">" value=""> <input type="</font><font color="#0000CC">submit</font><font color="#CC0000">" value="</font><font color="#0000CC">ap</font><font color="#CC0000">" name="</font><font color="#0000CC">ap</font><font color="#CC0000">"> </form>"</font><font color="#006600">; </font><font color="#0000CC">$pass </font><font color="#006600">= </font><font color="#0000CC">[url=http://lv.php.net/md5]md5[/url]</font><font color="#006600">(</font><font color="#0000CC">$parole</font><font color="#006600">); if (</font><font color="#0000CC">$pass </font><font color="#006600">=== </font><font color="#0000CC">$pass</font><font color="#006600">) { echo </font><font color="#CC0000">"Tu ievadiji shadu paroli: <font color="</font><font color="#0000CC">red</font><font color="#CC0000">">$parole</font> un uz md5() shadi: <font color="</font><font color="#0000CC">red</font><font color="#CC0000">">$pass</font>"</font><font color="#006600">; } </font><font color="#0000CC">?></font> </font> </code> Link to comment Share on other sites More sharing options...
Sliipeetais Posted November 8, 2003 Report Share Posted November 8, 2003 kaadaa sakaraa ($pass === $pass) ?? ir md5 brute force crackeri - tas ir, vinsh mezjoniigaa aatrumaa saliidzina visvisaadus variantus (aa, ab, ac u.t.t.) un ja atrod iisto, tad zinjo par to. tachu ja parole buus vismaz 6 simbolus gara un ietvers dazjus skaitljus, tad atlaust vinjam to tik viegli vis neizdosies. <code><font color="#000000"> <form action="" method="post"> <input name="parole" type="text" value=""> <input type="submit" value="ap" name="ap"> </form> <font color="#0000CC"><? </font><font color="#006600">if(!empty(</font><font color="#0000CC">$parole</font><font color="#006600">)){ </font><font color="#0000CC">$parole_md5</font><font color="#006600">=</font><font color="#0000CC">[url=http://lv.php.net/md5]md5[/url]</font><font color="#006600">(</font><font color="#0000CC">$parole</font><font color="#006600">); echo </font><font color="#CC0000">"Tu ievadiji shadu paroli: <font color="</font><font color="#0000CC">red</font><font color="#CC0000">">$parole</font> un uz md5() shadi: $parole_md5<font color="</font><font color="#0000CC">red</font><font color="#CC0000">"></font>"</font><font color="#006600">; </font><font color="#0000CC">?> </font> </font> </code> Link to comment Share on other sites More sharing options...
Braiens Posted November 8, 2003 Author Report Share Posted November 8, 2003 ZInu es vinam iedvu 6 simbolu paroli un vinsh ilgu laiku kodeeja :DD Ja bet kur lai to burku rauj ? Me vajag vienu paroli atkodeet... Link to comment Share on other sites More sharing options...
Braiens Posted November 8, 2003 Author Report Share Posted November 8, 2003 Tas ($pass == $pass) bija tik ta test tipa pieeram Link to comment Share on other sites More sharing options...
AntiXakep Posted November 8, 2003 Report Share Posted November 8, 2003 Ai nu ko jus te mokaties! http://webcode.u9.ru/?nma=catalog&fla=stat...2&page=1&num=32 vai ari kaut kur citur! Link to comment Share on other sites More sharing options...
Braiens Posted November 8, 2003 Author Report Share Posted November 8, 2003 Ai nu ko jus te mokaties!http://webcode.u9.ru/?nma=catalog&fla=stat...2&page=1&num=32 vai ari kaut kur citur! Itka jau labi, bet ja es vel saprastu RU Link to comment Share on other sites More sharing options...
AntiXakep Posted November 8, 2003 Report Share Posted November 8, 2003 kBlavien kas te neviens vairs nemak ru! Ko tev tur isti vajag es sito md5 rubiju! Link to comment Share on other sites More sharing options...
Braiens Posted November 8, 2003 Author Report Share Posted November 8, 2003 kBlavien kas te neviens vairs nemak ru! Ko tev tur isti vajag es sito md5 rubiju! Man vajag to kodu ar kuru var kodet vala md5() :) Link to comment Share on other sites More sharing options...
AntiXakep Posted November 8, 2003 Report Share Posted November 8, 2003 AIz ej uz hackers kanalu 118 serveri! Link to comment Share on other sites More sharing options...
Braiens Posted November 8, 2003 Author Report Share Posted November 8, 2003 Karosha re ka es domaju, bet neiet <code><font color="#000000"> <font color="#0000CC"><? </font><font color="#006600">echo </font><font color="#CC0000">"<form action="" method="</font><font color="#0000CC">post</font><font color="#CC0000">"> <input name="</font><font color="#0000CC">parole</font><font color="#CC0000">" type="</font><font color="#0000CC">text</font><font color="#CC0000">" value=""> <input type="</font><font color="#0000CC">submit</font><font color="#CC0000">" value="</font><font color="#0000CC">ap</font><font color="#CC0000">" name="</font><font color="#0000CC">ap</font><font color="#CC0000">"> </form>"</font><font color="#006600">; </font><font color="#0000CC">$pass </font><font color="#006600">= </font><font color="#0000CC">[url=http://lv.php.net/md5]md5[/url]</font><font color="#006600">(</font><font color="#0000CC">$parole</font><font color="#006600">); echo </font><font color="#CC0000">"Tu ievadiji shadu paroli: <font color="</font><font color="#0000CC">red</font><font color="#CC0000">">$parole</font> un uz md5() shadi: <font color="</font><font color="#0000CC">red</font><font color="#CC0000">">$pass</font>"</font><font color="#006600">; </font><font color="#0000CC">$atkodejums</font><font color="#006600">=</font><font color="#0000CC">[url=http://lv.php.net/md5]md5[/url]</font><font color="#006600">(</font><font color="#0000CC">$pass</font><font color="#006600">); echo </font><font color="#CC0000">" $atkodejums"</font><font color="#006600">; </font><font color="#0000CC">?></font> </font> </code> Link to comment Share on other sites More sharing options...
Sliipeetais Posted November 8, 2003 Report Share Posted November 8, 2003 MD5 Brute force cracker Link to comment Share on other sites More sharing options...
Recommended Posts