生成证书 openssl genrsa -des3 -out server.key 2048 openssl req -new -x509 -key server.key -out ca.crt -days 3650openssl pkcs12 -export -out server.p12 -in ...
分类:
Web程序 时间:
2016-05-31 22:11:31
阅读次数:
199
转自:http://www.cnblogs.com/ae6623/p/4433109.html req.params 这是一个包含着被命名的路由规则“参数”的对象属性。例如如果你有一个路由规则为:”/user/:name”,然后这个”name”属性你就可以使用req.params.name来调用,这 ...
安装python依赖包 sudo apt-get install python-dev python-pip 首先下载caffe安装包,解压之后进入caffe-master/python目录下执行如下命令 $ for req in $(cat requirements.txt); do pip in ...
分类:
编程语言 时间:
2016-05-28 15:39:27
阅读次数:
220
nodejs 可以直接在返回中使用html标签,例如下面的格式,返回 hello world 将会使用 h1 字体。 app.get('/html',function(req,res){ res.status(200).send('<h1>hello world</h1>');}); "E" is ...
分类:
Web程序 时间:
2016-05-25 18:42:02
阅读次数:
220
一.Nginx + https + 免费SSL证书配置指南 生成证书 $ cd /usr/local/nginx/conf$ openssl genrsa -des3 -out server.key 1024$ openssl req -new -key server.key -out server ...
分类:
Web程序 时间:
2016-05-25 11:17:52
阅读次数:
233
1、生成x509格式的CA自签名证书 openssl req -new -x509 -keyout ca.key -out ca.crt 2、生成服务端的私钥(key文件)及申请证书文件csr文件 openssl genrsa -des3 -out server.key 1024 openssl r ...
分类:
其他好文 时间:
2016-05-24 22:12:52
阅读次数:
352
手机轰炸,burpsuit 抓取注册页面输入的手机号,然后每点击一次forword ,都开开始放行,发短信。也可以发到repeat 里面进行 ,重复发送短信。 搞了半天终于出来了,实现每隔50秒,对一个手机进行短信骚扰。功能有待改善。 备注: 需要对phone进行赋值,运行 python req.p ...
分类:
编程语言 时间:
2016-05-23 09:05:50
阅读次数:
269
本篇再来介绍个web api的功能,关于lookup的text这里只是略带,因为有expand,现有的web api就能实现,主要提的是选项集的text,我们通过基本的查询api查出来的字段值只带有value,如果想要获取text也很简单,只需要在request的头部加一条信息即可,下面分别给出了C#及JS的示例代码。
HttpWebRequest req = (HttpWebRequest)...
2.get请求 Js代码 function get(){ var req = createXMLHTTPRequest(); if(req){ req.open("GET", "http://test.com/?keywords=手机", true); req.onreadystatechange ...
分类:
Web程序 时间:
2016-05-18 00:05:01
阅读次数:
276
yuminstallpcrepcre-develperl-ExtUtils-Embedyuminstallopensslopenssl-develgcc安装LuaJitcd/usr/local/srctarzxvfLuaJIT-2.0.1.tar.gzcdLuaJIT-2.0.1makemakeinstall安装tenginetarzxvftenginecdtengineexportLUAJIT_LIB=/usr/local/libexportLUAJIT_INC=/usr/local/include..
分类:
其他好文 时间:
2016-05-17 20:01:52
阅读次数:
880