修改部分用例功能验证部分

This commit is contained in:
jwc
2020-07-06 19:11:52 +08:00
parent 827c01ae2d
commit 00a431911f
15 changed files with 47 additions and 47 deletions

View File

@@ -199,7 +199,7 @@ SecurityPolicy-Deny-Http-00012
SecurityPolicy-Deny-Http-00013 SecurityPolicy-Deny-Http-00013
[Tags] set-cookie [Tags] set-cookie
Comment 创建set-cookie Comment 创建set-cookie
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=CURRENT_CITY_CODE*|Set-Cookie,*domain=.xiaozhu.com|Set-Cookie,domain=.kiss.ru|Set-Cookie,oKD0_802a*|Set-Cookie ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=CURRENT_CITY_CODE*|Set-Cookie,*domain=.xiaozhu.com|Set-Cookie,PHPSESSID|Set-Cookie,oKD0_802a*|Set-Cookie
${rescode} ${objectId} AddObject2 ${1} ${objectDict} ${rescode} ${objectId} AddObject2 ${1} ${objectDict}
Comment 创建安全策略 Comment 创建安全策略
${policyDict} Create Dictionary policyName=SecurityPolicy-Deny-Http-00013 policyType=tsg_security policyDesc=autotest action=deny userRegion={"protocol":"HTTP","method":"drop"} filterList=${objectId}|TSG_FIELD_HTTP_RES_HDR isValid=${1} appIdObjects=2 ${policyDict} Create Dictionary policyName=SecurityPolicy-Deny-Http-00013 policyType=tsg_security policyDesc=autotest action=deny userRegion={"protocol":"HTTP","method":"drop"} filterList=${objectId}|TSG_FIELD_HTTP_RES_HDR isValid=${1} appIdObjects=2
@@ -244,7 +244,7 @@ SecurityPolicy-Deny-Http-00016
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=Mozilla/5.0*|User-Agent ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=Mozilla/5.0*|User-Agent
${rescode} ${object_qq_Id} AddObject2 ${1} ${objectDict} ${rescode} ${object_qq_Id} AddObject2 ${1} ${objectDict}
Comment 创建应答头 Comment 创建应答头
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=*utf-8|Content-Type ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=charset|Content-Type
${rescode} ${object_yd_Id} AddObject2 ${1} ${objectDict} ${rescode} ${object_yd_Id} AddObject2 ${1} ${objectDict}
Comment 创建请求体 Comment 创建请求体
${objectDict} Create Dictionary objectType=keywords isValid=${1} addItemList=qazxsw ${objectDict} Create Dictionary objectType=keywords isValid=${1} addItemList=qazxsw

View File

