能力值:
( LV2,RANK:140 )
能力值:
( LV2,RANK:140 )
能力值:
( LV2,RANK:140 )
[分享]刘涛涛 扭曲变换 Keygenme 2.41
I've ever asked Brother W to take me on as his apprentice,but he rejected,so i turned to you, please don't let me down
能力值:
( LV2,RANK:140 )
[分享]刘涛涛 扭曲变换 Keygenme 2.41
sessiondiy,I have paid close attention to you for a long time.you are a qualified cracker,you are excellent in this field,you are a master and my idol!
Could you take me on as your apprentice?It could make me very happy to know that my request would have your approval,and so I am writing formally to ask for your acceptance.
能力值:
( LV2,RANK:140 )
能力值:
( LV2,RANK:140 )
能力值:
( LV2,RANK:140 )
[求助]如果已知明文和密文,长度不变,可能采用哪些加密方法
如果真是XOR,自己写一个程序把BIN文件和TXT文件相互XOR一下,不就得到KEY FILE了么
给你个程序参考下
#include<stdio.h>
#include<stdlib.h>
#include<stddef.h>
size_t MyGetFileSize(char const *szFileName)
{
FILE *file = NULL;
fpos_t pos;
file = fopen(szFileName,"rb");
if(file != NULL)
if(fseek(file,0,SEEK_END) == 0)
if(fgetpos(file,&pos) == 0)
{
fclose(file);
return (size_t)pos;
}
fclose(file);
return -1;
}
int main()
{
char const *szFile1 = "source.txt";
char const *szFile2 = "encoded.bin";
char const *szFile3 = "output.bin";
FILE *sourcefile = NULL;
FILE *destfile = NULL;
FILE *outputfile = NULL;
void *pMem1 = NULL;
void *pMem2 = NULL;
void *temp = NULL;
size_t stsize = 0;
size_t stsize1 = 0;
stsize = MyGetFileSize(szFile1);
if(stsize <= 0 || stsize >= 65535)
return -1;
pMem1 = calloc(1,stsize);
if(pMem1 == NULL)
{
printf("failed to allocate memory!");
system("pause");
return -1;
}
temp = pMem1;
stsize1 = MyGetFileSize(szFile2);
if(stsize1 < 0 || stsize1 >= 65535)
return -1;
pMem2 = calloc(1,stsize1);
if(pMem2 == NULL)
{
printf("failed to allocate memory!");
system("pause");
return -1;
}
sourcefile = fopen(szFile1,"rb");
if(sourcefile == NULL)
{
printf("failed to open file!");
system("pause");
return -1;
}
destfile = fopen(szFile2,"rb");
if(destfile == NULL)
{
printf("failed to open file!");
system("pause");
return -1;
}
outputfile = fopen(szFile3,"wb");
if(outputfile == NULL)
{
printf("failed to open file!");
system("pause");
return -1;
}
if(fread(pMem1,1,stsize,sourcefile) != stsize)
{
printf("fread failed!");
system("pause");
return -1;
}
if(fread(pMem2,1,stsize1,destfile) != stsize1)
{
printf("fread failed!");
system("pause");
return -1;
}
while(stsize--)
*((unsigned char*)pMem1)++ ^= *((unsigned char*)pMem2)++;
fwrite(temp,1,stsize1,outputfile);
fclose(sourcefile);
fclose(destfile);
fclose(outputfile);
printf("I am done^_^\n");
system("pause");
return 0;
}
能力值:
( LV2,RANK:140 )
能力值:
( LV2,RANK:140 )
能力值:
( LV2,RANK:140 )
能力值:
( LV2,RANK:140 )
能力值:
( LV2,RANK:140 )
能力值:
( LV2,RANK:140 )
能力值:
( LV2,RANK:140 )
能力值:
( LV2,RANK:140 )
能力值:
( LV2,RANK:140 )
能力值:
( LV2,RANK:140 )
ReadProcessMemory读取失败
这个例子貌似并不需要提权
本来想拷贝楼主的代码编译调试,无奈楼主你的代码实在看不懂
下面是我的,测试成功
代码一复制到论坛就乱了,附件里面有源文件
XP sp2&VC++6.0
能力值:
( LV2,RANK:140 )