|
[求助]自效验的问题
是 E 语言的程序。可以脱壳, 不过脱壳后无法运行可能是因为附加数据丢失了或是有自效验,你注意下程序运行后 x:\windows\Registration 这个文件夹里生成的那几个文件。估计就是附加数据了。 |
|
[求助]求购《Windows程序设计》这本书
去淘宝之类网站上找找,也许有收获。 |
|
[原创]浅谈汇编中的空操作
是的,如果 xchg 其他寄存器都需要2个字节,而 EAX 寄存器是经过优化的,这里 xchg eax,e?x 就只有1个字节 ,所以尽量多用 EAX 了。呵呵。 |
|
|
|
[原创]浅谈汇编中的空操作
假设 EAX 就是我, EAX 里的数据就相当是我女朋友 xchg 还是交换的意思 如果我说我自己跟我自己交换女朋友玩,你说是不是相当与 xchg eax,eax ? 那么结果是什么呢? 是不是就是 NOP ? 啥都没干,浪费时间而已,为什么 CPU 也玩浪费时间呢 ? 可能跟 CPU 时钟频率这方面有关,也许是为了等待其它什么指令执行所以搞出了空操作。记得以前看过这方面的资料,没记住,而且我也没系统的学过汇编语言。有兴趣的大家可以自己去查查资料。我记得好像是老罗的汇编书上说过现在的 CPU 好像可以不用按照一条一条指令的顺序去执行,好像是可以先执行本条指令下面的指令,然后再执行本条指令。 为什么可以这样执行原因是现在的 CPU 好像做过了什么优化处理,想了解这方面的内容还得多看看INTER的东西了。我记得是这样,具体哪看的记不清了。 标题说的很清楚,只是浅谈。很浅很浅很浅很浅的谈。我怕误人子弟。 |
|
[原创]浅谈汇编中的空操作
The one-byte NOP instruction is an alias mnemonic for the XCHG (E)AX, (E)AX instruction. 这句话是你上面贴里的,引用一下。 alias 别名,假名,同义名;替换名;伪信号 这句话应该如何翻译?是不是根本就不存在NOP指令,他只是个别名? 看看指令实际的排列顺序,我想xchg eax,eax其实就是存在的,不过从理解角度上讲把EAX和EAX自己做交换实际上就是什么都没做,言外之意就是NOP了. 之所以写成 NOP 而不写成 xchg eax, eax 也许只是为了 1:更利于理解 2:方便书写,减少书写代码量吧,我乱盖的,没根据。 不然为什么 NOP 指令就是 90 而不是 70 80 或是别的什么? 90 xchg eax, eax 91 xchg eax, ecx 92 xchg eax, edx 下图来自 Intel® 64 and IA-32 Architectures Software Developer's Manuals |
|
[原创]浅谈汇编中的空操作
你在 HIEW C32Asm 等工具的汇编模式下测试下看看结果。 在 Syser Debugger 下的结果是指令码成了 87C0 指令就是 xchg eax,eax 不过也只是显示上的,执行过这条指令后除了EIP变化了好像没发现其它变化。相当与NOP |
|
[转帖]+[原创]腾讯永远不敢放出的 QQ-60481729 雷劈数
01就是1。怎么劈?不然0000000和0都算了。 |
|
|
|
[注意]各位加密解密第三版将于5月20左右出版!最后建议请在本贴提出!
40块以内可以接受了,其实主要是心里接受能力的问题,实际上钱包接受能力大于心里上的接受能力,想想这东西可能一下要看几年也说不定,平均到每天其实也没多少钱,但是要一次性掏出70块那感觉就不一样了。希望能出PDF版。纸版一出,搞不好又会过不了几个月又来个二版效证版的那就感觉这钱花的难受了,到是不会觉得冤枉,只是感觉会有点难受。呵呵。 |
|
[讨论]spy++ 找不到的窗体怎么办???
也想知道,好像有的窗体上的按钮就是这类的问题。 |
|
[转帖]+[原创]腾讯永远不敢放出的 QQ-60481729 雷劈数
我又继续在雷劈数中找了一下劈开后左边或右边数自己本身也是雷劈数的数。 电脑配置低,只跑了一会,没跑出来这种数。估计也许不存在,不然真的劈死了。 奇数位数的整数雷劈数我没跑,不然不知道要有多少人要换车牌号和手机号了,不知道身份证号里有没有符合条件的。 |
|
[转帖]+[原创]腾讯永远不敢放出的 QQ-60481729 雷劈数
代码写的比较烂,见笑了。呵呵 ! /* Code By RegKiller 雷劈数的基本概念: 把 3025 从中间分开为 30 和 25 , 30+25 = 55 , 55*55 = 3025 雷劈数的规律:它们被劈成的两数之和都是 9 或 11 的倍数或其和减 1 是 9 的倍数 本例只寻找偶数位的整数是否是雷劈数. 奇数位整数的雷劈数例:100 , 10+0 = 10 , 10*10 = 100 寻找时需逐位组合判断.计算量过大 本程序在 VC++ 6.0(SP6) 环境下成功编译 */ #include<iostream> using namespace std ; #define MaxRange 18446744073709551615 // 最大范围从 0 到 18446744073709551615 void vLPNumber(unsigned __int64); // 求雷劈数函数 int iNumberMD(unsigned __int64); // 求偶数位整数从中间截断的位置 int main() { vLPNumber(MaxRange); return 0 ; } void vLPNumber(unsigned __int64 iMaxRange) { // 循环的次数小于等于最大范围数开方 for(unsigned __int64 i=1;iMaxRange>=i*i;i++) { unsigned __int64 iLPNumber=0,iLNumber=0,iRNumber=0,iNumberMD ; //iLPNumber : 雷劈数 , iLNumber : 分开后的左半数 , iRNumber : 分开后的右半数 iLPNumber=i*i ; iNumberMD=:: iNumberMD(iLPNumber); // 这里函数名前加 :: 是为了解决 = 前变量与 = 号后函数同名的问题 // 如果求出了中间截断位置就开始判断是不是雷劈数 if(false!=iNumberMD) { iLNumber=iLPNumber/iNumberMD ; iRNumber=iLPNumber%iNumberMD ; if(i==iLNumber+iRNumber) { printf("LPN:%I64d LN:%I64d RN:%I64d Sum:%I64d ",iLPNumber,iLNumber,iRNumber,i); // Sum=iLNumber+iRNumber=i , cout 和 cin 无法正确处理 __int64 类型 // 左半数 + 右半数之和是 9 的倍数 if(0==i%9) { cout<<"<Sum%9=0> " ; } //左半数 + 右半数之和是 11 的倍数 if(0==i%11) { cout<<"<Sum%11=0> " ; } //左半数 + 右半数之和再 - 1 后还是 9 的倍数 if(0==(i-1)%9) { cout<<"<(Sum-1)%9=0>" ; } cout<<endl ; } } } } int iNumberMD(unsigned __int64 iLPNumber) { unsigned __int64 iResult=0 ; // iResult : 偶数位整数从中间截断的位置 // 求整数的位数 while(iLPNumber!=0) { iLPNumber=iLPNumber/10 ; iResult++; } // 判断是否是偶数位的整数 if(0==iResult%2) { unsigned __int64 temp=0 ; temp=iResult ; iResult=1 ; while(temp/2) { iResult*=10 ; temp-=2 ; } return iResult ; // 是偶数位整数就返回截断整数的位置 } else return false ; // 奇数位整数不计算 } 呵呵这里还真有几个号比较特别,比如最后那个一排 8 的号 :lol :lol :lol
|
|
[转帖]+[原创]腾讯永远不敢放出的 QQ-60481729 雷劈数
雷劈数的来历 有位外国数学家叫卡普利加,在一次旅行中,遇到猛烈的暴风雨,电闪雷鸣过后,他看到路边一块里程碑,被雷电劈成两半,一半上刻著30,另一半刻著25。这时,卡普利加的脑际中忽然发现了一个绝妙的数学关系—— 把劈成两半的数加起来,再平方,正好是原来的数位。除此之外,还有没有别的数,也具有这样的性质呢? 熟悉速算的人很快就找到了另一个数:2025 按照第一个发现者的名字,这种怪数被命名为“卡普利加数”,又称“雷劈数”。 现在已有许多办法搜寻这种数,但最简便的办法是在9与11的倍数中寻找。例如上面提到的55,它是11的倍数,45是9的倍数。用这种办法,人们果然找到了一个极其有趣的7777,不难验算:6048+1729=7777 (腾讯QQ60481729为了避讳被注销了) 前苏联的一个小朋友卡嘉也发现了一个新的“雷劈数”,它是9801。98+1=99,从以上提到的4个“雷劈数”,我们不难发现同一情况:偶数+奇数=奇数,奇数的平方=奇数。3025,2025,9801和60481729都是奇数。那麽,有没有偶数雷劈数存在呢? 答案是肯定的。7年以前,泸州师范附小的一位同学,就发现了偶数“雷劈数”:100,因为10+0=10,,经过验证,100是最小的偶数雷劈数,也有可能它是唯一的偶数雷劈数。这位同学还发现了最小的奇数雷劈数:81,因为,8+1=9,可以推测:在数学王国裏,数值最小的雷劈数只有1个,数值较大的雷劈数会有无数个存在,其中的奥秘还有待人们去不断探索。 雷 劈 数 及 其 规 律 据说数学家卡普利加发现了一种具有特殊性质的数,被叫作“卡普利加数”或“ 雷劈数。它们是这样的数:如果在某一个位置上把它截成两个整数,这两个数的和的平方仍然等于这个数。设截断的位置在右起第n和第n+1位之间,截成的两个数为a与b,即 该雷劈数等于……………… (1) 第一个雷劈数是卡普利加在暴风雨中看到的、被雷电劈成两半的里程碑上的数字3025 ,它被截成30,25两个数,其和30+25=55的。这就是"雷劈数"的来历。 此后就有人热衷于寻找新的雷劈数。据说前苏联的一位小朋友找到一个劈成98和 01的雷劈数:9801。在已知的一些雷劈数中,它们被劈成的两数之和都是 9或11的倍数,或者其和减 1是 9的倍数,人们就是按这些经验去寻找新雷劈数。中国小学生刘益找到了最小的奇数雷劈数81与偶数雷劈数100。 雷劈数在自然数中的分布十分稀少,它们在大数中密度更小。因为它们的密度是按指数规律减少的。设<N 的雷劈数个数为 n 个,则有 log(n)/log(N)<0.175,见下表: log(N) 2 3 4 5 6 7 8 9 10 11 12 13 14 n 1 2 5 7 9 11 18 21 26 32 57 59 65 log(n)/log(N) .000 .100 .175 .169 .159 .149 .157 .147 .141 .137 .146 .136 .129 这个雷劈数密度规律是由14位自然数内的全部雷劈数表实际统计而得,而长度在14位 以内全部共66个的雷劈数表是我们用计算机找出来的。从这张已知的雷劈数表可见,雷劈 数可以是奇数,也可以是偶数,但总是成对出现的,即对于一个相同的 b值,总有两个a1 、a2组成成对的雷劈数 a1*10^n+b 和 a2*10^n+b 。因为这个缘故,这张表中的雷 劈数没有完全按大小次序来排列。注意:对于任意的 n,2n位的数10^n*(10^n-2)+1 和 2n+1位的数10^2n 可叫作平凡雷劈数,但不成为一对,而是分别与 1和 0成对,即 b=1 时有 a1=1 ,a2= 10^n-2构成一对;对于 b=0,有a1=0,a2=10^n 构成一对。 由于雷劈数太稀少,又象素数那样没有确定的分布规律,要用人工发现一个雷劈数是 很困难的,特别是大的雷劈数,即使用计算机去逐个去查找,也要很多时间。因为一个 n 位数可以在 n-1个不同的位置劈开,所以要试验n次才能确定它是不是雷劈数。这样,要找 出所有长 n 位的雷劈数,就要试验(n-1)*(10^(n+1)-10^n)=(n- 1)*9*10^n =1.289*10^16次,若用速度为 80兆的 486微机来计算,每秒可试验 30000次左右,也要 13614年。所以必须分析雷劈数的性质,从中找出并利用其规律。 由式(1)可知,当 b 已知时,该雷劈数的 a 值可以从下列方程式解出来: a^2 + (2b-10^n)*a + (b^2- b) = 0 …………………………… (2) 这是关于变数 a 的 2次方程式,它有两个根 a1、a2,这就是为什麼雷劈数总是成对 的缘故。但要使(2)的根a1、a2是有效的自然数,必须使其判别式等于平方数: (2b-10^n)^2-4*1*(b^2-b)= 10^(2n)-4b*(10^n-1)= c^2 …… (3) 由此式解出 b: b = (10^n-c)*(10^n+c)/ 4 /(10^n-1) ………………………… (4) 只要找出一个能使 (4)式的 b是整数的整数 c,并求出(3)式的两个根a1,a2 -(2b-10^n)±c 10^n ± c a1,a2 = ———————— = —————— - b ………………………… (5) 2 2 即找到了一对雷劈数a1*10^n+b,a2*10^n+b。现在代替从 1检查到 10^14找到全部 雷劈数,只要从 1检查到10^7,找使 □式的 b是整数的 c 值,微机只要38分钟就完成了。 由□式我们可得每对雷劈数的和之积:(a1+b)*(a2+b)=(10^2n- c^2) / 4 再把□式的 c^2 = 10^2n-4*b*(10^n-1)代入可得: (a1+b)*(a2+b)= 2b*(10^n - 1) 因为 10^n-1 是 9 的倍数,即每对雷劈数中,至少有一个是 9的倍数。当 n是偶数 时,10^n-1 还是11的倍数,即两对雷劈数中,至少有一个的是11的倍数。这就是前面提 到的找雷劈数的经验方法所依据的规律。 这个规律也可以由所列的雷劈数表来进行验证: 在这66个雷劈数中,其和可同时被 9和11整除的占15%,能被 9整除的占52%,能被11整 除的占32%。但是还有32%既不能被 9整除也不能被11整除。 以上这种雷劈数是在某个位置劈成两个数再相加,其和的平方仍等于这个数。如果不是相加,而是相减又会是怎麼样的呢?也就是说,劈成两个数后,它们的差的平方等于该自然数的数也应该有吧?编个程序找了一下,果然是有的,姑且把它叫作减雷劈数。减雷劈数比原来的雷劈数少一半,它们也是成对的出现的。现在把14位数以内的28个减雷劈数也录于后面,供大家验证。 附录1:14 位以内的雷劈数表 8 1, 10 0│ 494 1729│ 250500 250000│ 101558 217124│ 923594 037444 20 25│ 6048 1729│ 217930 248900│ 464194 217124│ 28 005264 30 25│ 9998 0001│ 284270 248900│ 43470 165025│ 989444 005264 98 01│ 10000 0000│ 213018 248521│ 626480 165025│ 999998 000001 100 00│ 4938 17284│ 289940 248521│ 35010 152100│ 1000000 000000 88 209│ 60494 17284│ 152344 237969│ 660790 152100│ 2428460 2499481 494 209│ 3008 14336│ 371718 237969│ 33058 148761│ 2572578 2499481 998 001│ 68320 14336│ 127194 229449│ 669420 148761│ 1975308 2469136 1000 000│ 238 04641│ 413908 229449│ 21948 126201│ 3086420 2469136 2450 2500│ 90480 04641│ 123448 227904│ 725650 126201│ 39390 0588225 2550 2500│ 99998 00001│ 420744 227904│ 20408 122449│ 8784160 0588225 744 1984│ 10000 000000│ 108878 221089│ 734694 122449│ 9999998 0000001 5288 1984│ 249500 250000│ 448944 221089│ 1518 037444│ 10000000 0000000 附录2: 14 位以内的减雷劈数表 10 0│ 6 084│ 10000 0000│ 3306 21489│ 10000000 0000000 12 1│ 1162 084│ 10002 0001│ 139672 21489│ 10000002 0000001 100 00│ 82 369│ 120 1216│ 1000000 000000│ 743802 3471076 102 01│ 1656 369│ 12312 1216│ 1000002 000001│ 16198350 3471076 1000 000│ 132 496│ 100000 00000│ 113322 449956│ 1002 001│ 1860 496│ 100002 00001│ 1786590 449956│ 大家再去查找60481729这个QQ。。。。。。怎么样?什么也查不到吧! 为什么极其普通的一个号TX一直不敢放出来呢? 首先得从这个号码的数字上分析原因。大家注意没?我把60481729这个QQ从中间分开,分成6048和1729两个数字。然后再相加。即6048+1729=7777,很不错的数字。还没完呢。继续。而7777×7777=60481729,晕!怎么又回来了?? 这个数字正是传说中的雷劈数!(印度某个数学家发现的,之所以叫雷劈数是因为在雷雨天气路边的里程桩号“3025”被雷从中间劈成2半而正好被这个科学家走狗屎运发现的,因为30+25=55,55×55=3025。偶上小学时候在中国少年报上看的,现在在网上根本找不到雷劈数得名的原因) 而腾讯的老马脑子里还是带点迷性,当初放号的时候像这类非常不吉利的数字都给注销了,万一哪天被雷劈了他肯定会死不瞑目的。干事业还是得图个吉利,而当初申请8位QQ那段时间腾讯正处于困难时期,听说老马差点50万把QQ卖了,所以对于这些不吉利的东西还是予以避讳。 但是老马的智商还是有限的,雷劈数不仅仅只有这一个,比如25502500,24502500,52881984,99980001都是雷劈数!只是60481729这个雷劈数非常出名所以老马予以没收了。。。。。。 |
|
[原创]手写PE导入表,打造超小快速关机程序
这个 &XX 这里的 XX 之前就直接 int 一下就 OK ? |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值