-
-
[me fuck]me fuck me fuck me fuck me fuck
-
发表于:
2007-8-24 13:46
6966
-
[me fuck]me fuck me fuck me fuck me fuck
/* me fuck */
#include <windows.h>
#include <stdio.h>
#define CIRCLES 9
void down(DWORD);
void up(DWORD);
BYTE buf[CIRCLES+1];
DWORD pos = 0;
DWORD hash;
void dump(DWORD n)
{
printf("%c", (n - (hash >> (pos % 31)) % 10 + 10) % 10 + '0');
pos++;
}
void down(DWORD n)
{
if (!buf[n] || n < 1)
return;
if (n > 1)
{
up(n-1);
for (DWORD i = n-2; i >= 1; i--)
down(i);
}
buf[n] = 0;
dump(n);
}
void up(DWORD n)
{
if (buf[n] || n < 1)
return;
if (n > 1)
{
up(n - 1);
for (int i = n - 2; i >= 1; i--)
down(i);
}
buf[n] = 1;
dump(n);
}
DWORD get_hash(PCHAR s)
{
int sum = 0x13572468;
int eax;
unsigned int i, length;
length = strlen(s);
for (i = 0; i < length; i++)
{
eax = (s[i] + sum) * 0x3721273 + 0x24681357;
sum = (eax << 25) | (eax >> 7);
}
return sum;
}
void main()
{
DWORD i;
hash = get_hash("forgot");
buf[9] = 1;
for (i = 1; i <= 8; i++)
buf[i] = (hash >> i) & 1;
for (i = 9; i >= 1; i--)
down(i);
getchar();
}
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课