View previous topic :: View next topic |
Author |
Message |
&Vage Grandmaster Cheater Supreme Reputation: 0
Joined: 25 Jul 2008 Posts: 1053
|
Posted: Fri Apr 17, 2009 9:28 pm Post subject: [CrackMe]BCrack |
|
|
Bored crack :3
Patching is for looooooooooooosers <3333 |
|
Back to top |
|
|
pkedpker Master Cheater Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Fri Apr 17, 2009 9:50 pm Post subject: |
|
|
Doesn't even run.
But I looked without running it.
Code: |
int __cdecl ENCRYPTION(int a1)
{
signed int v1; // eax@1
int v2; // ecx@1
int v3; // esi@1
int v5; // ecx@1
v5 = (a1 + 4) << 16;
v2 = (a1 << 16) + (v5 & 0xFF0000);
v1 = 0;
v3 = 0;
while ( v3 <= a1 )
v1 %= v3++ + 3;
return v2 + 5;
}
|
thats the hashing encryption
answer =
Code: |
char v0[] = "Enter password: - ";
char i0[260]; //input
int i1;
printf("%s", v0);
gets_s((char *)i0, 260);
i1 = atoi((const char *)i0);
if ( ENCRYPTION(whatYouInput) == 1048581 ) {
char v1[] = "WIN :3";
printf("%s", v1);
getchar();
} else {
char v2[] = "Fail :<";
printf("%s", v2);
}
return 0;
|
So if whatever you input and you pass the encryption correctly and get a result of 1048581 then you get message
"WIN :3"
Anyways here i written a attack to find passwords
Code: |
int main(int argc, char* argv[])
{
printf("Running brute forcer!\n");
for(int i = 0;i < 0xFFFFFFFF; i++) {
if(ENCRYPTION(i) == 1048581) {
printf("%d", i);
}
}
return 0;
}
|
generated answers seem to be
in decimal
6
65414
65542
in ascii
6Au*
6Bu*
6Cu*
etc..
but i still can't even run the program lolz _________________
|
|
Back to top |
|
|
Zerith Master Cheater Reputation: 1
Joined: 07 Oct 2007 Posts: 468
|
Posted: Sat Apr 18, 2009 1:37 am Post subject: |
|
|
What? why would you bruteforce that? that's plain stupid.
you have the encryption routine in front of your eyes.
Code: |
v5 = (a1 + 4) << 16;
v2 = (a1 << 16) + (v5 & 0xFF0000); |
everything else is crap, since it returns v2+5 anyway. |
|
Back to top |
|
|
&Vage Grandmaster Cheater Supreme Reputation: 0
Joined: 25 Jul 2008 Posts: 1053
|
Posted: Sat Apr 18, 2009 9:05 am Post subject: |
|
|
It runs perfectly on windows 7. |
|
Back to top |
|
|
pkedpker Master Cheater Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Sat Apr 18, 2009 11:04 am Post subject: |
|
|
Zerith wrote: | What? why would you bruteforce that? that's plain stupid.
you have the encryption routine in front of your eyes.
Code: |
v5 = (a1 + 4) << 16;
v2 = (a1 << 16) + (v5 & 0xFF0000); |
everything else is crap, since it returns v2+5 anyway. |
yah but v2 has v5 and a1 in it.. but yes seems return comes out to be 5+1.. or something similar to that. because answers start with 6. _________________
|
|
Back to top |
|
|
Fafaffy Cheater Reputation: 65
Joined: 12 Dec 2007 Posts: 28
|
Posted: Wed Aug 19, 2009 11:51 am Post subject: |
|
|
lolz _________________
Brillia wrote: | I FUCKING FUCK SEX |
|
|
Back to top |
|
|
|