diff --git a/01-TestCase/tsg_adc/multi_step/a_Deny_Http_Tests.robot b/01-TestCase/tsg_adc/multi_step/a_Deny_Http_Tests.robot index 05ee89c..ba2c095 100644 --- a/01-TestCase/tsg_adc/multi_step/a_Deny_Http_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/a_Deny_Http_Tests.robot @@ -291,8 +291,10 @@ SecurityPolicy-Deny-Http-00017 SecurityPolicy-Deny-Http-00018 [Tags] 多ip对象 Comment 创建第二个源IP - ${objectDict} Create Dictionary objectType=ip isValid=${1} addItemList=CIDR|192.168.40.18|32|0/0 - ${rescode} ${objectId} AddObject2 ${1} ${objectDict} + ${addItemList1} Create Dictionary isSession=endpoint ip=192.168.50.18-192.168.50.18 port=0-0 direction=0 protocol=0 isInitialize=0 + ${addItemLists} Create list ${addItemList1} + ${objectDict} Create Dictionary objectType=ip isValid=${1} addItemList=${addItemLists} + ${rescode} ${objectId} AddObjects ${1} ${objectDict} Comment 创建fqdn ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$www.hebbank.com ${rescode} ${object_fqdn_Id} AddObject2 ${1} ${objectDict} diff --git a/01-TestCase/tsg_adc/multi_step/a_Deny_Tests.robot b/01-TestCase/tsg_adc/multi_step/a_Deny_Tests.robot index c4ab691..2369e13 100644 --- a/01-TestCase/tsg_adc/multi_step/a_Deny_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/a_Deny_Tests.robot @@ -77,10 +77,10 @@ Proxy-Policy-deny-00003 Proxy-Policy-deny-00004 [Tags] 请求头 Comment 创建fqdn - ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*nielsen.com + ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*usdebtclock.org ${rescode} ${objectId} AddObject2 ${1} ${objectDict} Comment 创建url - ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=insights + ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=state-of-california-debt-clock.html ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} Comment 创建请求头 ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=Mozilla/5.0*|User-Agent @@ -152,10 +152,10 @@ Proxy-Policy-deny-00006 Proxy-Policy-deny-00007 [Tags] 请求头 Comment 创建fqdn - ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$www.europages.com.ru + ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$peoplestalkradio.com ${rescode} ${objectId} AddObject2 ${1} ${objectDict} Comment 创建url - ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=ezhegodnik + ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=forums/register.php ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} Comment 创建请求头 ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=*Safari/537.36|User-Agent @@ -318,21 +318,25 @@ Proxy-Policy-deny-00012 Proxy-Policy-deny-00013 [Tags] set-cookie Comment 创建fqdn - ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$www.nypl.org,*webpronews.com,*ke.com,$nationalbank.kz + ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$www.nypl.org,*thailand.com.co,*ke.com,$nationalbank.kz ${rescode} ${objectId} AddObject2 ${1} ${objectDict} Comment 创建set-cookie - ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=incap_ses*|Set-Cookie,*Secure|Set-Cookie,domain=.ke.com|Set-Cookie,irkzadmin_session*|Set-Cookie + ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=incap_ses*|Set-Cookie,*Max-Age=604800|Set-Cookie,domain=.ke.com|Set-Cookie,irkzadmin_session*|Set-Cookie ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} + Comment 创建url + ${objectDict} Create Dictionary objectType=url isValid=${1} aaddItemList=www.nypl.org,thailand.com.co,ke.com,nationalbank.kz + ${rescode} ${objectId2} AddObject2 ${1} ${objectDict} Comment 创建拦截策略 ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-deny policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"SSL","keyring":1,"decryption":1,"decrypt_mirror":{"enable":0,"mirror_profile":null}} filterList=${objectId}|TSG_FIELD_SSL_SNI isValid=${1} appIdObjects=3 log ${policyDict} ${rescode} ${policyId1} AddPolicies 1 ${policyDict} v2 Comment 创建deny策略 - ${policyDict} Create Dictionary policyName=Proxy-Policy-deny-00013 policyType=pxy_manipulation policyDesc=autotest action=deny userRegion={"method":"block","message":"一直相信","code":403,"protocol":"HTTP"} filterList=${objectId1}|TSG_FIELD_HTTP_RES_HDR isValid=${1} appIdObjects=2 + ${policyDict} Create Dictionary policyName=Proxy-Policy-deny-00013 policyType=pxy_manipulation policyDesc=autotest action=deny userRegion={"method":"block","message":"一直相信","code":403,"protocol":"HTTP"} filterList=${objectId1}|TSG_FIELD_HTTP_RES_HDR,${objectId2}|TSG_FIELD_HTTP_URL isValid=${1} appIdObjects=2 log ${policyDict} ${rescode} ${policyId2} AddPolicies 1 ${policyDict} v2 insert_policyId_to_file1 deny_objectId31 ${objectId} insert_policyId_to_file1 deny_objectId32 ${objectId1} + insert_policyId_to_file1 deny_objectId46 ${objectId2} insert_policyId_to_file1 intercept_deny_policyId12 ${policyId1} insert_policyId_to_file1 deny_policyId12 ${policyId2} @@ -412,7 +416,7 @@ Proxy-Policy-deny-00017 ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=Domain=.umusicpub.com|Set-Cookie ${rescode} ${object_yd_Id} AddObject2 ${1} ${objectDict} Comment 创建应答体 - ${objectDict} Create Dictionary objectType=keywords isValid=${1} addItemList=unsuccessful + ${objectDict} Create Dictionary objectType=keywords isValid=${1} addItemList=website ${rescode} ${object_body_Id} AddObject2 ${1} ${objectDict} Comment 创建拦截策略 ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-deny policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"SSL","keyring":1,"decryption":1,"decrypt_mirror":{"enable":0,"mirror_profile":null}} filterList=${object_fqdn_Id}|TSG_FIELD_SSL_SNI isValid=${1} appIdObjects=3 @@ -434,24 +438,22 @@ Proxy-Policy-deny-00018 [Tags] Sub Objects Comment 创建url ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=$newsela.com - ${rescode} ${objectId} AddObjects ${1} ${objectDict1} + ${rescode} ${objectId} AddObject2 ${1} ${objectDict} ${addItemList} Create List ${objectId} ${objectDict1} Create Dictionary objectType=url isValid=${1} subObjectIds=${addItemList} - ${rescode} ${objectIds} AddObjects ${1} ${objectDict1} - ${params} Create Dictionary objectId=${objectIds} itemType=url - ${rescode} ${itemIds} ${itemList} GetObjectItems ${params} + ${rescode} ${objectId1} AddObjects ${1} ${objectDict1} + log ${objectId1} Comment #创建引用文件 ${response} CreatePolicyFile2 ${url} ${responsePageFiles} 404china.html resPages ${profiledId} Get From Dictionary ${response} profileId - Comment Comment 创建拦截策略 - ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-deny policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"SSL","keyring":1,"decryption":1,"decrypt_mirror":{"enable":0,"mirror_profile":null}} filterList=${objectId}|TSG_FIELD_SSL_SNI isValid=${1} appIdObjects=3 - log ${policyDict} - ${rescode} ${policyId1} AddPolicies 1 ${policyDict} v2 + #Comment Comment 创建拦截策略 + #${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-deny policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"SSL","keyring":1,"decryption":1,"decrypt_mirror":{"enable":0,"mirror_profile":null}} filterList=${objectId}|TSG_FIELD_SSL_SNI isValid=${1} appIdObjects=3 + #log ${policyDict} + #${rescode} ${policyId1} AddPolicies 1 ${policyDict} v2 Comment 创建deny策略 ${policyDict} Create Dictionary policyName=Proxy-Policy-deny-00003 policyType=pxy_manipulation policyDesc=autotest action=deny userRegion={"method":"block","html_profile":${profiledId},"code":404,"protocol":"HTTP"} filterList=${objectId1}|TSG_FIELD_HTTP_URL isValid=${1} appIdObjects=2 log ${policyDict} ${rescode} ${policyId2} AddPolicies 1 ${policyDict} v2 insert_policyId_to_file1 deny_profileId1 ${profiledId} insert_policyId_to_file1 deny_objectId2 ${objectId} - insert_policyId_to_file1 intercept_deny_policyId2 ${policyId1} insert_policyId_to_file1 deny_policyId2 ${policyId2} diff --git a/01-TestCase/tsg_adc/multi_step/a_Dnat_Tests.robot b/01-TestCase/tsg_adc/multi_step/a_Dnat_Tests.robot new file mode 100644 index 0000000..8999dc8 --- /dev/null +++ b/01-TestCase/tsg_adc/multi_step/a_Dnat_Tests.robot @@ -0,0 +1,26 @@ +*** Settings *** +Force Tags tsg_adc_wp adc_api wan_nat +Library OperatingSystem +Resource ../../../02-Keyword/tsg_adc/SystemCommand.robot +Resource ../../../02-Keyword/tsg_bfapi/PolicyObject.robot +Resource ../../../02-Keyword/tsg_bfapi/LogVariable.robot +Resource ../../../02-Keyword/tsg_adc/FileOperation.robot +Resource ../../../02-Keyword/tsg_adc/FileOperation.robot +Resource ../../../02-Keyword/tsg_bfapi/policy_object/Policy.robot + +*** Test Cases *** +wan_nat-dnat-00001 + Comment 创建IP + ${addItemList1} Create Dictionary isSession=endpoint ip=99.99.99.99-99.99.99.99 port=0-0 direction=0 protocol=0 isInitialize=0 + ${addItemLists} Create list ${addItemList1} + ${objectDict} Create Dictionary objectType=ip isValid=${1} addItemList=${addItemLists} + ${rescode} ${objectId} AddObjects ${1} ${objectDict} + ${objectIds} Set Variable ${objectId} + Comment #添加vpn + ${wan_vpn_dict} Create Dictionary username=jwc-vpn password=jwc-vpn iconColor=#dddddd + ${wan_vpn_list} Create List ${wan_vpn_dict} + ${a} AddWanVpn ${wan_vpn_list} + Comment 创建dnat策略 + ${policyDict} Create Dictionary policyName=wan_nat_dnat-00001 policyType=wannat policyDesc=autotest action=wannat userRegion={"method":"dnat","dnat_vpn_user_account":"jwc-vpn","dnat_destination_port":80,"dnat_when_vpn_offline":"drop"} isValid=${1} source=${objectId}|TSG_SECURITY_SOURCE_ADDR + log ${policyDict} + ${rescode} ${policyId2} AddPolicies 1 ${policyDict} v2 diff --git a/01-TestCase/tsg_adc/multi_step/a_Hijack_Tests.robot b/01-TestCase/tsg_adc/multi_step/a_Hijack_Tests.robot index 24ef57e..13076c0 100644 --- a/01-TestCase/tsg_adc/multi_step/a_Hijack_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/a_Hijack_Tests.robot @@ -14,10 +14,10 @@ ${url} /v1/policy/profile/hijackfiles Proxy-Policy-hijack-00001 [Tags] fqdn Comment 创建fqdn - ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$www.flyertalk.com + ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$vator.tv ${rescode} ${objectId} AddObject2 ${1} ${objectDict} Comment 创建url - ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=sponsored + ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=or.tv/news ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} Comment 创建hijack文件 ${response} CreatePolicyFile2 ${url} ${path}/hijack_files/ Create-Hijack Files-test.apk hijack {"isValid":1,"contentType":"application/vnd.android.package-archive","opAction":"add","profileName":"test1","contentName":"Create-Hijack Files-test.apk","profileId":null,"returnData":1} @@ -234,13 +234,13 @@ Proxy-Policy-hijack-00008 Proxy-Policy-hijack-00009 [Tags] 应答头 Comment 创建fqdn - ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*sacred-destinations.com + ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*hexun.com ${rescode} ${objectId} AddObject2 ${1} ${objectDict} Comment 创建url - ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=italy/assisi + ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=default.htm ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} Comment 创建请求头 - ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=$text/html; charset=UTF-8|Content-Type + ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=$text/html|Content-Type ${rescode} ${objectId2} AddObject2 ${1} ${objectDict} Comment 创建hijack文件 ${response} CreatePolicyFile2 ${url} ${path}/hijack_files/ Create-Hijack Files-test-3.html hijack @@ -321,10 +321,10 @@ Proxy-Policy-hijack-00011 Proxy-Policy-hijack-00012 [Tags] cookie Comment 创建fqdn - ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$vagabondish.com + ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$www.reval.com ${rescode} ${objectId} AddObject2 ${1} ${objectDict} Comment 创建url - ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=vagabondish.com + ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=corporates/ ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} Comment 创建cookie ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=saltkey|Cookie @@ -350,13 +350,13 @@ Proxy-Policy-hijack-00012 Proxy-Policy-hijack-00013 [Tags] set-cookie Comment 创建fqdn - ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$nsscreencast.com,*edreams.net,*boutiquehotel.me,$www.everymantravel.com + ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$nsscreencast.com,*edreams.net,*boutiquehotel.me,$www.united.com ${rescode} ${objectId} AddObject2 ${1} ${objectDict} Comment 创建set-cookie - ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=_nsscreencast_session_*|Set-Cookie,*Domain=.everymantravel.com;Path=/|Set-Cookie,Domain=.boutiquehotel.me|Set-Cookie,HOME1JSESSIONID*|Set-Cookie + ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=_nsscreencast_session_*|Set-Cookie,*Secure; SameSite=None|Set-Cookie,Domain=.boutiquehotel.me|Set-Cookie,HOME1JSESSIONID*|Set-Cookie ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} Comment 创建url - ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=nsscreencast,edreams,boutiquehotel,everymantravel + ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=nsscreencast,edreams,boutiquehotel,www.united.com ${rescode} ${objectId2} AddObject2 ${1} ${objectDict} Comment 创建hijack文件 ${response} CreatePolicyFile2 ${url} ${path}/hijack_files/ Create-Hijack Files-test-4.jpeg hijack {"isValid":1,"contentType":"image/jpeg","opAction":"add","profileName":"test5","contentName":"Create-Hijack Files-test-4.jpeg","profileId":null,"returnData":1} @@ -379,10 +379,10 @@ Proxy-Policy-hijack-00013 Proxy-Policy-hijack-00014 [Tags] 最大组合1 Comment 创建fqdn - ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*visitphilly.com + ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$www.travelzoo.com ${rescode} ${object_fqdn_Id} AddObject2 ${1} ${objectDict} Comment 创建url - ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=*covid-19-resources-for-greater-philadelphia/ + ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=*collections/hotels/ihg-group-meta/ ${rescode} ${object_url_Id} AddObject2 ${1} ${objectDict} Comment 创建请求头 ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=Mozilla/5.0*|User-Agent @@ -394,7 +394,7 @@ Proxy-Policy-hijack-00014 ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=__stripe_sid|Cookie ${rescode} ${object_ck_Id} AddObject2 ${1} ${objectDict} Comment 创建set-cookie - ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=domain=.www.visitphilly.com|Set-Cookie + ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=domain=travelzoo.com|Set-Cookie ${rescode} ${object_sk_Id} AddObject2 ${1} ${objectDict} Comment 创建hijack文件 ${response} CreatePolicyFile2 ${url} ${path}/hijack_files/ Create-Hijack Files-test-2.gif hijack {"isValid":1,"contentType":"image/gif","opAction":"add","profileName":"test6","contentName":"Create-Hijack Files-test-2.gif","profileId":null,"returnData":1} diff --git a/01-TestCase/tsg_adc/multi_step/a_Monitor_Tests.robot b/01-TestCase/tsg_adc/multi_step/a_Monitor_Tests.robot index e332d89..f60063b 100644 --- a/01-TestCase/tsg_adc/multi_step/a_Monitor_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/a_Monitor_Tests.robot @@ -32,9 +32,6 @@ Proxy-Policy-monitor-00002 Comment 创建fqdn ${objectDict} Create Dictionary objectType=fqdn_category isValid=${1} addItemList=*villaday.com ${rescode} ${objectId} AddObject2 ${1} ${objectDict} - Comment #创建引用文件 - ${response} CreatePolicyFile2 ${url} ${responsePageFiles} 404english.html resPages - ${profiledId} Get From Dictionary ${response} profileId Comment Comment 创建拦截策略 ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-monitor policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"SSL","keyring":1,"decryption":1,"decrypt_mirror":{"enable":0,"mirror_profile":null}} filterList=${objectId}|TSG_FIELD_SSL_SNI isValid=${1} appIdObjects=3 log ${policyDict} @@ -43,7 +40,6 @@ Proxy-Policy-monitor-00002 ${policyDict} Create Dictionary policyName=Proxy-Policy-monitor-00002 policyType=pxy_manipulation policyDesc=autotest action=monitor userRegion={"method":"monitor","protocol":"HTTP"} filterList=${objectId}|TSG_FIELD_HTTP_HOST isValid=${1} appIdObjects=2 log ${policyDict} ${rescode} ${policyId2} AddPolicies 1 ${policyDict} v2 - insert_policyId_to_file1 monitor_profileId ${profiledId} insert_policyId_to_file1 monitor_objectId1 ${objectId} insert_policyId_to_file1 intercept_monitor_policyId1 ${policyId1} insert_policyId_to_file1 monitor_policyId1 ${policyId2} @@ -56,9 +52,6 @@ Proxy-Policy-monitor-00003 Comment 创建url ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=www.wmtransfer*,$www.banbaowang.com/shouchaobao/,*qidian.com/rank,country=RU ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} - Comment #创建引用文件 - ${response} CreatePolicyFile2 ${url} ${responsePageFiles} 404china.html resPages - ${profiledId} Get From Dictionary ${response} profileId Comment Comment 创建拦截策略 ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-monitor policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"SSL","keyring":1,"decryption":1,"decrypt_mirror":{"enable":0,"mirror_profile":null}} filterList=${objectId}|TSG_FIELD_SSL_SNI isValid=${1} appIdObjects=3 log ${policyDict} @@ -67,7 +60,6 @@ Proxy-Policy-monitor-00003 ${policyDict} Create Dictionary policyName=Proxy-Policy-monitor-00003 policyType=pxy_manipulation policyDesc=autotest action=monitor userRegion={"method":"monitor","protocol":"HTTP"} filterList=${objectId1}|TSG_FIELD_HTTP_URL isValid=${1} appIdObjects=2 log ${policyDict} ${rescode} ${policyId2} AddPolicies 1 ${policyDict} v2 - insert_policyId_to_file1 monitor_profileId1 ${profiledId} insert_policyId_to_file1 monitor_objectId2 ${objectId} insert_policyId_to_file1 monitor_objectId3 ${objectId1} insert_policyId_to_file1 intercept_monitor_policyId2 ${policyId1} @@ -76,10 +68,10 @@ Proxy-Policy-monitor-00003 Proxy-Policy-monitor-00004 [Tags] 请求头 Comment 创建fqdn - ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*nielsen.com + ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*usdebtclock.org ${rescode} ${objectId} AddObject2 ${1} ${objectDict} Comment 创建url - ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=insights + ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=state-of-california-debt-clock.html ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} Comment 创建请求头 ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=Mozilla/5.0*|User-Agent @@ -151,10 +143,10 @@ Proxy-Policy-monitor-00006 Proxy-Policy-monitor-00007 [Tags] 请求头 Comment 创建fqdn - ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$www.europages.com.ru + ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$peoplestalkradio.com ${rescode} ${objectId} AddObject2 ${1} ${objectDict} Comment 创建url - ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=ezhegodnik + ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=forums/register.php ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} Comment 创建请求头 ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=*Safari/537.36|User-Agent @@ -184,9 +176,6 @@ Proxy-Policy-monitor-00008 Comment 创建请求头 ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=*utf-8|Content-Type ${rescode} ${objectId2} AddObject2 ${1} ${objectDict} - Comment #创建引用文件 - ${response} CreatePolicyFile2 ${url} ${responsePageFiles} 404china.html resPages - ${profiledId} Get From Dictionary ${response} profileId Comment Comment 创建拦截策略 ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-monitor policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"HTTP"} filterList=${objectId}|TSG_FIELD_HTTP_HOST isValid=${1} appIdObjects=2 log ${policyDict} @@ -195,7 +184,6 @@ Proxy-Policy-monitor-00008 ${policyDict} Create Dictionary policyName=Proxy-Policy-monitor-00008 policyType=pxy_manipulation policyDesc=autotest action=monitor userRegion={"method":"monitor","protocol":"HTTP"} filterList=${objectId1}|TSG_FIELD_HTTP_URL,${objectId2}|TSG_FIELD_HTTP_RES_HDR isValid=${1} appIdObjects=2 log ${policyDict} ${rescode} ${policyId2} AddPolicies 1 ${policyDict} v2 - insert_policyId_to_file1 monitor_profileId2 ${profiledId} insert_policyId_to_file1 monitor_objectId16 ${objectId} insert_policyId_to_file1 monitor_objectId17 ${objectId1} insert_policyId_to_file1 monitor_objectId18 ${objectId2} @@ -213,9 +201,6 @@ Proxy-Policy-monitor-00009 Comment 创建请求头 ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=$text/html; charset=utf-8|Content-Type ${rescode} ${objectId2} AddObject2 ${1} ${objectDict} - Comment #创建引用文件 - ${response} CreatePolicyFile2 ${url} ${responsePageFiles} 404china.html resPages - ${profiledId} Get From Dictionary ${response} profileId Comment Comment 创建拦截策略 ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-monitor policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"HTTP"} filterList=${objectId}|TSG_FIELD_HTTP_HOST isValid=${1} appIdObjects=2 log ${policyDict} @@ -224,7 +209,6 @@ Proxy-Policy-monitor-00009 ${policyDict} Create Dictionary policyName=Proxy-Policy-monitor-00009 policyType=pxy_manipulation policyDesc=autotest action=monitor userRegion={"method":"monitor","protocol":"HTTP"} filterList=${objectId1}|TSG_FIELD_HTTP_URL,${objectId2}|TSG_FIELD_HTTP_RES_HDR isValid=${1} appIdObjects=2 log ${policyDict} ${rescode} ${policyId2} AddPolicies 1 ${policyDict} v2 - insert_policyId_to_file1 monitor_profileId3 ${profiledId} insert_policyId_to_file1 monitor_objectId19 ${objectId} insert_policyId_to_file1 monitor_objectId20 ${objectId1} insert_policyId_to_file1 monitor_objectId21 ${objectId2} @@ -242,9 +226,6 @@ Proxy-Policy-monitor-00010 Comment 创建请求头 ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=text/html|Content-Type ${rescode} ${objectId2} AddObject2 ${1} ${objectDict} - Comment #创建引用文件 - ${response} CreatePolicyFile2 ${url} ${responsePageFiles} 404english.html resPages - ${profiledId} Get From Dictionary ${response} profileId Comment Comment 创建拦截策略 ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-monitor policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"HTTP"} filterList=${objectId}|TSG_FIELD_HTTP_HOST isValid=${1} appIdObjects=2 log ${policyDict} @@ -253,7 +234,6 @@ Proxy-Policy-monitor-00010 ${policyDict} Create Dictionary policyName=Proxy-Policy-monitor-00010 policyType=pxy_manipulation policyDesc=autotest action=monitor userRegion={"method":"monitor","protocol":"HTTP"} filterList=${objectId1}|TSG_FIELD_HTTP_URL,${objectId2}|TSG_FIELD_HTTP_RES_HDR isValid=${1} appIdObjects=2 log ${policyDict} ${rescode} ${policyId2} AddPolicies 1 ${policyDict} v2 - insert_policyId_to_file1 monitor_profileId4 ${profiledId} insert_policyId_to_file1 monitor_objectId22 ${objectId} insert_policyId_to_file1 monitor_objectId23 ${objectId1} insert_policyId_to_file1 monitor_objectId24 ${objectId2} @@ -271,9 +251,6 @@ Proxy-Policy-monitor-00011 Comment 创建请求头 ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=text*|Content-Type ${rescode} ${objectId2} AddObject2 ${1} ${objectDict} - Comment #创建引用文件 - ${response} CreatePolicyFile2 ${url} ${responsePageFiles} 404english.html resPages - ${profiledId} Get From Dictionary ${response} profileId Comment Comment 创建拦截策略 ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-monitor policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"HTTP"} filterList=${objectId}|TSG_FIELD_HTTP_HOST isValid=${1} appIdObjects=2 log ${policyDict} @@ -282,7 +259,6 @@ Proxy-Policy-monitor-00011 ${policyDict} Create Dictionary policyName=Proxy-Policy-monitor-00011 policyType=pxy_manipulation policyDesc=autotest action=monitor userRegion={"method":"monitor","protocol":"HTTP"} filterList=${objectId1}|TSG_FIELD_HTTP_URL,${objectId2}|TSG_FIELD_HTTP_RES_HDR isValid=${1} appIdObjects=2 log ${policyDict} ${rescode} ${policyId2} AddPolicies 1 ${policyDict} v2 - insert_policyId_to_file1 monitor_profileId5 ${profiledId} insert_policyId_to_file1 monitor_objectId25 ${objectId} insert_policyId_to_file1 monitor_objectId26 ${objectId1} insert_policyId_to_file1 monitor_objectId27 ${objectId2} @@ -317,10 +293,10 @@ Proxy-Policy-monitor-00012 Proxy-Policy-monitor-00013 [Tags] set-cookie Comment 创建fqdn - ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$www.nypl.org,*webpronews.com,*ke.com,$nationalbank.kz + ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$www.nypl.org,*thailand.com.co,*ke.com,$nationalbank.kz ${rescode} ${objectId} AddObject2 ${1} ${objectDict} Comment 创建set-cookie - ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=incap_ses*|Set-Cookie,*Secure|Set-Cookie,domain=.ke.com|Set-Cookie,irkzadmin_session*|Set-Cookie + ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=incap_ses*|Set-Cookie,*Max-Age=604800|Set-Cookie,domain=.ke.com|Set-Cookie,irkzadmin_session*|Set-Cookie ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} Comment 创建拦截策略 ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-monitor policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"SSL","keyring":1,"decryption":1,"decrypt_mirror":{"enable":0,"mirror_profile":null}} filterList=${objectId}|TSG_FIELD_SSL_SNI isValid=${1} appIdObjects=3 @@ -411,7 +387,7 @@ Proxy-Policy-monitor-00017 ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=Domain=.umusicpub.com|Set-Cookie ${rescode} ${object_yd_Id} AddObject2 ${1} ${objectDict} Comment 创建应答体 - ${objectDict} Create Dictionary objectType=keywords isValid=${1} addItemList=unsuccessful + ${objectDict} Create Dictionary objectType=keywords isValid=${1} addItemList=website ${rescode} ${object_body_Id} AddObject2 ${1} ${objectDict} Comment 创建拦截策略 ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-monitor policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"SSL","keyring":1,"decryption":1,"decrypt_mirror":{"enable":0,"mirror_profile":null}} filterList=${object_fqdn_Id}|TSG_FIELD_SSL_SNI isValid=${1} appIdObjects=3 diff --git a/01-TestCase/tsg_adc/multi_step/a_Redirect_Tests.robot b/01-TestCase/tsg_adc/multi_step/a_Redirect_Tests.robot index 1fd7556..c7d8813 100644 --- a/01-TestCase/tsg_adc/multi_step/a_Redirect_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/a_Redirect_Tests.robot @@ -224,10 +224,10 @@ Proxy-Policy-redirect-00009 Proxy-Policy-redirect-00010 [Tags] 应答头 Comment 创建fqdn - ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*hazq.com + ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*dyhjw.com ${rescode} ${objectId} AddObject2 ${1} ${objectDict} Comment 创建url - ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=main/aboutus/index.shtml + ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=quotes/choicelists ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} Comment 创建请求头 ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=text/html|Content-Type diff --git a/01-TestCase/tsg_adc/multi_step/a_Replace_Tests.robot b/01-TestCase/tsg_adc/multi_step/a_Replace_Tests.robot index af4ef3f..ee145b7 100644 --- a/01-TestCase/tsg_adc/multi_step/a_Replace_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/a_Replace_Tests.robot @@ -21,7 +21,7 @@ Proxy-Policy-replace-00001 log ${policyDict} ${rescode} ${policyId1} AddPolicies 1 ${policyDict} v2 Comment 创建replace策略 - ${policyDict} Create Dictionary policyName=Proxy-Policy-replace-00001 policyType=pxy_manipulation policyDesc=autotest action=manipulation userRegion={"method":"replace","rules":[{"search_in":"http_resp_body","find":"History","replace_with":"明天你好"}],"protocol":"HTTP"} filterList=${objectId}|TSG_FIELD_HTTP_HOST,${objectId1}|TSG_FIELD_HTTP_URL isValid=${1} appIdObjects=2 + ${policyDict} Create Dictionary policyName=Proxy-Policy-replace-00001 policyType=pxy_manipulation policyDesc=autotest action=manipulation userRegion={"method":"replace","rules":[{"search_in":"http_resp_body","find":"Artificial","replace_with":"明天你好"}],"protocol":"HTTP"} filterList=${objectId}|TSG_FIELD_HTTP_HOST,${objectId1}|TSG_FIELD_HTTP_URL isValid=${1} appIdObjects=2 log ${policyDict} ${rescode} ${policyId2} AddPolicies 1 ${policyDict} v2 insert_policyId_to_file1 replace_objectId ${objectId} @@ -53,10 +53,10 @@ Proxy-Policy-replace-00002 Proxy-Policy-replace-00003 [Tags] url Comment 创建fqdn - ${objectDict} Create Dictionary objectType=fqdn_category isValid=${1} addItemList=*smartertravel.com,*chinese.hostelworld.com,*hotelplanner.com,*nycgo.com + ${objectDict} Create Dictionary objectType=fqdn_category isValid=${1} addItemList=*smartertravel.com,*chinese.hostelworld.com,*truelinkfinancial.com,*nycgo.com ${rescode} ${objectId} AddObject2 ${1} ${objectDict} Comment 创建url - ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=www.smartertravel.com/privacy*,$www.chinese.hostelworld.com/minsu,*Group-Rate/,press-and-media/ + ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=www.smartertravel.com/privacy*,$www.chinese.hostelworld.com/minsu,*guardian-fiduciary/,press-and-media/ ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} Comment Comment 创建拦截策略 ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-replace policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"SSL","keyring":1,"decryption":1,"decrypt_mirror":{"enable":0,"mirror_profile":null}} filterList=${objectId}|TSG_FIELD_SSL_SNI isValid=${1} appIdObjects=3 @@ -74,10 +74,10 @@ Proxy-Policy-replace-00003 Proxy-Policy-replace-00004 [Tags] 请求头 Comment 创建fqdn - ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*kualoa.com + ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*ino.com ${rescode} ${objectId} AddObject2 ${1} ${objectDict} Comment 创建url - ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=kualoa-life/ + ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=headlines/ ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} Comment 创建请求头 ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=Mozilla/5.0*|User-Agent @@ -124,10 +124,10 @@ Proxy-Policy-replace-00005 Proxy-Policy-replace-00006 [Tags] 请求头 Comment 创建fqdn - ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$www.wollmanskatingrink.com + ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$www.quickenloans.com ${rescode} ${objectId} AddObject2 ${1} ${objectDict} Comment 创建url - ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=tingrink.com/hours + ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=mortgage-education/home-buyers-guide?qlsource=nav ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} Comment 创建请求头 ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=AppleWebKit|User-Agent @@ -149,10 +149,10 @@ Proxy-Policy-replace-00006 Proxy-Policy-replace-00007 [Tags] 请求头 Comment 创建fqdn - ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$packages.webjet.com.au + ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$www.gobank.com ${rescode} ${objectId} AddObject2 ${1} ${objectDict} Comment 创建url - ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=webjet.com.au/packages/ + ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=mobile-banking/mobile-app ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} Comment 创建请求头 ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=*Safari/537.36|User-Agent diff --git a/01-TestCase/tsg_adc/multi_step/b_Deny_Tests.robot b/01-TestCase/tsg_adc/multi_step/b_Deny_Tests.robot index f8f3f01..e236317 100644 --- a/01-TestCase/tsg_adc/multi_step/b_Deny_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/b_Deny_Tests.robot @@ -86,7 +86,7 @@ Proxy-Policy-deny-00004 [Tags] 请求头 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00004.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 'https://www.baidu.com/' https://www.nielsen.com/ru/ru/insights/ + ... 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 'https://www.baidu.com/' https://www.usdebtclock.org/state-debt-clocks/state-of-california-debt-clock.html ${stringlist} run keyword if '${systemType}'=='Windows' Create List qwertyuiop Tango Secure Gateway CA ... ELSE Create List qwertyuiop Tango Secure Gateway CA ${starttime} Get Time @@ -128,7 +128,7 @@ Proxy-Policy-deny-00007 [Tags] 请求头 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00007.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 'https://www.baidu.com/' https://www.europages.com.ru/ezhegodnik-predpriyatiya.html + ... 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 'https://www.baidu.com/' https://peoplestalkradio.com/forums/register.php ${stringlist} run keyword if '${systemType}'=='Windows' Create List 今天中奖 Tango Secure Gateway CA ... ELSE Create List 今天中奖 Tango Secure Gateway CA ${starttime} Get Time @@ -223,7 +223,7 @@ Proxy-Policy-deny-00013 insert_time_to_file1 deny_starttime15 ${starttime} deny_endtime15 ${endtime} Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00013_1.bat - ... ELSE set variable curl -kv \ https://www.webpronews.com/subscribe/ + ... ELSE set variable curl -kv https://www.thailand.com.co/category-207-b0.html ${stringlist} run keyword if '${systemType}'=='Windows' Create List 一直相信 Tango Secure Gateway CA ... ELSE Create List 一直相信 Tango Secure Gateway CA ${starttime} Get Time diff --git a/01-TestCase/tsg_adc/multi_step/b_Hijack_Tests.robot b/01-TestCase/tsg_adc/multi_step/b_Hijack_Tests.robot index 238eb33..87ad44c 100644 --- a/01-TestCase/tsg_adc/multi_step/b_Hijack_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/b_Hijack_Tests.robot @@ -11,7 +11,7 @@ Proxy-Policy-hijack-00001 [Tags] fqdn Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_hijack_00001.bat - ... ELSE set variable curl -kv \ https://www.flyertalk.com/sponsored/?prx_t=m-MFA4ydEAkfMQA + ... ELSE set variable curl -kv https://vator.tv/news ${stringlist} run keyword if '${systemType}'=='Windows' Create List 6b72:f91d:6f81:bfcd:5b0f:e81d:f827:e075 Tango Secure Gateway CA ... ELSE Create List 6b72:f91d:6f81:bfcd:5b0f:e81d:f827:e075 Tango Secure Gateway CA ${starttime} Get Time @@ -156,7 +156,7 @@ Proxy-Policy-hijack-00009 [Tags] 应答头 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_hijack_00009.bat - ... ELSE set variable curl http://www.sacred-destinations.com/italy/assisi + ... ELSE set variable curl -kv http://quote.hexun.com/default.htm#forex ${stringlist} run keyword if '${systemType}'=='Windows' Create List 控制小蛇在地图范围内移动 ... ELSE Create List 控制小蛇在地图范围内移动 ${starttime} Get Time @@ -198,7 +198,7 @@ Proxy-Policy-hijack-00012 [Tags] cookie Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_hijack_00012.bat - ... ELSE set variable curl -kv --cookie "lQfQ_2132_saltkey=t8WY1oPe; lQfQ_2132_lastvisit=1595381790; lQfQ_2132_sid=vqXOg6; lQfQ_2132_lastact=1595385400%09forum.php%09image" --referer 'https://www.baidu.com/' \ https://vagabondish.com/category/features/ + ... ELSE set variable curl -kv --cookie "lQfQ_2132_saltkey=t8WY1oPe; lQfQ_2132_lastvisit=1595381790; lQfQ_2132_sid=vqXOg6; lQfQ_2132_lastact=1595385400%09forum.php%09image" --referer 'https://www.baidu.com/' \ https://www.reval.com/corporates/ ${stringlist} run keyword if '${systemType}'=='Windows' Create List bFiles-test-5.png Tango Secure Gateway CA ... ELSE Create List bFiles-test-5.png Tango Secure Gateway CA ${starttime} Get Time @@ -245,7 +245,7 @@ Proxy-Policy-hijack-00013 insert_time_to_file1 hijack_starttime17 ${starttime} hijack_endtime17 ${endtime} Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_hijack_00013_3.bat - ... ELSE set variable curl -kv https://www.everymantravel.com/terms?qo=footerLinkss/ + ... ELSE set variable curl -kv https://www.united.com/zh-hans/cn ${stringlist} run keyword if '${systemType}'=='Windows' Create List test-4.jpeg Tango Secure Gateway CA ... ELSE Create List test-4.jpeg Tango Secure Gateway CA ${starttime} Get Time @@ -259,7 +259,7 @@ Proxy-Policy-hijack-00014 [Tags] 最大组合 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_hijack_00014.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" \ --cookie "__cfduid=d5c21129d57e7124b729fd86dc82abdcd1596020306; __stripe_sid=2940d4d5-6822-4daf-8b38-9cd18d745beb; __stripe_mid=dd118cd8-845c-4b6e-98ce-81e8d5bdd52c" --referer 'https://www.baidu.com/' \ https://www.visitphilly.com/covid-19-resources-for-greater-philadelphia/ + ... 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" \ --cookie "__cfduid=d5c21129d57e7124b729fd86dc82abdcd1596020306; __stripe_sid=2940d4d5-6822-4daf-8b38-9cd18d745beb; __stripe_mid=dd118cd8-845c-4b6e-98ce-81e8d5bdd52c" --referer 'https://www.baidu.com/' \ https://www.travelzoo.com/cn/collections/hotels/ihg-group-meta/ ${stringlist} run keyword if '${systemType}'=='Windows' Create List test-2.gif Tango Secure Gateway CA ... ELSE Create List test-2.gif Tango Secure Gateway CA ${starttime} Get Time diff --git a/01-TestCase/tsg_adc/multi_step/b_Insert_Tests.robot b/01-TestCase/tsg_adc/multi_step/b_Insert_Tests.robot index 7b35c1e..cc97344 100644 --- a/01-TestCase/tsg_adc/multi_step/b_Insert_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/b_Insert_Tests.robot @@ -12,8 +12,8 @@ Proxy-Policy-insert-00001 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00001.bat ... ELSE set variable curl -kv https://www.costcotravel.com/Vacation-Packages - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA + ... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -26,8 +26,8 @@ Proxy-Policy-insert-00002 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00002.bat ... ELSE set variable curl -kv https://secure.cruisingpower.com/public/registration/choose.do - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA + ... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -40,8 +40,8 @@ Proxy-Policy-insert-00003 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00003.bat ... ELSE set variable curl -kv https://uncorneredmarket.com/work-with-us/tourism-strategy/ - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA + ... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -51,8 +51,8 @@ Proxy-Policy-insert-00003 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00003_1.bat ... ELSE set variable curl -kv https://www.alltrails.com/signup?ref=header - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA + ... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -62,8 +62,8 @@ Proxy-Policy-insert-00003 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00003_2.bat ... ELSE set variable curl -kv https://www.atlasobscura.com/experiences - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA + ... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -73,8 +73,8 @@ Proxy-Policy-insert-00003 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00003_3.bat ... ELSE set variable curl -kv https://www.anguilla-beaches.com/anguilla-villas.html - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA + ... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -87,8 +87,8 @@ Proxy-Policy-insert-00004 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00004.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 'https://www.baidu.com/' https://www.viator.com/login?login_redirect=%2Faccount%2Fbookings - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA + ... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -101,8 +101,8 @@ Proxy-Policy-insert-00005 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_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 'https://www.baidu.com/' https://matadornetwork.com/destinations/north-america/united-states/ - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA + ... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -115,8 +115,8 @@ Proxy-Policy-insert-00006 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_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 'https://www.baidu.com/' https://www.farecompare.com/hotels/ - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA + ... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -129,8 +129,8 @@ Proxy-Policy-insert-00007 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00007.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 'https://www.baidu.com/' https://www.tripit.com/web - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA + ... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -143,8 +143,8 @@ Proxy-Policy-insert-00008 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00008.bat ... ELSE set variable curl http://www.waikikibeachwalk.com/Shops.htm - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe + ... ELSE Create List X-TG-Construct-By: tfe ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -157,8 +157,8 @@ Proxy-Policy-insert-00009 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00009.bat ... ELSE set variable curl http://www.world-guides.com/north-america/usa/nevada/las-vegas/ - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe + ... ELSE Create List X-TG-Construct-By: tfe ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -171,8 +171,8 @@ Proxy-Policy-insert-00010 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00010.bat ... ELSE set variable curl http://news.cnstock.com/kcb - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe + ... ELSE Create List X-TG-Construct-By: tfe ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -185,8 +185,8 @@ Proxy-Policy-insert-00011 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00011.bat ... ELSE set variable curl http://otc.newone.com.cn/cwyw - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe + ... ELSE Create List X-TG-Construct-By: tfe ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -199,8 +199,8 @@ Proxy-Policy-insert-00012 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00012.bat ... ELSE set variable curl -kv --cookie "lQfQ_2132_saltkey=t8WY1oPe; lQfQ_2132_lastvisit=1595381790; lQfQ_2132_sid=vqXOg6; lQfQ_2132_lastact=1595385400%09forum.php%09image" --referer 'https://www.baidu.com/' \ https://www.eastbay.com/category/womens.html - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA + ... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -213,8 +213,8 @@ Proxy-Policy-insert-00013 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00013.bat ... ELSE set variable curl -kv https://www.shermanstravel.com/interests/deals-now-travel-later-1 - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA + ... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -224,8 +224,8 @@ Proxy-Policy-insert-00013 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00013_1.bat ... ELSE set variable curl -kv https://www.wyndhamhotels.com/laquinta - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA + ... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -235,8 +235,8 @@ Proxy-Policy-insert-00013 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00013_2.bat ... ELSE set variable curl -kv https://us.travelnow.com/profile/findbookings.html - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA + ... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -246,8 +246,8 @@ Proxy-Policy-insert-00013 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00013_3.bat ... ELSE set variable curl -kv https://www.smithsonianjourneys.org/tours/tripfinder/ - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA + ... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -260,8 +260,8 @@ Proxy-Policy-insert-00014 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_insert_00017.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" \ --cookie "__cfduid=d5c21129d57e7124b729fd86dc82abdcd1596020306; __stripe_sid=2940d4d5-6822-4daf-8b38-9cd18d745beb; __stripe_mid=dd118cd8-845c-4b6e-98ce-81e8d5bdd52c" --referer 'https://www.baidu.com/' \ https://www.intervalworld.com/web/my/home - ${stringlist} run keyword if '${systemType}'=='Windows' Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA - ... ELSE Create List type="text/javascript" class="RQ_SCRIPT">alert("执行javascript!") Tango Secure Gateway CA + ${stringlist} run keyword if '${systemType}'=='Windows' Create List X-TG-Construct-By: tfe Tango Secure Gateway CA + ... ELSE Create List X-TG-Construct-By: tfe Tango Secure Gateway CA ${starttime} Get Time Sleep ${policyVerificationSleepSeconds}s ${rescode} SystemCommands ${commandstr} ${stringlist} diff --git a/01-TestCase/tsg_adc/multi_step/b_Monitor_Tests.robot b/01-TestCase/tsg_adc/multi_step/b_Monitor_Tests.robot index 1a1bbf7..dbdc48f 100644 --- a/01-TestCase/tsg_adc/multi_step/b_Monitor_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/b_Monitor_Tests.robot @@ -86,7 +86,7 @@ Proxy-Policy-monitor-00004 [Tags] 请求头 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00004.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 'https://www.baidu.com/' https://www.nielsen.com/ru/ru/insights/ + ... 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 'https://www.baidu.com/' https://www.usdebtclock.org/state-debt-clocks/state-of-california-debt-clock.html ${stringlist} run keyword if '${systemType}'=='Windows' Create List qwertyuiop Tango Secure Gateway CA ... ELSE Create List qwertyuiop Tango Secure Gateway CA ${starttime} Get Time @@ -128,7 +128,7 @@ Proxy-Policy-monitor-00007 [Tags] 请求头 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00007.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 'https://www.baidu.com/' https://www.europages.com.ru/ezhegodnik-predpriyatiya.html + ... 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 'https://www.baidu.com/' https://peoplestalkradio.com/forums/register.php ${stringlist} run keyword if '${systemType}'=='Windows' Create List 今天中奖 Tango Secure Gateway CA ... ELSE Create List 今天中奖 Tango Secure Gateway CA ${starttime} Get Time @@ -223,7 +223,7 @@ Proxy-Policy-monitor-00013 insert_time_to_file1 monitor_starttime15 ${starttime} monitor_endtime15 ${endtime} Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_Deny_00013_1.bat - ... ELSE set variable curl -kv \ https://www.webpronews.com/subscribe/ + ... ELSE set variable curl -kv https://www.thailand.com.co/category-207-b0.html ${stringlist} run keyword if '${systemType}'=='Windows' Create List 一直相信 Tango Secure Gateway CA ... ELSE Create List 一直相信 Tango Secure Gateway CA ${starttime} Get Time diff --git a/01-TestCase/tsg_adc/multi_step/b_Redirect_Tests.robot b/01-TestCase/tsg_adc/multi_step/b_Redirect_Tests.robot index caa18c5..7fe6930 100644 --- a/01-TestCase/tsg_adc/multi_step/b_Redirect_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/b_Redirect_Tests.robot @@ -170,7 +170,7 @@ Proxy-Policy-redirect-00010 [Tags] 应答头 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_redirect_00010.bat - ... ELSE set variable curl -kv http://www.hazq.com/main/aboutus/index.shtml + ... ELSE set variable curl -kv http://www.dyhjw.com/quotes/choicelists ${stringlist} run keyword if '${systemType}'=='Windows' Create List https://deseretbook.com/t/ebooks/biography-autobiography ... ELSE Create List https://deseretbook.com/t/ebooks/biography-autobiography ${starttime} Get Time diff --git a/01-TestCase/tsg_adc/multi_step/b_Replace_Tests.robot b/01-TestCase/tsg_adc/multi_step/b_Replace_Tests.robot index 2a2b798..c3a27e8 100644 --- a/01-TestCase/tsg_adc/multi_step/b_Replace_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/b_Replace_Tests.robot @@ -61,7 +61,7 @@ Proxy-Policy-replace-00003 insert_time_to_file1 replace_starttime3 ${starttime} replace_endtime3 ${endtime} Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_replace_00003_2.bat - ... ELSE set variable curl -kv https://www.hotelplanner.com/Group-Rate/ + ... ELSE set variable curl -kv https://www.truelinkfinancial.com/card/guardian-fiduciary/ ${stringlist} run keyword if '${systemType}'=='Windows' Create List text/json Tango Secure Gateway CA ... ELSE Create List text/json Tango Secure Gateway CA ${starttime} Get Time @@ -86,7 +86,7 @@ Proxy-Policy-replace-00004 [Tags] 请求头 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_replace_00004.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 'https://www.baidu.com/' https://www.kualoa.com/kualoa-life/ + ... 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 'https://www.baidu.com/' https://www.ino.com/news/headlines/ ${stringlist} run keyword if '${systemType}'=='Windows' Create List text/json Tango Secure Gateway CA ... ELSE Create List text/json Tango Secure Gateway CA ${starttime} Get Time @@ -114,7 +114,7 @@ Proxy-Policy-replace-00006 [Tags] 请求头 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_replace_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 'https://www.baidu.com/' https://www.wollmanskatingrink.com/hours + ... 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 'https://www.baidu.com/' https://www.quickenloans.com/mortgage-education/home-buyers-guide?qlsource=nav ${stringlist} run keyword if '${systemType}'=='Windows' Create List text/json Tango Secure Gateway CA ... ELSE Create List text/json Tango Secure Gateway CA ${starttime} Get Time @@ -128,7 +128,7 @@ Proxy-Policy-replace-00007 [Tags] 请求头 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_replace_00007.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 'https://www.baidu.com/' https://packages.webjet.com.au/packages/ + ... 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 'https://www.baidu.com/' https://www.gobank.com/mobile-banking/mobile-app ${stringlist} run keyword if '${systemType}'=='Windows' Create List text/json Tango Secure Gateway CA ... ELSE Create List text/json Tango Secure Gateway CA ${starttime} Get Time diff --git a/01-TestCase/tsg_adc/multi_step/c_Deny_Tests.robot b/01-TestCase/tsg_adc/multi_step/c_Deny_Tests.robot index 5f5ae56..2d48c48 100644 --- a/01-TestCase/tsg_adc/multi_step/c_Deny_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/c_Deny_Tests.robot @@ -68,7 +68,7 @@ Proxy-Policy-deny-00004 ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${deny_policyId3}]} ${policyIds} Create List ${policyId1} ${policyId2} ${s} Convert to String ${deny_policyId3} - GetLogList proxy_event_log ${deny_starttime6} ${deny_endtime6} ${testClentIP} ${s} http_host www.nielsen.com + GetLogList proxy_event_log ${deny_starttime6} ${deny_endtime6} ${testClentIP} ${s} http_host www.usdebtclock.org Proxy-Policy-deny-00005 [Tags] 请求头 @@ -107,7 +107,7 @@ Proxy-Policy-deny-00007 ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${deny_policyId6}]} ${policyIds} Create List ${policyId1} ${policyId2} ${s} Convert to String ${deny_policyId6} - GetLogList proxy_event_log ${deny_starttime9} ${deny_endtime9} ${testClentIP} ${s} http_host www.europages.com.ru + GetLogList proxy_event_log ${deny_starttime9} ${deny_endtime9} ${testClentIP} ${s} http_host peoplestalkradio.com Proxy-Policy-deny-00008 [Tags] 应答头 @@ -187,13 +187,14 @@ Proxy-Policy-deny-00013 #删除对象 ${objectids} set Variable ${deny_objectId31} ${objectids} Catenate SEPARATOR=, ${objectids} ${deny_objectId32} + ${objectids} Catenate SEPARATOR=, ${objectids} ${deny_objectId46} #删除策略 ${policyId1} set Variable {"policyType":"tsg_security","policyIds":[${intercept_deny_policyId12}]} ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${deny_policyId12}]} ${policyIds} Create List ${policyId1} ${policyId2} ${s} Convert to String ${deny_policyId12} GetLogList proxy_event_log ${deny_starttime15} ${deny_endtime15} ${testClentIP} ${s} http_host www.nypl.org - GetLogList proxy_event_log ${deny_starttime16} ${deny_endtime16} ${testClentIP} ${s} http_host www.webpronews.com + GetLogList proxy_event_log ${deny_starttime16} ${deny_endtime16} ${testClentIP} ${s} http_host www.thailand.com.co GetLogList proxy_event_log ${deny_starttime17} ${deny_endtime17} ${testClentIP} ${s} http_host bj.zu.ke.com GetLogList proxy_event_log ${deny_starttime18} ${deny_endtime18} ${testClentIP} ${s} http_host nationalbank.kz diff --git a/01-TestCase/tsg_adc/multi_step/c_Hijack_Tests.robot b/01-TestCase/tsg_adc/multi_step/c_Hijack_Tests.robot index 27ba8b7..00e3aad 100644 --- a/01-TestCase/tsg_adc/multi_step/c_Hijack_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/c_Hijack_Tests.robot @@ -28,7 +28,7 @@ Proxy-Policy-hijack-00001 ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${hijack_policyId}]} ${policyIds} Create List ${policyId1} ${policyId2} ${s} Convert to String ${hijack_policyId} - GetLogList proxy_event_log ${hijack_starttime} ${hijack_endtime} ${testClentIP} ${s} http_host www.flyertalk.com + GetLogList proxy_event_log ${hijack_starttime} ${hijack_endtime} ${testClentIP} ${s} http_host vator.tv Proxy-Policy-hijack-00002 [Tags] cat @@ -149,7 +149,7 @@ Proxy-Policy-hijack-00009 ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${hijack_policyId8}]} ${policyIds} Create List ${policyId1} ${policyId2} ${s} Convert to String ${hijack_policyId8} - GetLogList proxy_event_log ${hijack_starttime11} ${hijack_endtime11} ${testClentIP} ${s} http_host sacred-destinations.com + GetLogList proxy_event_log ${hijack_starttime11} ${hijack_endtime11} ${testClentIP} ${s} http_host quote.hexun.com Proxy-Policy-hijack-00010 [Tags] 应答头 @@ -194,7 +194,7 @@ Proxy-Policy-hijack-00012 ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${hijack_policyId11}]} ${policyIds} Create List ${policyId1} ${policyId2} ${s} Convert to String ${hijack_policyId11} - GetLogList proxy_event_log ${hijack_starttime14} ${hijack_endtime14} ${testClentIP} ${s} http_host vagabondish.com + GetLogList proxy_event_log ${hijack_starttime14} ${hijack_endtime14} ${testClentIP} ${s} http_host www.reval.com Proxy-Policy-hijack-00013 [Tags] set-cookie @@ -212,7 +212,7 @@ Proxy-Policy-hijack-00013 GetLogList proxy_event_log ${hijack_starttime15} ${hijack_endtime15} ${testClentIP} ${s} http_host nsscreencast.com GetLogList proxy_event_log ${hijack_starttime16} ${hijack_endtime16} ${testClentIP} ${s} http_host www.edreams.net GetLogList proxy_event_log ${hijack_starttime17} ${hijack_endtime17} ${testClentIP} ${s} http_host boutiquehotel.me - GetLogList proxy_event_log ${hijack_starttime18} ${hijack_endtime18} ${testClentIP} ${s} http_host www.everymantravel.com + GetLogList proxy_event_log ${hijack_starttime18} ${hijack_endtime18} ${testClentIP} ${s} http_host www.united.com Proxy-Policy-hijack-00014 [Tags] 最大组合 @@ -230,4 +230,4 @@ Proxy-Policy-hijack-00014 ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${hijack_policyId13}]} ${policyIds} Create List ${policyId1} ${policyId2} ${s} Convert to String ${hijack_policyId13} - GetLogList proxy_event_log ${hijack_starttime19} ${hijack_endtime19} ${testClentIP} ${s} http_host www.visitphilly.com + GetLogList proxy_event_log ${hijack_starttime19} ${hijack_endtime19} ${testClentIP} ${s} http_host www.travelzoo.com diff --git a/01-TestCase/tsg_adc/multi_step/c_Monitor_Tests.robot b/01-TestCase/tsg_adc/multi_step/c_Monitor_Tests.robot index a6406f6..18c6531 100644 --- a/01-TestCase/tsg_adc/multi_step/c_Monitor_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/c_Monitor_Tests.robot @@ -62,7 +62,7 @@ Proxy-Policy-monitor-00004 ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${monitor_policyId3}]} ${policyIds} Create List ${policyId1} ${policyId2} ${s} Convert to String ${monitor_policyId3} - GetLogList proxy_event_log ${monitor_starttime6} ${monitor_endtime6} ${testClentIP} ${s} http_host www.nielsen.com + GetLogList proxy_event_log ${monitor_starttime6} ${monitor_endtime6} ${testClentIP} ${s} http_host www.usdebtclock.org Proxy-Policy-monitor-00005 [Tags] 请求头 @@ -101,7 +101,7 @@ Proxy-Policy-monitor-00007 ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${monitor_policyId6}]} ${policyIds} Create List ${policyId1} ${policyId2} ${s} Convert to String ${monitor_policyId6} - GetLogList proxy_event_log ${monitor_starttime9} ${monitor_endtime9} ${testClentIP} ${s} http_host www.europages.com.ru + GetLogList proxy_event_log ${monitor_starttime9} ${monitor_endtime9} ${testClentIP} ${s} http_host peoplestalkradio.com Proxy-Policy-monitor-00008 [Tags] 应答头 @@ -179,7 +179,7 @@ Proxy-Policy-monitor-00013 ${policyIds} Create List ${policyId1} ${policyId2} ${s} Convert to String ${monitor_policyId12} GetLogList proxy_event_log ${monitor_starttime15} ${monitor_endtime15} ${testClentIP} ${s} http_host www.nypl.org - GetLogList proxy_event_log ${monitor_starttime16} ${monitor_endtime16} ${testClentIP} ${s} http_host www.webpronews.com + GetLogList proxy_event_log ${monitor_starttime16} ${monitor_endtime16} ${testClentIP} ${s} http_host www.thailand.com.co GetLogList proxy_event_log ${monitor_starttime17} ${monitor_endtime17} ${testClentIP} ${s} http_host bj.zu.ke.com GetLogList proxy_event_log ${monitor_starttime18} ${monitor_endtime18} ${testClentIP} ${s} http_host nationalbank.kz diff --git a/01-TestCase/tsg_adc/multi_step/c_Redirect_Tests.robot b/01-TestCase/tsg_adc/multi_step/c_Redirect_Tests.robot index 163b532..a46ebdc 100644 --- a/01-TestCase/tsg_adc/multi_step/c_Redirect_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/c_Redirect_Tests.robot @@ -142,7 +142,7 @@ Proxy-Policy-redirect-00010 ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${redirect_policyId9}]} ${policyIds} Create List ${policyId1} ${policyId2} ${s} Convert to String ${redirect_policyId9} - GetLogList proxy_event_log ${redirect_starttime12} ${redirect_endtime12} ${testClentIP} ${s} http_host www.hazq.com + GetLogList proxy_event_log ${redirect_starttime12} ${redirect_endtime12} ${testClentIP} ${s} http_host dyhjw.com Proxy-Policy-redirect-00011 [Tags] 应答头 @@ -181,10 +181,10 @@ Proxy-Policy-redirect-00013 ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${redirect_policyId12}]} ${policyIds} Create List ${policyId1} ${policyId2} ${s} Convert to String ${redirect_policyId12} - GetLogList proxy_event_log ${redirect_starttime15} ${redirect_endtime15} ${testClentIP} ${s} http_host www.nypl.org - GetLogList proxy_event_log ${redirect_starttime16} ${redirect_endtime16} ${testClentIP} ${s} http_host www.webpronews.com - GetLogList proxy_event_log ${redirect_starttime17} ${redirect_endtime17} ${testClentIP} ${s} http_host bj.zu.ke.com - GetLogList proxy_event_log ${redirect_starttime18} ${redirect_endtime18} ${testClentIP} ${s} http_host nationalbank.kz + GetLogList proxy_event_log ${redirect_starttime15} ${redirect_endtime15} ${testClentIP} ${s} http_host www.travelmath.com + GetLogList proxy_event_log ${redirect_starttime16} ${redirect_endtime16} ${testClentIP} ${s} http_host www.egencia.com + GetLogList proxy_event_log ${redirect_starttime17} ${redirect_endtime17} ${testClentIP} ${s} http_host expediapartnersolutions.com + GetLogList proxy_event_log ${redirect_starttime18} ${redirect_endtime18} ${testClentIP} ${s} http_host www.concur.com Proxy-Policy-redirect-00014 [Tags] 请求体 diff --git a/01-TestCase/tsg_adc/multi_step/c_Replace_Tests.robot b/01-TestCase/tsg_adc/multi_step/c_Replace_Tests.robot index 8d84a33..eeb178c 100644 --- a/01-TestCase/tsg_adc/multi_step/c_Replace_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/c_Replace_Tests.robot @@ -50,7 +50,7 @@ Proxy-Policy-replace-00003 ${s} Convert to String ${replace_policyId2} GetLogList proxy_event_log ${replace_starttime2} ${replace_endtime2} ${testClentIP} ${s} http_host www.smartertravel.com GetLogList proxy_event_log ${replace_starttime3} ${replace_endtime3} ${testClentIP} ${s} http_host www.chinese.hostelworld.com - GetLogList proxy_event_log ${replace_starttime4} ${replace_endtime4} ${testClentIP} ${s} http_host www.hotelplanner.com + GetLogList proxy_event_log ${replace_starttime4} ${replace_endtime4} ${testClentIP} ${s} http_host www.truelinkfinancial.com GetLogList proxy_event_log ${replace_starttime5} ${replace_endtime5} ${testClentIP} ${s} http_host business.nycgo.com Proxy-Policy-replace-00004 @@ -64,7 +64,7 @@ Proxy-Policy-replace-00004 ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${replace_policyId3}]} ${policyIds} Create List ${policyId1} ${policyId2} ${s} Convert to String ${replace_policyId3} - GetLogList proxy_event_log ${replace_starttime6} ${replace_endtime6} ${testClentIP} ${s} http_host www.kualoa.com + GetLogList proxy_event_log ${replace_starttime6} ${replace_endtime6} ${testClentIP} ${s} http_host www.ino.com Proxy-Policy-replace-00005 [Tags] 请求头 @@ -90,7 +90,7 @@ Proxy-Policy-replace-00006 ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${replace_policyId5}]} ${policyIds} Create List ${policyId1} ${policyId2} ${s} Convert to String ${replace_policyId5} - GetLogList proxy_event_log ${replace_starttime8} ${replace_endtime8} ${testClentIP} ${s} http_host www.wollmanskatingrink.com + GetLogList proxy_event_log ${replace_starttime8} ${replace_endtime8} ${testClentIP} ${s} http_host www.quickenloans.com Proxy-Policy-replace-00007 [Tags] 请求头 @@ -103,7 +103,7 @@ Proxy-Policy-replace-00007 ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${replace_policyId6}]} ${policyIds} Create List ${policyId1} ${policyId2} ${s} Convert to String ${replace_policyId6} - GetLogList proxy_event_log ${replace_starttime9} ${replace_endtime9} ${testClentIP} ${s} http_host packages.webjet.com.au + GetLogList proxy_event_log ${replace_starttime9} ${replace_endtime9} ${testClentIP} ${s} http_host www.gobank.com Proxy-Policy-replace-00008 [Tags] 应答头 diff --git a/05-Other/curl/command/ProxyPolicy_Deny_00004.bat b/05-Other/curl/command/ProxyPolicy_Deny_00004.bat index c765485..a89acb5 100644 --- a/05-Other/curl/command/ProxyPolicy_Deny_00004.bat +++ b/05-Other/curl/command/ProxyPolicy_Deny_00004.bat @@ -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 'https://www.baidu.com/' https://www.nielsen.com/ru/ru/insights/tent/ | iconv -f utf-8 -t gbk \ No newline at end of file +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 'https://www.baidu.com/' https://www.usdebtclock.org/state-debt-clocks/state-of-california-debt-clock.html | iconv -f utf-8 -t gbk \ No newline at end of file diff --git a/05-Other/curl/command/ProxyPolicy_Deny_00007.bat b/05-Other/curl/command/ProxyPolicy_Deny_00007.bat index b47ee04..0c8626c 100644 --- a/05-Other/curl/command/ProxyPolicy_Deny_00007.bat +++ b/05-Other/curl/command/ProxyPolicy_Deny_00007.bat @@ -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 'https://www.baidu.com/' https://www.europages.com.ru/ezhegodnik-predpriyatiya.html | iconv -f utf-8 -t gbk \ No newline at end of file +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 'https://www.baidu.com/' https://peoplestalkradio.com/forums/register.php | iconv -f utf-8 -t gbk \ No newline at end of file diff --git a/05-Other/curl/command/ProxyPolicy_Deny_00013_1.bat b/05-Other/curl/command/ProxyPolicy_Deny_00013_1.bat index e3e6ef8..2bd8fa6 100644 --- a/05-Other/curl/command/ProxyPolicy_Deny_00013_1.bat +++ b/05-Other/curl/command/ProxyPolicy_Deny_00013_1.bat @@ -1 +1 @@ -curl -kv https://www.webpronews.com/subscribe/ | iconv -f utf-8 -t gbk \ No newline at end of file +curl -kv https://www.thailand.com.co/category-207-b0.html | iconv -f utf-8 -t gbk \ No newline at end of file diff --git a/05-Other/curl/command/ProxyPolicy_hijack_00001.bat b/05-Other/curl/command/ProxyPolicy_hijack_00001.bat index f81abc8..e9731ab 100644 --- a/05-Other/curl/command/ProxyPolicy_hijack_00001.bat +++ b/05-Other/curl/command/ProxyPolicy_hijack_00001.bat @@ -1 +1 @@ -curl -kv https://www.flyertalk.com/sponsored/?prx_t=m-MFA4ydEAkfMQA | iconv -f utf-8 -t gbk \ No newline at end of file +curl -kv https://vator.tv/news | iconv -f utf-8 -t gbk \ No newline at end of file diff --git a/05-Other/curl/command/ProxyPolicy_hijack_00009.bat b/05-Other/curl/command/ProxyPolicy_hijack_00009.bat index 8d8e877..2899ad9 100644 --- a/05-Other/curl/command/ProxyPolicy_hijack_00009.bat +++ b/05-Other/curl/command/ProxyPolicy_hijack_00009.bat @@ -1 +1 @@ -curl http://www.sacred-destinations.com/italy/assisi | iconv -f utf-8 -t gbk \ No newline at end of file +curl -kv http://quote.hexun.com/default.htm#forex | iconv -f utf-8 -t gbk \ No newline at end of file diff --git a/05-Other/curl/command/ProxyPolicy_hijack_00012.bat b/05-Other/curl/command/ProxyPolicy_hijack_00012.bat index c944d34..3bfff1a 100644 --- a/05-Other/curl/command/ProxyPolicy_hijack_00012.bat +++ b/05-Other/curl/command/ProxyPolicy_hijack_00012.bat @@ -1 +1 @@ -curl -kv --cookie "lQfQ_2132_saltkey=t8WY1oPe; lQfQ_2132_lastvisit=1595381790; lQfQ_2132_sid=vqXOg6; lQfQ_2132_lastact=1595385400%09forum.php%09image" --referer 'https://www.baidu.com/' \ https://vagabondish.com/category/features/ | iconv -f utf-8 -t gbk \ No newline at end of file +curl -kv --cookie "lQfQ_2132_saltkey=t8WY1oPe; lQfQ_2132_lastvisit=1595381790; lQfQ_2132_sid=vqXOg6; lQfQ_2132_lastact=1595385400%09forum.php%09image" --referer 'https://www.baidu.com/' \ https://www.reval.com/corporates/ | iconv -f utf-8 -t gbk \ No newline at end of file diff --git a/05-Other/curl/command/ProxyPolicy_hijack_00013_3.bat b/05-Other/curl/command/ProxyPolicy_hijack_00013_3.bat index a02052c..bf38860 100644 --- a/05-Other/curl/command/ProxyPolicy_hijack_00013_3.bat +++ b/05-Other/curl/command/ProxyPolicy_hijack_00013_3.bat @@ -1 +1 @@ -curl -kv https://www.everymantravel.com/terms?qo=footerLinkss/ | iconv -f utf-8 -t gbk \ No newline at end of file +curl -kv https://www.united.com/zh-hans/cn | iconv -f utf-8 -t gbk \ No newline at end of file diff --git a/05-Other/curl/command/ProxyPolicy_hijack_00014.bat b/05-Other/curl/command/ProxyPolicy_hijack_00014.bat index 2ad43a3..8a9cbff 100644 --- a/05-Other/curl/command/ProxyPolicy_hijack_00014.bat +++ b/05-Other/curl/command/ProxyPolicy_hijack_00014.bat @@ -1 +1 @@ -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" --cookie "__cfduid=d5c21129d57e7124b729fd86dc82abdcd1596020306; __stripe_sid=2940d4d5-6822-4daf-8b38-9cd18d745beb; __stripe_mid=dd118cd8-845c-4b6e-98ce-81e8d5bdd52c" --referer 'https://www.baidu.com/' \ https://www.visitphilly.com/covid-19-resources-for-greater-philadelphia/| iconv -f utf-8 -t gbk \ No newline at end of file +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" --cookie "__cfduid=d5c21129d57e7124b729fd86dc82abdcd1596020306; __stripe_sid=2940d4d5-6822-4daf-8b38-9cd18d745beb; __stripe_mid=dd118cd8-845c-4b6e-98ce-81e8d5bdd52c" --referer 'https://www.baidu.com/' \ https://www.travelzoo.com/cn/collections/hotels/ihg-group-meta/| iconv -f utf-8 -t gbk \ No newline at end of file diff --git a/05-Other/curl/command/ProxyPolicy_redirect_00010.bat b/05-Other/curl/command/ProxyPolicy_redirect_00010.bat index 82424e1..4c3b5cb 100644 --- a/05-Other/curl/command/ProxyPolicy_redirect_00010.bat +++ b/05-Other/curl/command/ProxyPolicy_redirect_00010.bat @@ -1 +1 @@ -curl -kv http://www.hazq.com/main/aboutus/index.shtml | iconv -f utf-8 -t gbk \ No newline at end of file +curl -kv http://www.dyhjw.com/quotes/choicelists | iconv -f utf-8 -t gbk \ No newline at end of file diff --git a/05-Other/curl/command/ProxyPolicy_replace_00003_2.bat b/05-Other/curl/command/ProxyPolicy_replace_00003_2.bat index 1154d18..3487540 100644 --- a/05-Other/curl/command/ProxyPolicy_replace_00003_2.bat +++ b/05-Other/curl/command/ProxyPolicy_replace_00003_2.bat @@ -1 +1 @@ -curl -kv https://www.hotelplanner.com/Group-Rate/ | iconv -f utf-8 -t gbk \ No newline at end of file +curl -kv https://www.truelinkfinancial.com/card/guardian-fiduciary/ | iconv -f utf-8 -t gbk \ No newline at end of file diff --git a/05-Other/curl/command/ProxyPolicy_replace_00004.bat b/05-Other/curl/command/ProxyPolicy_replace_00004.bat index 0c84e70..757a9c0 100644 --- a/05-Other/curl/command/ProxyPolicy_replace_00004.bat +++ b/05-Other/curl/command/ProxyPolicy_replace_00004.bat @@ -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 'https://www.baidu.com/' https://www.kualoa.com/kualoa-life/ | iconv -f utf-8 -t gbk \ No newline at end of file +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 'https://www.baidu.com/' https://www.ino.com/news/headlines/ | iconv -f utf-8 -t gbk \ No newline at end of file diff --git a/05-Other/curl/command/ProxyPolicy_replace_00006.bat b/05-Other/curl/command/ProxyPolicy_replace_00006.bat index 5e7de3b..c758ac2 100644 --- a/05-Other/curl/command/ProxyPolicy_replace_00006.bat +++ b/05-Other/curl/command/ProxyPolicy_replace_00006.bat @@ -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 'https://www.baidu.com/' https://www.wollmanskatingrink.com/hours | iconv -f utf-8 -t gbk \ No newline at end of file +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 'https://www.baidu.com/' https://www.quickenloans.com/mortgage-education/home-buyers-guide?qlsource=nav | iconv -f utf-8 -t gbk \ No newline at end of file diff --git a/05-Other/curl/command/ProxyPolicy_replace_00007.bat b/05-Other/curl/command/ProxyPolicy_replace_00007.bat index 531c7b8..b42ba30 100644 --- a/05-Other/curl/command/ProxyPolicy_replace_00007.bat +++ b/05-Other/curl/command/ProxyPolicy_replace_00007.bat @@ -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 'https://www.baidu.com/' https://packages.webjet.com.au/packages/ | iconv -f utf-8 -t gbk \ No newline at end of file +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 'https://www.baidu.com/' https://www.gobank.com/mobile-banking/mobile-app | iconv -f utf-8 -t gbk \ No newline at end of file