@@ -48,7 +48,7 @@ SecurityPolicy-Deny-Ssl-00003
SecurityPolicy-Deny-Ssl-00004 SecurityPolicy-Deny-Ssl-00004
[Tags] 最大组合 [Tags] 最大组合
Comment 创建fqdn Comment 创建fqdn
${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*mail.ru ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*prlib.ru
${rescode} ${objectId} AddObject2 ${1} ${objectDict} ${rescode} ${objectId} AddObject2 ${1} ${objectDict}
Comment 创建安全策略 Comment 创建安全策略
${policyDict} Create Dictionary policyName=SecurityPolicy-Deny-Ssl-00004 policyType=tsg_security policyDesc=autotest action=deny userRegion={"protocol":"SSL","method":"drop"} filterList=${objectId}|TSG_FIELD_SSL_SAN,${objectId}|TSG_FIELD_SSL_SNI,${objectId}|TSG_FIELD_SSL_CN isValid=${1} appIdObjects=3 ${policyDict} Create Dictionary policyName=SecurityPolicy-Deny-Ssl-00004 policyType=tsg_security policyDesc=autotest action=deny userRegion={"protocol":"SSL","method":"drop"} filterList=${objectId}|TSG_FIELD_SSL_SAN,${objectId}|TSG_FIELD_SSL_SNI,${objectId}|TSG_FIELD_SSL_CN isValid=${1} appIdObjects=3

View File

@@ -38,7 +38,7 @@ SecurityPolicy-Monitor-Http-00002
SecurityPolicy-Monitor-Http-00003 SecurityPolicy-Monitor-Http-00003
[Tags] url [Tags] url
Comment 创建url Comment 创建url
${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=*mouse.html,$music.taihe.com/songlist,www.quotegarden*,search ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=*portal/zh_CN/home/index.html,$www.universalmusic.ru/artists,www.nuk-baby.ru/ru_ru*,crosswordheaven
${rescode} ${objectId} AddObject2 ${1} ${objectDict} ${rescode} ${objectId} AddObject2 ${1} ${objectDict}
Comment 创建安全策略 Comment 创建安全策略
${policyDict} Create Dictionary policyName=SecurityPolicy-Monitor-Http-00003 policyType=tsg_security policyDesc=autotest action=monitor userRegion={"protocol":"HTTP"} filterList=${objectId}|TSG_FIELD_HTTP_URL isValid=${1} appIdObjects=2 ${policyDict} Create Dictionary policyName=SecurityPolicy-Monitor-Http-00003 policyType=tsg_security policyDesc=autotest action=monitor userRegion={"protocol":"HTTP"} filterList=${objectId}|TSG_FIELD_HTTP_URL isValid=${1} appIdObjects=2
@@ -82,10 +82,10 @@ SecurityPolicy-Monitor-Http-00005
SecurityPolicy-Monitor-Http-00006 SecurityPolicy-Monitor-Http-00006
[Tags] 请求头 [Tags] 请求头
Comment 创建请求头 Comment 创建请求头
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=AppleWebKit|User-Agent ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=AppleWebKit/537.36|User-Agent
${rescode} ${objectId} AddObject2 ${1} ${objectDict} ${rescode} ${objectId} AddObject2 ${1} ${objectDict}
Comment 创建url Comment 创建url
${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=*weixingche/ ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=weixingche
${rescode} ${object_url_Id} AddObject2 ${1} ${objectDict} ${rescode} ${object_url_Id} AddObject2 ${1} ${objectDict}
Comment 创建安全策略 Comment 创建安全策略
${policyDict} Create Dictionary policyName=SecurityPolicy-Monitor-Http-00006 policyType=tsg_security policyDesc=autotest action=monitor userRegion={"protocol":"HTTP"} filterList=${objectId}|TSG_FIELD_HTTP_REQ_HDR,${object_url_Id}|TSG_FIELD_HTTP_URL isValid=${1} appIdObjects=2 ${policyDict} Create Dictionary policyName=SecurityPolicy-Monitor-Http-00006 policyType=tsg_security policyDesc=autotest action=monitor userRegion={"protocol":"HTTP"} filterList=${objectId}|TSG_FIELD_HTTP_REQ_HDR,${object_url_Id}|TSG_FIELD_HTTP_URL isValid=${1} appIdObjects=2
@@ -190,7 +190,7 @@ SecurityPolicy-Monitor-Http-00012
SecurityPolicy-Monitor-Http-00013 SecurityPolicy-Monitor-Http-00013
[Tags] set-cookie [Tags] set-cookie
Comment 创建set-cookie Comment 创建set-cookie
${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=$tplVer=06-18|Set-Cookie,*domain=bing.com|Set-Cookie,b; path=/|Set-Cookie,s_ViewType*|Set-Cookie ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=$tplVer=06-18|Set-Cookie,*domain=bing.com|Set-Cookie,b; path=/|Set-Cookie,cye=beijing*|Set-Cookie
${rescode} ${objectId} AddObject2 ${1} ${objectDict} ${rescode} ${objectId} AddObject2 ${1} ${objectDict}
Comment 创建安全策略 Comment 创建安全策略
${policyDict} Create Dictionary policyName=SecurityPolicy-Monitor-Http-00013 policyType=tsg_security policyDesc=autotest action=monitor userRegion={"protocol":"HTTP"} filterList=${objectId}|TSG_FIELD_HTTP_RES_HDR isValid=${1} appIdObjects=2 ${policyDict} Create Dictionary policyName=SecurityPolicy-Monitor-Http-00013 policyType=tsg_security policyDesc=autotest action=monitor userRegion={"protocol":"HTTP"} filterList=${objectId}|TSG_FIELD_HTTP_RES_HDR isValid=${1} appIdObjects=2

View File

@@ -245,7 +245,7 @@ SecurityPolicy-Deny-Http-00013
insert_time_to_file1 deny_http_starttime17 ${starttime} deny_http_endtime17 ${endtime} insert_time_to_file1 deny_http_starttime17 ${starttime} deny_http_endtime17 ${endtime}
Comment 功能端验证HTTP验证 Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00013_3.bat ${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 ... ELSE set variable curl http://nlr.ru/nlr_visit/RA549/novosti
${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
@@ -287,7 +287,7 @@ SecurityPolicy-Deny-Http-00016
[Tags] 最大组合1 [Tags] 最大组合1
Comment 功能端验证HTTP验证 Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00016.bat ${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 ... ELSE set variable curl -H "Content-Type:application/x-www-form-urlencoded" -X POST -d "reqBody=qazxsw&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 ${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

View File

@@ -86,8 +86,8 @@ SecurityPolicy-Deny-Ssl-00004
[Tags] 最大组合 [Tags] 最大组合
Comment 功能端验证HTTP验证 Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_SSL_00004.bat ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_SSL_00004.bat
... ELSE set variable curl https://mail.ru/ ... ELSE set variable curl https://www.prlib.ru/
${stringlist} run keyword if '${systemType}'=='Windows' Create List failed to receive handshake ${stringlist} run keyword if '${systemType}'=='Windows' Create List Operation timed out
... ELSE Create List Connection reset by peer ... ELSE Create List Connection reset by peer
${starttime} Get Time ${starttime} Get Time
Sleep ${policyVerificationSleepSeconds}s Sleep ${policyVerificationSleepSeconds}s

View File

@@ -26,8 +26,8 @@ SecurityPolicy-Monitor-Http-00002
Comment 功能端验证HTTP验证 Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Monitor_HTTP_00002.bat ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Monitor_HTTP_00002.bat
... ELSE set variable curl http://jzjc.jd.com/ ... ELSE set variable curl http://jzjc.jd.com/
${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
Sleep ${policyVerificationSleepSeconds}s Sleep ${policyVerificationSleepSeconds}s
${rescode} SystemCommands ${commandstr} ${stringlist} ${rescode} SystemCommands ${commandstr} ${stringlist}
@@ -39,9 +39,9 @@ SecurityPolicy-Monitor-Http-00003
[Tags] url [Tags] url
Comment 功能端验证HTTP验证 Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Monitor_HTTP_00003.bat ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Monitor_HTTP_00003.bat
... ELSE set variable curl http://music.taihe.com/songlist ... ELSE set variable curl http://www.hkbchina.com/portal/zh_CN/home/index.html
${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
Sleep ${policyVerificationSleepSeconds}s Sleep ${policyVerificationSleepSeconds}s
${rescode} SystemCommands ${commandstr} ${stringlist} ${rescode} SystemCommands ${commandstr} ${stringlist}
@@ -51,8 +51,8 @@ SecurityPolicy-Monitor-Http-00003
Comment 功能端验证HTTP验证 Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Monitor_HTTP_00003_1.bat ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Monitor_HTTP_00003_1.bat
... ELSE set variable curl http://www.nuk-baby.ru/ru_ru/kollekcii/disney-mickey-mouse.html ... ELSE set variable curl http://www.nuk-baby.ru/ru_ru/kollekcii/disney-mickey-mouse.html
${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
Sleep ${policyVerificationSleepSeconds}s Sleep ${policyVerificationSleepSeconds}s
${rescode} SystemCommands ${commandstr} ${stringlist} ${rescode} SystemCommands ${commandstr} ${stringlist}
@@ -61,9 +61,9 @@ SecurityPolicy-Monitor-Http-00003
insert_time_to_file1 monitor_http_starttime3 ${starttime} monitor_http_endtime3 ${endtime} insert_time_to_file1 monitor_http_starttime3 ${starttime} monitor_http_endtime3 ${endtime}
Comment 功能端验证HTTP验证 Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Monitor_HTTP_00003_2.bat ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Monitor_HTTP_00003_2.bat
... ELSE set variable curl http://www.quotegarden.com/site-info.html ... ELSE set variable curl http://www.universalmusic.ru/artists
${stringlist} run keyword if '${systemType}'=='Windows' Create List About ${stringlist} run keyword if '${systemType}'=='Windows' Create List Артисты
... ELSE Create List About ... ELSE Create List Артисты
${starttime} Get Time ${starttime} Get Time
Sleep ${policyVerificationSleepSeconds}s Sleep ${policyVerificationSleepSeconds}s
${rescode} SystemCommands ${commandstr} ${stringlist} ${rescode} SystemCommands ${commandstr} ${stringlist}
@@ -73,8 +73,8 @@ SecurityPolicy-Monitor-Http-00003
Comment 功能端验证HTTP验证 Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Monitor_HTTP_00003_3.bat ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Monitor_HTTP_00003_3.bat
... ELSE set variable curl http://crosswordheaven.com/search ... ELSE set variable curl http://crosswordheaven.com/search
${stringlist} run keyword if '${systemType}'=='Windows' Create List Search ${stringlist} run keyword if '${systemType}'=='Windows' Create List Search
... ELSE Create List Search ... ELSE Create List Search
${starttime} Get Time ${starttime} Get Time
Sleep ${policyVerificationSleepSeconds}s Sleep ${policyVerificationSleepSeconds}s
${rescode} SystemCommands ${commandstr} ${stringlist} ${rescode} SystemCommands ${commandstr} ${stringlist}
@@ -101,8 +101,8 @@ SecurityPolicy-Monitor-Http-00005
Comment 功能端验证HTTP验证 Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Monitor_HTTP_00005.bat ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Monitor_HTTP_00005.bat
... ELSE set variable curl -kv --user-agent "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML like Gecko) Chrome/31.0.1650.63 Safari/537.36" --referer 'http://www.baidu.com/' \http://www.chinahr.com/home/bj/ ... ELSE set variable curl -kv --user-agent "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML like Gecko) Chrome/31.0.1650.63 Safari/537.36" --referer 'http://www.baidu.com/' \http://www.chinahr.com/home/bj/
${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
Sleep ${policyVerificationSleepSeconds}s Sleep ${policyVerificationSleepSeconds}s
${rescode} SystemCommands ${commandstr} ${stringlist} ${rescode} SystemCommands ${commandstr} ${stringlist}
@@ -115,8 +115,8 @@ SecurityPolicy-Monitor-Http-00006
Comment 功能端验证HTTP验证 Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Monitor_HTTP_00006.bat ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Monitor_HTTP_00006.bat
... 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://car.bitauto.com/weixingche/ ... 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://car.bitauto.com/weixingche/
${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
Sleep ${policyVerificationSleepSeconds}s Sleep ${policyVerificationSleepSeconds}s
${rescode} SystemCommands ${commandstr} ${stringlist} ${rescode} SystemCommands ${commandstr} ${stringlist}
@@ -223,9 +223,9 @@ SecurityPolicy-Monitor-Http-00013
insert_time_to_file1 monitor_http_starttime15 ${starttime} monitor_http_endtime15 ${endtime} insert_time_to_file1 monitor_http_starttime15 ${starttime} monitor_http_endtime15 ${endtime}
Comment 功能端验证HTTP验证 Comment 功能端验证HTTP验证
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Monitor_HTTP_00013_1.bat ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Monitor_HTTP_00013_1.bat
... ELSE set variable curl http://www.dianping.com/beijing/ch10/g112 ... ELSE set variable curl http://www.dianping.com/beijing
${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
Sleep ${policyVerificationSleepSeconds}s Sleep ${policyVerificationSleepSeconds}s
${rescode} SystemCommands ${commandstr} ${stringlist} ${rescode} SystemCommands ${commandstr} ${stringlist}

View File

@@ -66,7 +66,7 @@ SecurityPolicy-Deny-Http-00005
#删除策略 #删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_http_policyId4}]} ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_http_policyId4}]}
${s} Convert to String ${deny_http_policyId4} ${s} Convert to String ${deny_http_policyId4}
GetLogList security_event_log ${deny_http_starttime77} ${deny_http_endtime7} ${testClentIP} ${s} http_host abchina.com GetLogList security_event_log ${deny_http_starttime7} ${deny_http_endtime7} ${testClentIP} ${s} http_host abchina.com
SecurityPolicy-Deny-Http-00006 SecurityPolicy-Deny-Http-00006
[Tags] 请求头 [Tags] 请求头
@@ -137,7 +137,7 @@ SecurityPolicy-Deny-Http-00012
#删除策略 #删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_http_policyId11}]} ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_http_policyId11}]}
${s} Convert to String ${deny_http_policyId11} ${s} Convert to String ${deny_http_policyId11}
GetLogList security_event_log ${deny_http_starttime14} ${deny_http_endtime14} ${testClentIP} ${s} http_host thg.ru GetLogList security_event_log ${deny_http_starttime14} ${deny_http_endtime14} ${testClentIP} ${s} http_host www.universalmusic.ru
SecurityPolicy-Deny-Http-00013 SecurityPolicy-Deny-Http-00013
[Tags] set-cookie [Tags] set-cookie
@@ -149,7 +149,7 @@ SecurityPolicy-Deny-Http-00013
GetLogList security_event_log ${deny_http_starttime15} ${deny_http_endtime15} ${testClentIP} ${s} http_host ziroom.com GetLogList security_event_log ${deny_http_starttime15} ${deny_http_endtime15} ${testClentIP} ${s} http_host ziroom.com
GetLogList security_event_log ${deny_http_starttime16} ${deny_http_endtime16} ${testClentIP} ${s} http_host xiaozhu.com GetLogList security_event_log ${deny_http_starttime16} ${deny_http_endtime16} ${testClentIP} ${s} http_host xiaozhu.com
GetLogList security_event_log ${deny_http_starttime17} ${deny_http_endtime17} ${testClentIP} ${s} http_host sinovision.net GetLogList security_event_log ${deny_http_starttime17} ${deny_http_endtime17} ${testClentIP} ${s} http_host sinovision.net
GetLogList security_event_log ${deny_http_starttime18} ${deny_http_endtime18} ${testClentIP} ${s} http_host kiss.ru GetLogList security_event_log ${deny_http_starttime18} ${deny_http_endtime18} ${testClentIP} ${s} http_host nlr.ru
SecurityPolicy-Deny-Http-00014 SecurityPolicy-Deny-Http-00014
[Tags] 请求体 [Tags] 请求体

View File

@@ -51,4 +51,4 @@ SecurityPolicy-Deny-Ssl-00004
#删除策略 #删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_ssl_policyId3}]} ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${deny_ssl_policyId3}]}
${s} Convert to String ${deny_ssl_policyId3} ${s} Convert to String ${deny_ssl_policyId3}
GetLogList security_event_log ${deny_ssl_starttime6} ${deny_ssl_endtime6} ${testClentIP} ${s} ssl_sni mail.ru GetLogList security_event_log ${deny_ssl_starttime6} ${deny_ssl_endtime6} ${testClentIP} ${s} ssl_sni www.prlib.ru

View File

@@ -39,16 +39,16 @@ SecurityPolicy-Monitor-Http-00003
#删除策略 #删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${monitor_http_policyId2}]} ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${monitor_http_policyId2}]}
${s} Convert to String ${monitor_http_policyId2} ${s} Convert to String ${monitor_http_policyId2}
GetLogList security_event_log ${monitor_http_starttime2} ${monitor_http_endtime2} ${testClentIP} ${s} http_host taihe.com GetLogList security_event_log ${monitor_http_starttime2} ${monitor_http_endtime2} ${testClentIP} ${s} http_host hkbchina.com
GetLogList security_event_log ${monitor_http_starttime3} ${monitor_http_endtime3} ${testClentIP} ${s} http_host baby.ru GetLogList security_event_log ${monitor_http_starttime3} ${monitor_http_endtime3} ${testClentIP} ${s} http_host baby.ru
GetLogList security_event_log ${monitor_http_starttime4} ${monitor_http_endtime4} ${testClentIP} ${s} http_host www.quotegarden.com GetLogList security_event_log ${monitor_http_starttime4} ${monitor_http_endtime4} ${testClentIP} ${s} http_host www.universalmusic.ru
GetLogList security_event_log ${monitor_http_starttime5} ${monitor_http_endtime5} ${testClentIP} ${s} http_host crosswordheaven.com GetLogList security_event_log ${monitor_http_starttime5} ${monitor_http_endtime5} ${testClentIP} ${s} http_host crosswordheaven.com
SecurityPolicy-Monitor-Http-00004 SecurityPolicy-Monitor-Http-00004
[Tags] 请求头 [Tags] 请求头
#删除对象 #删除对象
${objectids} set Variable ${monitor_http_objectId3} ${objectids} set Variable ${monitor_http_objectId3}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_http_objectId4} ${objectids} Catenate SEPARATOR=, ${objectids} ${monitor_http_objectId4}
#删除策略 #删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${monitor_http_policyId3}]} ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${monitor_http_policyId3}]}
${s} Convert to String ${monitor_http_policyId3} ${s} Convert to String ${monitor_http_policyId3}
@@ -58,17 +58,17 @@ SecurityPolicy-Monitor-Http-00005
[Tags] 请求头 [Tags] 请求头
#删除对象 #删除对象
${objectids} set Variable ${monitor_http_objectId5} ${objectids} set Variable ${monitor_http_objectId5}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_http_objectId6} ${objectids} Catenate SEPARATOR=, ${objectids} ${monitor_http_objectId6}
#删除策略 #删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${monitor_http_policyId4}]} ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${monitor_http_policyId4}]}
${s} Convert to String ${monitor_http_policyId4} ${s} Convert to String ${monitor_http_policyId4}
GetLogList security_event_log ${monitor_http_starttime77} ${monitor_http_endtime7} ${testClentIP} ${s} http_host chinahr.com GetLogList security_event_log ${monitor_http_starttime7} ${monitor_http_endtime7} ${testClentIP} ${s} http_host chinahr.com
SecurityPolicy-Monitor-Http-00006 SecurityPolicy-Monitor-Http-00006
[Tags] 请求头 [Tags] 请求头
#删除对象 #删除对象
${objectids} set Variable ${monitor_http_objectId7} ${objectids} set Variable ${monitor_http_objectId7}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_http_objectId8} ${objectids} Catenate SEPARATOR=, ${objectids} ${monitor_http_objectId8}
#删除策略 #删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${monitor_http_policyId5}]} ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${monitor_http_policyId5}]}
${s} Convert to String ${monitor_http_policyId5} ${s} Convert to String ${monitor_http_policyId5}
@@ -78,7 +78,7 @@ SecurityPolicy-Monitor-Http-00007
[Tags] 请求头 [Tags] 请求头
#删除对象 #删除对象
${objectids} set Variable ${monitor_http_objectId9} ${objectids} set Variable ${monitor_http_objectId9}
${objectids} Catenate SEPARATOR=, ${objectids} ${deny_http_objectId10} ${objectids} Catenate SEPARATOR=, ${objectids} ${monitor_http_objectId10}
#删除策略 #删除策略
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${monitor_http_policyId6}]} ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${monitor_http_policyId6}]}
${s} Convert to String ${monitor_http_policyId6} ${s} Convert to String ${monitor_http_policyId6}

View File

@@ -1 +1 @@
curl http://kiss.ru/a-search | iconv -f utf-8 -t gbk curl http://nlr.ru/nlr_visit/RA549/novosti | iconv -f utf-8 -t gbk

View File

@@ -1 +1 @@
curl https://mail.ru/ | iconv -f utf-8 -t gbk curl https://www.prlib.ru | iconv -f utf-8 -t gbk

View File

@@ -1 +1 @@
curl http://music.taihe.com/songlist | iconv -f utf-8 -t gbk curl http://www.hkbchina.com/portal/zh_CN/home/index.html | iconv -f utf-8 -t gbk

View File

@@ -1 +1 @@
curl http://www.quotegarden.com/site-info.html | iconv -f utf-8 -t gbk curl http://www.universalmusic.ru/artists | iconv -f utf-8 -t gbk

View File

@@ -1 +1 @@
curl http://www.quotegarden.com/site-info.html | iconv -f utf-8 -t gbk curl http://crosswordheaven.com/search | iconv -f utf-8 -t gbk

View File

@@ -1 +1 @@
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/' \ curl http://www.chinahr.com/home/bj/ | iconv -f utf-8 -t gbk 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/' \ curl http://car.bitauto.com/weixingche/ | iconv -f utf-8 -t gbk