c#怎么获取当前页面的urlC# codeHttpContext.Current.Request.UrlRequest.ServerVariables["HTTP_HOST"] + Request.ServerVariables["SCRIPT_NAME"]Request.ApplicationPa...
WebService: using System.Web.Script.Services; [GenerateScriptType(typeof(people))] [WebMethod] public List GetPeopleList() { Lis...
分类:
Web程序 时间:
2015-05-17 15:15:00
阅读次数:
206
? ?rust ?curl -sf -L https://static.rust-lang.org/rustup.sh | sh Welcome to Rust. This script will download the Rust compiler and its package manager, Cargo, and install them to /usr/local. You ...
分类:
其他好文 时间:
2015-05-16 18:49:39
阅读次数:
141
<!doctypehtml>
<htmlng-app="dynamicTemplate">
<head>
<scriptsrc="jslib/angular.js"></script>
<scripttype="text/javascript">
angular.module(‘dynamicTemplate‘,[]).controller(‘PhoneListCtrl‘,function($scope){
$scope.pho..
分类:
编程语言 时间:
2015-05-16 01:39:09
阅读次数:
328
有时候在进行自动化测试时需要在页面上执行一段js 脚本, 这个时候就需要用到 execute_script 方法了。 from selenium import webdriver BrowserObj_dirver = webdriver.Ie() BrowserObj_dirver.get( "http://www...
分类:
编程语言 时间:
2015-05-16 00:18:54
阅读次数:
158
/****** Script for SelectTopNRows command from SSMS ******/SELECT TOP 1000 [OFFRCD_STATUS_ID] ,[OFFRCD_STATUS_NAME] FROM [ALU_E2E_Database_W1]....
分类:
数据库 时间:
2015-05-15 19:27:14
阅读次数:
201
AngularJS版本:AngularJSv1.4.0-rc.1<!doctypehtml>
<htmlng-app="dynamicTemplate">
<head>
<scriptsrc="jslib/angular.js"></script>
<scripttype="text/javascript">
angular.module(‘dynamicTemplate‘,[]).controller(‘PhoneListCt..
分类:
Web程序 时间:
2015-05-15 18:01:45
阅读次数:
127
收集了一些利用Sqlmap做注入测试的TIPS,其中也包含一点绕WAF的技巧,便于大家集中查阅,欢迎接楼补充、分享。TIP1当我们注射的时候,判断注入 http://site/script?id=10http://site/script?id=11-1# 相当于 id=10http://site/s...
分类:
数据库 时间:
2015-05-14 23:17:53
阅读次数:
159
在html中引入<linkrel="stylesheet/less"type="text/css"href="styles.less">
<scriptsrc="less.js"type="text/javascript"></script>styles.less//变量
@color:#4D926F;
.variable{
color:@color;
}
//混合
.rounded-corners(@radius:5px){
border-radius..
分类:
其他好文 时间:
2015-05-14 20:42:34
阅读次数:
230
1. 认识shell script
shell script是利用shell的功能缩写的一个“程序”,这个程序是使用纯文本文件,将一些shell的语法与命令(含外部命令)写在里面,搭配正则表达式,管道命令与数据流重定向等功能,以达到我们想要的处理目的。
shell script有很广泛的应用:
(1)自动化管理的重要依据
(2)追踪与管理系统的重要工作
(3)简单入侵检测功能...
分类:
系统相关 时间:
2015-05-14 18:46:45
阅读次数:
150