Results 1 to 5 of 5

Thread: เรื่องMd5

  1. #1


    เนื่องจากผมลองหาจากเวปนี้ดูแล้วปรากดว่าเวป
    http://www.milw0rm.com/cracker/insert.php
    ไม่สามารถหาได้...
    จึงมาขอความช่วยเหลือครับ

    คือมีเวปๆนึงตั้งโจทย์มาให้Encodeโดยใบ้ว่ามันเป็นMD5

    Code:
    69e34309b3d6b25a6809e36d12cbecba
    ผุ้ที่ตอบได้จะได้รับรางวัลในนั้นซึ่งผมก็อยากได้เช่นกัล
    จึงขอร้องผู้ที่สามารถมาสอนเรื่องEncodeของMd5ให้ผมโหน่ยครับ

    ผมอยากหาเองอ่าแต่ทำไม่เป็นซะด้วยผู้ใดที่ช่วยสอนผมจนทำได้เอาไปเลยย

    ไม่มีอะไรจาให้ :P เอาเป้นคำขอบคุณแทนได้มะครับ

    ขอขอบคุณล่วงหน้ามา ณ ที่นี้ด้วย

    ผมว่าเขาให้ Decode นะไม่ได้ Encode
    เครื่องมี Decode มีเยอะครับลอง Search MD5 ดูในบอร์ดนี้บอกไว้เยอะมาก
    [/b]
    อ่างั้นเดี่ยวลองSearchหาอ่านดูอีกทีครับแล้วก็ที่บอกว่าEncodeนั้นผมพิมผิดเองหละครับ....โทษน้าครัฟT^T

  2. #2
    Administrator asylu3's Avatar
    Join Date
    Jun 2000
    Location
    Thailand
    Posts
    3,557


    คือมีเวปๆนึงตั้งโจทย์มาให้Encodeโดยใบ้ว่ามันเป็นMD5[/b]
    ผมว่าเขาให้ Decode นะไม่ได้ Encode
    เครื่องมี Decode มีเยอะครับลอง Search MD5 ดูในบอร์ดนี้บอกไว้เยอะมาก

  3. #3
    Junior Member
    Join Date
    Jun 2007
    Posts
    7


    ผมว่า MD5 มัน decode ไม่ได้นะครับ เพราะ md5 เป็นการเข้ารหัสเพื่อหาค่า hash อย่างเดียว
    ไม่สามารถ decode กลับมาได้นะครับ

    ซึ่งผมก็คิดว่าไม่แปลกอะไรที่เค้าจะให้รางวัล เพราะถ้าใครรู้ Algorithm ในการ decode md5 ก็คงเป็น
    เศรษฐีละครับ

    ส่วนวิธีการหาในปัจจุบัน คือจะใช้ dictionary ในการหาค่า hash แล้วเทียบให้ตรงกันครับ

  4. #4
    Administrator asylu3's Avatar
    Join Date
    Jun 2000
    Location
    Thailand
    Posts
    3,557


    ผมว่า MD5 มัน decode ไม่ได้นะครับ เพราะ md5 เป็นการเข้ารหัสเพื่อหาค่า hash อย่างเดียว
    ไม่สามารถ decode กลับมาได้นะครับ

    ซึ่งผมก็คิดว่าไม่แปลกอะไรที่เค้าจะให้รางวัล เพราะถ้าใครรู้ Algorithm ในการ decode md5 ก็คงเป็น
    เศรษฐีละครับ

    ส่วนวิธีการหาในปัจจุบัน คือจะใช้ dictionary ในการหาค่า hash แล้วเทียบให้ตรงกันครับ[/b]
    ผมคงจะสื่ออะไรผิดไป
    การ Decode ในที่นี้ไม่ได้หมายถึงการแปลงโดยใช้ algorithm ใดๆ
    แต่เป็นการใช้ Technique ที่เรียกว่า "Rainbow table"
    ผมเองลองทดสอบมาแล้วและก็ได้ผลจริงๆมาก่อน
    อยากให้ลองอ่านที่นี้นะครับ

    Because MD5 makes only one pass over the data, if two prefixes with the same hash can be constructed, a common suffix can be added to both to make the collision more reasonable.

    Because the current collision-finding techniques allow the preceding hash state to be specified arbitrarily, a collision can be found for any desired prefix; that is, for any given string of characters X, two colliding files can be determined which both begin with X.

    All that is required to generate two colliding files is a template file, with a 128-byte block of data aligned on a 64-byte boundary, that can be changed freely by the collision-finding algorithm.

    Recently, a number of projects have created MD5 "rainbow tables" which are easily accessible online, and can be used to reverse many MD5 hashes into strings that collide with the original input, usually for the purposes of password cracking.[/b]

    อ้างอิง http://en.wikipedia.org/wiki/MD5

  5. #5
    Junior Member
    Join Date
    Jun 2007
    Posts
    7


    อ่อครับ เข้าใจแล้วครับ ผมดันไปติดคำว่า hash function

    * The input can be of any length.
    * The output has a fixed length.
    * H(x) is relatively easy to compute for any given x.
    * H(x) is one-way.
    * H(x) is collision-free.

    ส่วน rainbow table น่าสนใจดีครับ เท่าที่ผมอ่าน มันก็คล้ายกับการทำ brute force แต่ลดเวลาในการหาลงไป
    พอดีผมไปเจอ link ที่อธิบายการทำงานได้ดีทีเดียว เผื่อมีใครสนใจไปศึกษาต่อ

    http://kestas.kuliukas.com/RainbowTables/

    วันนี้ได้ความรู้เพิ่ม ขอบคุณครับ

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •