Author | Javascript 16 |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
Using the article and confirming it on the forums, the password is 12 characters long and is of the format xxxNUMBERyyy. I'd like to know if the words can be found in a dictionary. The first character does not contribute to the checksum, and since it's a letter I can get/guess the password with 52 bruteforces if I have the remaining 11 letters.
This is how I was planning to organise my code:
Code
for i in wordlist1:
for j in wordlist2:
for n in all numbers of size (11 - len(i) - len(j)):
check(i+n+j)
I reduced check to:
Code
sum=0
for i in range(1,12):
index = tab.index(entry[i])
sum = sum+(index*index)*(i*i*i)
if(sum==7391049):
print value
My computer's pretty slow and it would reduce my burden greatly if someone could let me know if the words could be found on a word list. Thank you.
Edited by on 24-07-10 19:15 |
 |
Author | RE: Javascript 16 |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
Thanks for the hint. Then I don't need to optimise my code any further. |
 |
Author | RE: Javascript 16 |
goluhaque Member

Posts: 197 Location: India
Joined: 17.02.10 Rank: Apprentice Warn Level: 30
| |
Guessing is the way to go on this, saves a lot of work, which I may add, is usually wasted if you decide to build a bruteforce program.
That applause I receive from y'all on posting this post would have gotten me drunk on power if I hadn't already been high on life.
Edited by goluhaque on 25-07-10 08:38 |
 |
Author | RE: fun |
TrimLink Member

Posts: 1 Location:
Joined: 16.10.07 Rank: Guest | |
Was soooo easy with guessing, bruteforcer not required, just ..... THE number. good luck. |
 |
Author | RE: Javascript 16 |
spyware Member

Posts: 4192 Location:
Joined: 14.04.07 Rank: God Warn Level: 90
| |
TrimLink wrote:
Was soooo easy with guessing, bruteforcer not required, just ..... THE number.  good luck.
Challenges here seldom revolve around the answers. The path leading up to an answer is the thing you should be looking for.

"The chowner of property." - Zeph [small]�Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.� - Carl Sagan [center]�Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?� - Ebert[/ce |
 |
Author | RE: Javascript 16 |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
Code var entry = document.forms["asdf"].elements[0].value;
I don't understand it. Please explain for me :(
Sorry, I didn't learn javascript well :(
|
 |
Author | RE: Javascript 16 |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
mr_pi wrote:
Code var entry = document.forms["asdf"].elements[0].value;
I don't understand it. Please explain for me :(
Sorry, I didn't learn javascript well :(
It stores whatever is entered in asdf, so whatever you type inside that input. (password box).
Code <form onsubmit="return Check(88692589)" name="asdf">
I believe when I did it, I rewrote that piece of JS in C++ and bruteforced it.
There is alot of equal checksums so cout it, do not just exit after you found one that matches. Took me about 5 minutes in total.
Edited by on 29-05-11 07:55 |
 |
Author | RE: Javascript 16 |
starofale Member

Posts: 218 Location: England
Joined: 05.12.07 Rank: Moderate | |
mr_pi wrote:
Code var entry = document.forms["asdf"].elements[0].value;
I don't understand it. Please explain for me :(
Sorry, I didn't learn javascript well :(
If you can't even guess what that means you really need to learn more Javascript.
Try a new search engine |
 |