Array filter creates a new array with all elements that pass the test implemented by the provided function. In this lesson we discuss how only a truth...
分类:
编程语言 时间:
2015-12-19 06:34:49
阅读次数:
149
先在lib文件夹中定义一个模块 1 class _const(object): 2 class ConstError(TypeError):pass 3 4 def __setattr__(self, name, value): 5 if self.__dict__...
分类:
编程语言 时间:
2015-12-18 22:39:18
阅读次数:
161
英文原文地址:http://nginx.org/en/docs/http/ngx_http_upstream_module.html大纲:示例指令嵌入变量ngx_http_upstream_module模块用来定义一个可以通过proxy_pass, fastcgi_pass和memcached_pa...
分类:
Web程序 时间:
2015-12-18 21:22:06
阅读次数:
244
文章部分内容参考至:http://www.runoob.com/python/python-exceptions.html主动抛异常:class MyException(Exception): pass#相当于c++中的throw, 主动抛异常raise MyException>>>Trace...
分类:
编程语言 时间:
2015-12-18 18:08:17
阅读次数:
291
使用mount命令在Ubuntu上挂接Windows的共享文件夹sudo mount //192.168.0.1/linux /mnt/win -o username=user,password=pass dir_mode=777 file_mode=777说明://192.168.0.1/linu...
ansible主机分组管理:ansible配置说明:关于ansiblehosts文件中可用参数:ansible_ssh_port=22#远程主机登陆端口ansible_ssh_user=root#远程主机登陆用户名ansible_ssh_pass=chekir#远程主机登陆用户名的密码ansible_ssh_private_key_file=/etc/ansible/hosts#指定管理主机群..
分类:
其他好文 时间:
2015-12-16 17:35:16
阅读次数:
935
SQL Server Express数据库连接字符串:con.ConnectionString=@"DataSource=localhost\SQLEXPRESS;InitialCatalog=databasename;IntegratedSecurity=false;uid=sa;pwd=pass...
分类:
数据库 时间:
2015-12-16 12:14:41
阅读次数:
174
·没有嵌套CG语言,也就是代码段中没有CGPROGARAM和ENDCG关键字的,就是固定功能着色器。//Pass部分说明----------------------------------------------------------------------------------------//...
分类:
其他好文 时间:
2015-12-14 19:10:09
阅读次数:
140
默认情况下,我们配置在domain.xml或host.xml文件中的信息都是明文,对一些敏感信息就显得安全性不够,可以使用jboss提供的vault机制来进行加密下面的内容来自http://www.cnblogs.com/yjmyzz/p/how-to-encrypt-datasource-pass...
分类:
其他好文 时间:
2015-12-14 19:04:26
阅读次数:
208
之前已经分析过了low级别的BruteForce代码,下面再分别分析一下medium和high级别的代码。medium级别代码:很明显就可以看到medium和low级别的区别,在这里对负责接收用户参数的变量$user和$pass进行了过滤,过滤的方法仍然是使用mysql_real_escape_string()函数。这样密码绕过..
分类:
其他好文 时间:
2015-12-14 12:37:45
阅读次数:
157