Need to find X in SHA1[(AES-128(X)] - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html) +--- Forum: General Help (https://hashcat.net/forum/forum-8.html) +--- Thread: Need to find X in SHA1[(AES-128(X)] (/thread-3936.html) Pages:
1
2
|
Need to find X in SHA1[(AES-128(X)] - DramaticTical - 12-30-2014 Hi This is the problem I am trying to solve: Please take you birthday (day and month) in hexadecimal form. Find message X that SHA1[(AES-128(X)]=0x[18 arbitrary bytes][day][month]. AES key is 0x00000000000000000000000000000000. For example, if you birthday is January 10th, please find X, that SHA1[AES-128(X))]=0x[18 arbitrary bytes]1001. I am quite noob to working with problems like this so I was hoping someone could explain how exactly am I supposed to work this out. Sorry for the vague question but I don't really know what to exactly ask either. Thanks! RE: Need to find X in SHA1[(AES-128(X)] - atom - 12-30-2014 I wrote a little code for you that should solve the problem: Code: #!/usr/bin/env perl Quote:root@et:~/oclHashcat-1.32# perl sha1aes128date.pl 0402 RE: Need to find X in SHA1[(AES-128(X)] - DramaticTical - 12-30-2014 (12-30-2014, 04:55 PM)atom Wrote: I wrote a little code for you that should solve the problem: If I understand correctly I have to run the code myself right? Because if I do my terminal says "Can't locate Crypt/CBC.pm in @inc". I download Crypt.CBC.2.22.tar.gz, but is it the right one, where do I have to install it? Or am I completely misunderstanding? RE: Need to find X in SHA1[(AES-128(X)] - coolbry95 - 12-30-2014 Yes you have to run it yourself. Look at the installation instructions for Crypt/CBC.pm. RE: Need to find X in SHA1[(AES-128(X)] - DramaticTical - 12-30-2014 (12-30-2014, 04:55 PM)atom Wrote: I wrote a little code for you that should solve the problem: I finally got the right Perl Modules installed, but when I ran the code it gave me this error: Quote:Use of uninitialized value $suffix in regexp compilation at kood.pl line 34.What's the problem? And how exactly can I use this code to get the hash which has included my birthday in its encryption, or am I misunderstanding things? Thanks! RE: Need to find X in SHA1[(AES-128(X)] - epixoip - 12-30-2014 looks like you forgot to tell the program your birthday. RE: Need to find X in SHA1[(AES-128(X)] - DramaticTical - 12-31-2014 (12-30-2014, 11:42 PM)epixoip Wrote: looks like you forgot to tell the program your birthday. Ofc, # perl sha1aes128date.pl 0402 so I just replace the bold with my own date? Also in the problem I had to take my birthday date in hexadecimal, can i just use the hexadecimal, or will the program have problems? (don't have access to my terminal atm) Thanks RE: Need to find X in SHA1[(AES-128(X)] - epixoip - 12-31-2014 yes, replace the bold with your birthday in hexadecimal form RE: Need to find X in SHA1[(AES-128(X)] - DramaticTical - 12-31-2014 So I just tried to run the program with my birthday as hexadecimal, dosent seem to work. I think the task wants me to take month and day seperately, january tenth would be 0xA0x1, right? Is there something I can do to the code that it would process hexadecimals? RE: Need to find X in SHA1[(AES-128(X)] - undeath - 12-31-2014 it would be "\xa0\x01" |