对于密码破译方面笔者不太懂,之前对于各种序列号的激活也有些臆测,自己根据想法做了个序列号验证的小框架,以后做的工具也可以用之保护一下下。。。 主要思路是:用户打开小工具后,系统检测是否已激活,如果未激活,系统给出一个随机数字码(每次重新打开之后会变化),用户根据随机码向提供者索要对应激活码用于激活 ...
分类:
编程语言 时间:
2018-04-21 14:24:54
阅读次数:
554
题目链接:http://poj.org/problem?id=3107 题目: Description Last years Chicago was full of gangster fights and strange murders. The chief of the police got re ...
分类:
其他好文 时间:
2018-04-21 13:28:51
阅读次数:
191
PIC指的是位置无关代码,用于生成位置无关的共享库,所谓位置无关,指的是共享库的代码断是只读的,存放在代码段,多个进程可同时公用这份代码段而不需要拷贝副本。库中的变量(全局变量和静态变量)通过GOT表访问,而库中的函数,通过PLT->GOT->函数位置进行访问。Linux下编译共享库时,必须加上-f ...
分类:
其他好文 时间:
2018-04-17 19:56:51
阅读次数:
218
You all know the Dirichlet principle, the point of which is that if n boxes have no less than n?+?1 items, that leads to the existence of a box in whi ...
分类:
其他好文 时间:
2018-04-15 14:57:46
阅读次数:
171
SQL Injection - Blind (WS/SOAP) 本期演示的是盲注的手法。有些网站在与数据库交互的地方进行了很好的修饰,将报错的语句进行修改,即使你找到了注入点也无法下手拿数据,这个时候我们的步骤就比较麻烦了,我们只能通过对错的方式进行盲注(如下演示) 首先我们看一眼这是一个正常的显示 ...
分类:
数据库 时间:
2018-04-15 14:52:15
阅读次数:
190
One day Polycarp decided to rewatch his absolute favourite episode of well-known TV series "Tufurama". He was pretty surprised when he got results onl ...
分类:
其他好文 时间:
2018-04-13 23:34:06
阅读次数:
237
conn, client_addr = phone.accept()print(conn)print(client_addr)print('got a new connection from %s' % (client_addr, )) """<socket.socket fd=4, family= ...
分类:
编程语言 时间:
2018-04-13 16:19:30
阅读次数:
434
异常处理之除0情况 相信大家处理除0时,都会通过函数,然后判断除数是否为0,代码如下所示: 其实这个函数还有瑕疵,当我们调用divide(0,1)时,返回值也是0,在程序运行时,根本无法判断返回值0是不是除法为0的原因. 其实可以通过setjmp()和longjmp()配合使用 描述 和goto很相 ...
分类:
编程语言 时间:
2018-04-13 16:13:25
阅读次数:
177
题目描述 Snuke got an integer sequence of length N from his mother, as a birthday present. The i-th (1≦i≦N) element of the sequence is ai. The elements ar ...
分类:
其他好文 时间:
2018-04-12 00:18:03
阅读次数:
162
使用repeat循环包住需要要continue跳过的代码,使用break跳出循环, 需要注意的是,lua中的repeat语句,在循环条件为真的时候退出 1 for i = 1, 10 do 2 repeat 3 if i%2 == 0 then 4 break 5 end 6 print(i) 7 ... ...
分类:
其他好文 时间:
2018-04-11 19:12:53
阅读次数:
5588