2016年6月13日
摘要: 安装虚拟机镜像,镜像如下: Kali-Linux-2016.1-vm-amd64(https://www.kali.org/) Metasploitable2-Linux(https://sourceforge.net/projects/metasploitable/) OWASP_Broken_W 阅读全文
posted @ 2016-06-13 21:09 qszxt 阅读(4166) 评论(1) 推荐(0) 编辑
摘要: 在win7中安装visual c++ 2015 redistributable x64 时会卡住,原因是visual c++ 2015 redistributable x64 需要KB2999226,Wusa.exe(Windows System Console Application,Window 阅读全文
posted @ 2016-06-13 20:52 qszxt 阅读(22053) 评论(0) 推荐(0) 编辑
摘要: echo "# xxx" >> README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/qslcna/xxx.git git push -u origin master 阅读全文
posted @ 2016-06-13 20:51 qszxt 阅读(562) 评论(0) 推荐(0) 编辑
摘要: 在将web api项目部署到IIS上的时候 要将应用程序池设置成.net framework 4.0版本 阅读全文
posted @ 2016-06-13 20:48 qszxt 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 这个方法可以是user.identity设置为true 但是要开启form验证, 在配置文件中 还有有的项目中默认移除了from验证的module, You need to remove this line 阅读全文
posted @ 2016-06-13 20:46 qszxt 阅读(162) 评论(1) 推荐(1) 编辑
摘要: Global.asax.cs文件会被编译到对应的dll 但部署是还需要Global.asax文件 class Global中的方法才会在程序启动时执行 阅读全文
posted @ 2016-06-13 20:42 qszxt 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Asp.net MVC 和web api 的action 在获取从前台传入的数据是有很大不同 前台使用ajax的方式向后台发起post的请求 Content-Type:application/json 使用以下json对象 在mvc中可以使用这两种格式的json均能获取到的user的username 阅读全文
posted @ 2016-06-13 20:33 qszxt 阅读(917) 评论(0) 推荐(0) 编辑