由于环境问题,未进行功能验证
This commit is contained in:
@@ -86,7 +86,7 @@ SecurityPolicy-Deny-Http-00004
|
|||||||
[Tags] 请求头
|
[Tags] 请求头
|
||||||
Comment 功能端验证HTTP验证
|
Comment 功能端验证HTTP验证
|
||||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00004.bat
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00004.bat
|
||||||
... ELSE set variable curl http://www.tsutmb.ru/sveden
|
... ELSE set variable curl -kv --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" --referer 'http://www.baidu.com/' \http://www.tsutmb.ru/sveden
|
||||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List yyyyy
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List yyyyy
|
||||||
... ELSE Create List yyyyy
|
... ELSE Create List yyyyy
|
||||||
${starttime} Get Time
|
${starttime} Get Time
|
||||||
@@ -100,7 +100,7 @@ SecurityPolicy-Deny-Http-00005
|
|||||||
[Tags] 请求头
|
[Tags] 请求头
|
||||||
Comment 功能端验证HTTP验证
|
Comment 功能端验证HTTP验证
|
||||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00005.bat
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00005.bat
|
||||||
... ELSE set variable curl http://www.abchina.com/cn/
|
... ELSE set variable curl -kv --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" --referer 'http://www.baidu.com/' \http://www.abchina.com/cn/
|
||||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset
|
||||||
... ELSE Create List Connection reset by peer
|
... ELSE Create List Connection reset by peer
|
||||||
${starttime} Get Time
|
${starttime} Get Time
|
||||||
@@ -114,7 +114,7 @@ SecurityPolicy-Deny-Http-00006
|
|||||||
[Tags] 请求头
|
[Tags] 请求头
|
||||||
Comment 功能端验证HTTP验证
|
Comment 功能端验证HTTP验证
|
||||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00006.bat
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00006.bat
|
||||||
... ELSE set variable curl http://egypt.travel/ru
|
... ELSE set variable curl -kv --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" --referer 'http://www.baidu.com/' \http://egypt.travel/ru
|
||||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List 网站被阻断
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 网站被阻断
|
||||||
... ELSE Create List 网站被阻断
|
... ELSE Create List 网站被阻断
|
||||||
${starttime} Get Time
|
${starttime} Get Time
|
||||||
@@ -128,7 +128,7 @@ SecurityPolicy-Deny-Http-00007
|
|||||||
[Tags] 请求头
|
[Tags] 请求头
|
||||||
Comment 功能端验证HTTP验证
|
Comment 功能端验证HTTP验证
|
||||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00007.bat
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00007.bat
|
||||||
... ELSE set variable curl http://www.destination360.com/travel/destinations
|
... ELSE set variable curl -kv --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" --referer 'http://www.baidu.com/' \http://www.destination360.com/travel/destinations
|
||||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List 对不起,您请求的页面不存在、或已被删除、或暂时不可用
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 对不起,您请求的页面不存在、或已被删除、或暂时不可用
|
||||||
... ELSE Create List 对不起,您请求的页面不存在、或已被删除、或暂时不可用
|
... ELSE Create List 对不起,您请求的页面不存在、或已被删除、或暂时不可用
|
||||||
${starttime} Get Time
|
${starttime} Get Time
|
||||||
@@ -141,7 +141,7 @@ SecurityPolicy-Deny-Http-00007
|
|||||||
SecurityPolicy-Deny-Http-00008
|
SecurityPolicy-Deny-Http-00008
|
||||||
[Tags] 应答头
|
[Tags] 应答头
|
||||||
Comment 功能端验证HTTP验证
|
Comment 功能端验证HTTP验证
|
||||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_SSL_00001.bat
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00008.bat
|
||||||
... ELSE set variable curl http://www.cmbchina.com/CmbQuesInfo/index.aspx
|
... ELSE set variable curl http://www.cmbchina.com/CmbQuesInfo/index.aspx
|
||||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset
|
||||||
... ELSE Create List Connection reset by peer
|
... ELSE Create List Connection reset by peer
|
||||||
@@ -155,10 +155,10 @@ SecurityPolicy-Deny-Http-00008
|
|||||||
SecurityPolicy-Deny-Http-00009
|
SecurityPolicy-Deny-Http-00009
|
||||||
[Tags] 应答头
|
[Tags] 应答头
|
||||||
Comment 功能端验证HTTP验证
|
Comment 功能端验证HTTP验证
|
||||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_SSL_00001.bat
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00009.bat
|
||||||
... ELSE set variable curl http://www.bankcomm.com/BankCommSite/default.shtml
|
... ELSE set variable curl http://www.bankcomm.com/BankCommSite/default.shtml
|
||||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 123456
|
||||||
... ELSE Create List Connection reset by peer
|
... ELSE Create List 123456
|
||||||
${starttime} Get Time
|
${starttime} Get Time
|
||||||
Sleep ${policyVerificationSleepSeconds}s
|
Sleep ${policyVerificationSleepSeconds}s
|
||||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||||
@@ -169,10 +169,10 @@ SecurityPolicy-Deny-Http-00009
|
|||||||
SecurityPolicy-Deny-Http-00010
|
SecurityPolicy-Deny-Http-00010
|
||||||
[Tags] 应答头
|
[Tags] 应答头
|
||||||
Comment 功能端验证HTTP验证
|
Comment 功能端验证HTTP验证
|
||||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_SSL_00001.bat
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00010.bat
|
||||||
... ELSE set variable curl http://www.thg.ru/technews/hot_news.html
|
... ELSE set variable curl http://www.thg.ru/technews/hot_news.html
|
||||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Sorry, the page you requested does not exist, has been deleted, or is temporarily unavailable
|
||||||
... ELSE Create List Connection reset by peer
|
... ELSE Create List Sorry, the page you requested does not exist, has been deleted, or is temporarily unavailable
|
||||||
${starttime} Get Time
|
${starttime} Get Time
|
||||||
Sleep ${policyVerificationSleepSeconds}s
|
Sleep ${policyVerificationSleepSeconds}s
|
||||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||||
@@ -183,8 +183,83 @@ SecurityPolicy-Deny-Http-00010
|
|||||||
SecurityPolicy-Deny-Http-00011
|
SecurityPolicy-Deny-Http-00011
|
||||||
[Tags] 应答头
|
[Tags] 应答头
|
||||||
Comment 功能端验证HTTP验证
|
Comment 功能端验证HTTP验证
|
||||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_SSL_00001.bat
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00011.bat
|
||||||
... ELSE set variable curl http://www.hitlistapp.com/about/
|
... ELSE set variable curl http://www.hitlistapp.com/about/
|
||||||
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Sorry, the page you requested does not exist, has been deleted, or is temporarily unavailable
|
||||||
|
... ELSE Create List Sorry, the page you requested does not exist, has been deleted, or is temporarily unavailable
|
||||||
|
${starttime} Get Time
|
||||||
|
Sleep ${policyVerificationSleepSeconds}s
|
||||||
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||||
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||||||
|
${endtime} Get Time
|
||||||
|
insert_time_to_file1 deny_http_starttime13 ${starttime} deny_http_endtime13 ${endtime}
|
||||||
|
|
||||||
|
SecurityPolicy-Deny-Http-00012
|
||||||
|
[Tags] cookie
|
||||||
|
Comment 功能端验证HTTP验证
|
||||||
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00012.bat
|
||||||
|
... ELSE set variable curl -kv --cookie "*_ga=GA1.2.721078436.1587543528; _gid=GA1.2.916148851.1587543528; _gat=1; _ym_uid=1587543532244912958; _ym_d=1587543532; _ym_isad=2" --referer 'http://www.baidu.com/' \ http://www.universalmusic.ru/#about
|
||||||
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List 马上到周末
|
||||||
|
... ELSE Create List 马上到周末
|
||||||
|
${starttime} Get Time
|
||||||
|
Sleep ${policyVerificationSleepSeconds}s
|
||||||
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||||
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||||||
|
${endtime} Get Time
|
||||||
|
insert_time_to_file1 deny_http_starttime14 ${starttime} deny_http_endtime14 ${endtime}
|
||||||
|
|
||||||
|
SecurityPolicy-Deny-Http-00013
|
||||||
|
[Tags] set-cookie
|
||||||
|
Comment 功能端验证HTTP验证
|
||||||
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00013.bat
|
||||||
|
... ELSE set variable curl http://www.ziroom.com/life/index
|
||||||
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Главная страница
|
||||||
|
... ELSE Create List Главная страница
|
||||||
|
${starttime} Get Time
|
||||||
|
Sleep ${policyVerificationSleepSeconds}s
|
||||||
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||||
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||||||
|
${endtime} Get Time
|
||||||
|
insert_time_to_file1 deny_http_starttime15 ${starttime} deny_http_endtime15 ${endtime}
|
||||||
|
Comment 功能端验证HTTP验证
|
||||||
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00013_1.bat
|
||||||
|
... ELSE set variable curl http://www.xiaozhu.com/#ongo
|
||||||
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Главная страница
|
||||||
|
... ELSE Create List Главная страница
|
||||||
|
${starttime} Get Time
|
||||||
|
Sleep ${policyVerificationSleepSeconds}s
|
||||||
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||||
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||||||
|
${endtime} Get Time
|
||||||
|
insert_time_to_file1 deny_http_starttime16 ${starttime} deny_http_endtime16 ${endtime}
|
||||||
|
Comment 功能端验证HTTP验证
|
||||||
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00013_2.bat
|
||||||
|
... ELSE set variable curl http://www.sinovision.net/portal.php?mod=center
|
||||||
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Главная страница
|
||||||
|
... ELSE Create List Главная страница
|
||||||
|
${starttime} Get Time
|
||||||
|
Sleep ${policyVerificationSleepSeconds}s
|
||||||
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||||
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||||||
|
${endtime} Get Time
|
||||||
|
insert_time_to_file1 deny_http_starttime17 ${starttime} deny_http_endtime17 ${endtime}
|
||||||
|
Comment 功能端验证HTTP验证
|
||||||
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00013_3.bat
|
||||||
|
... ELSE set variable curl http://kiss.ru/a-search
|
||||||
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Главная страница
|
||||||
|
... ELSE Create List Главная страница
|
||||||
|
${starttime} Get Time
|
||||||
|
Sleep ${policyVerificationSleepSeconds}s
|
||||||
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||||
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||||||
|
${endtime} Get Time
|
||||||
|
insert_time_to_file1 deny_http_starttime18 ${starttime} deny_http_endtime18 ${endtime}
|
||||||
|
|
||||||
|
SecurityPolicy-Deny-Http-00014
|
||||||
|
[Tags] 请求体
|
||||||
|
Comment 功能端验证HTTP验证
|
||||||
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00014.bat
|
||||||
|
... ELSE set variable curl -H "Content-Type:application/x-www-form-urlencoded" -X POST -d "reqBody=test&setCookie=12345678&contentType=content-type&resBody=Response Body" http://open.node.com/action
|
||||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset
|
||||||
... ELSE Create List Connection reset by peer
|
... ELSE Create List Connection reset by peer
|
||||||
${starttime} Get Time
|
${starttime} Get Time
|
||||||
@@ -192,4 +267,46 @@ SecurityPolicy-Deny-Http-00011
|
|||||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||||
Sleep ${policyLogVerificationSleepSeconds}s
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||||||
${endtime} Get Time
|
${endtime} Get Time
|
||||||
insert_time_to_file1 deny_http_starttime13 ${starttime} deny_http_endtime13 ${endtime}
|
insert_time_to_file1 deny_http_starttime19 ${starttime} deny_http_endtime19 ${endtime}
|
||||||
|
|
||||||
|
SecurityPolicy-Deny-Http-00015
|
||||||
|
[Tags] 应答体
|
||||||
|
Comment 功能端验证HTTP验证
|
||||||
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00015.bat
|
||||||
|
... ELSE set variable curl http://www.huatonggs.com/about.html#gsjj
|
||||||
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset
|
||||||
|
... ELSE Create List Connection reset by peer
|
||||||
|
${starttime} Get Time
|
||||||
|
Sleep ${policyVerificationSleepSeconds}s
|
||||||
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||||
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||||||
|
${endtime} Get Time
|
||||||
|
insert_time_to_file1 deny_http_starttime20 ${starttime} deny_http_endtime20 ${endtime}
|
||||||
|
|
||||||
|
SecurityPolicy-Deny-Http-00016
|
||||||
|
[Tags] 最大组合1
|
||||||
|
Comment 功能端验证HTTP验证
|
||||||
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00016.bat
|
||||||
|
... ELSE set variable curl -H "Content-Type:application/x-www-form-urlencoded" -X POST -d "reqBody=test&setCookie=12345678&contentType=content-type&resBody=Response Body" -kv --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" --referer 'http://www.baidu.com/' http://open.node.com/action
|
||||||
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset
|
||||||
|
... ELSE Create List Connection reset by peer
|
||||||
|
${starttime} Get Time
|
||||||
|
Sleep ${policyVerificationSleepSeconds}s
|
||||||
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||||
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||||||
|
${endtime} Get Time
|
||||||
|
insert_time_to_file1 deny_http_starttime21 ${starttime} deny_http_endtime21 ${endtime}
|
||||||
|
|
||||||
|
SecurityPolicy-Deny-Http-00017
|
||||||
|
[Tags] 最大组合2
|
||||||
|
Comment 功能端验证HTTP验证
|
||||||
|
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00017.bat
|
||||||
|
... ELSE set variable curl -kv --cookie "*_ga=GA1.2.721078436.1587543528; _gid=GA1.2.916148851.1587543528; _gat=1; _ym_uid=1587543532244912958; _ym_d=1587543532; _ym_isad=2" --referer 'http://www.baidu.com/' \ http://smspunch.net/send-free-sms.aspx
|
||||||
|
${stringlist} run keyword if '${systemType}'=='Windows' Create List Connection was reset
|
||||||
|
... ELSE Create List Connection reset by peer
|
||||||
|
${starttime} Get Time
|
||||||
|
Sleep ${policyVerificationSleepSeconds}s
|
||||||
|
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||||
|
Sleep ${policyLogVerificationSleepSeconds}s
|
||||||
|
${endtime} Get Time
|
||||||
|
insert_time_to_file1 deny_http_starttime22 ${starttime} deny_http_endtime22 ${endtime}
|
||||||
|
|||||||
Reference in New Issue
Block a user