DVWA漏洞训练系统,来个大图^-^1.首先试了下DVWA的命令执行漏洞command execution 这是我在Low级别上测试的,另外附上low级别代码://DetermineOSandexecutethepingcommand. if(stristr(php_uname('s'),'Wind...
分类:
其他好文 时间:
2014-07-07 23:35:11
阅读次数:
259
var indexOfSorted = function f(arr,n){
//assume : arr has been sorted
var low = 0;
var high = arr.length - 1;
var mid = (low + high) / 2;
while(high - low > 1){
if(n == arr[low]){return low...
分类:
Web程序 时间:
2014-06-30 08:54:10
阅读次数:
978
Iterative ways: 1 int binarySearch (int[] a, int x) { 2 int low = 0; 3 int high = a.length - 1; 4 int mid; 5 6 while (low x) {12 ...
分类:
其他好文 时间:
2014-06-27 22:27:06
阅读次数:
361
App icon57*57 (iPhone, =iOS 7.0, standard resolution)120*120 (iPhone, >=iOS 7.0, high resolution)72*72 (iPad, =iOS 7.0, standard resolution)1...
分类:
移动开发 时间:
2014-06-27 18:36:59
阅读次数:
209
JavaScript 数据访问(通译自High Performance Javascript 第二章)提问者:lilei335260(ID:160310)|悬赏 0.0希赛币 |回答数:12|关注度:32|提问时间:2014-05-03JavaScript 数据访问(翻译自High Performa...
分类:
编程语言 时间:
2014-06-27 15:19:10
阅读次数:
382
第一、使用密钥的编码
给定一段报文,一个密码函数和一个数字编码,就可以生成一段经过编码的密文,通过解码函数,解码秘钥,就可以将密文解码为原始的明文
第二、对称密钥加密技术
如果加密和解密使用的密钥是相同的,就成为对称密钥,流行的对称密钥加密算法为:DES、Triple-DES,RC2和RC4
对于对称密钥技术,暴力破解的方法就是尝试几乎所有可能,所有密钥位数越多,破解难度越大,目前普遍认为...
分类:
其他好文 时间:
2014-06-26 13:45:15
阅读次数:
240
memcache和redis区别2014年4月27日mood暂无评论memcache官方定义Free & open source, high-performance, distributed memory object caching system, generic in nature, but i...
分类:
其他好文 时间:
2014-06-25 14:59:31
阅读次数:
190
/*二分查找的递归与非递归算法*/#include #include using namespace std;bool bisrch( int low,int high,int v,int *text ) //递归写法{ int i,mid; mid=( low+high )/2; ...
分类:
其他好文 时间:
2014-06-25 13:51:56
阅读次数:
174
本文详细讲解了Spark在Standalone模式下的Master的HA的源码分析。
为了解决Standalone模式下的Master的SPOF,Spark采用了ZooKeeper提供的选举功能。Spark并没有采用ZooKeeper原生的Java API,而是采用了Curator,一个对ZooKeeper进行了封装的框架。采用了Curator后,Spark不用管理与ZooKeeper的连接,这些对于Spark来说都是透明的。Spark仅仅使用了100行代码,就实现了Master的HA。当然了,Spark是...
分类:
其他好文 时间:
2014-06-25 07:59:09
阅读次数:
183
1. A2DP Introduction
The Advanced Audio Distribution Profile (A2DP) defines the protocols and procedures
that realize distribution of audio content of high-quality in mono or stereo on ACL
channels...
分类:
移动开发 时间:
2014-06-24 23:15:47
阅读次数:
509