Page 2 of 2 First 12
  • Jump to page:
    #16
  1. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,992
    Rep Power
    9397
    Your regex is even easier (and more correct): the plaintext consists of eight characters chosen from d,e,f,n,o,p,q,r,s,t,|.

    The most straightfoward method to get the plaintext is to construct eight loops with each over those characters. Inside you piece together a string and check if the hash matches.
    Code:
    for each letter as A {
    	for each letter as B {
    		for each letter as C {
    		...
    			for each letter as H { // eighth
    				string = A+B+C+D+E+F+G+H
    				if hash of string matches {
    					output string
    					stop
    				}
    			}
    		...
    		}
    	}
    }
    [edit] Your solution has 8 distinct characters.
    Last edited by requinix; June 20th, 2013 at 04:09 PM.
  2. #17
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    4
    Rep Power
    0
    Thanks for such a quick reply, but my problem is that I do not understand all those codes you are posting here.

    I have never been scripting anything, using java, php or something.
  4. #18
  5. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,992
    Rep Power
    9397
    Then I'll offer the same thing I did for the last one:

    Your solution matches the regex
    Code:
    [def][def][def]o\|[pqr][pqr][pqr]
    So the first three letters are each one of d,e,f, the fourth is 'o', then a | pipe, then the last three are each one of p,q,r. And as I mentioned there are no repeated letters.

    Find something that can create hashes - I believe some were mentioned earlier in this thread - and try the 36 possibilities until you find the right one.

    Comments on this post

    • Protom agrees : Usefull! Thank you a lot!
  6. #19
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    4
    Rep Power
    0
    Originally Posted by requinix
    Then I'll offer the same thing I did for the last one:

    Your solution matches the regex
    Code:
    [def][def][def]o\|[pqr][pqr][pqr]
    So the first three letters are each one of d,e,f, the fourth is 'o', then a | pipe, then the last three are each one of p,q,r. And as I mentioned there are no repeated letters.

    Find something that can create hashes - I believe some were mentioned earlier in this thread - and try the 36 possibilities until you find the right one.
    Alright, I understand now. Thank you very, very much. I am going to try to find it out.

    Found it - defo|prq
    Thanks again!
  8. #20
  9. --
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Jul 2012
    Posts
    3,957
    Rep Power
    1046
    Is that how you get high scores nowadays? By asking someone to replace the challenge with an easier one?
    The 6 worst sins of security ē How to (properly) access a MySQL database with PHP

    Why canít I use certain words like "drop" as part of my Security Question answers?
    There are certain words used by hackers to try to gain access to systems and manipulate data; therefore, the following words are restricted: "select," "delete," "update," "insert," "drop" and "null".
  10. #21
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    4
    Rep Power
    0
    Originally Posted by Jacques1
    Is that how you get high scores nowadays? By asking someone to replace the challenge with an easier one?
    Completely.
    I still have no clue what is all that about tho :/
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo