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 7fac5a2..3effe40 100644 --- a/01-TestCase/tsg_adc/multi_step/a_Hijack_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/a_Hijack_Tests.robot @@ -13,7 +13,7 @@ ${url} /v1/policy/profile/hijackfiles *** Test Cases *** Proxy-Policy-hijack-00001 - [Tags] fqdn完整匹配 + [Tags] fqdn完整匹配 update policy:fqdn,ip geo Comment 创建fqdn ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=$vator.tv ${rescode} ${objectId} AddObject2 ${1} ${objectDict} @@ -23,6 +23,14 @@ Proxy-Policy-hijack-00001 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} ${profiledId} Get From Dictionary ${response} profileId + Comment 创建ip geo + ${addItemList1} Create Dictionary keywordArray=XXG地区.* + ${addItemLists} Create list ${addItemList1} + ${objectDict} Create Dictionary objectType=ip objectSubType=geo_location isValid=${1} addItemList=${addItemLists} + ${rescode} ${objectId2} AddObjects ${1} ${objectDict} + Comment 创建fqdn2 + ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*vator.tv + ${rescode} ${objectId3} AddObject2 ${1} ${objectDict} Comment 创建拦截策略 ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-hijack 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=${SSL_ID} log ${policyDict} @@ -38,6 +46,8 @@ Proxy-Policy-hijack-00001 insert_policyId_to_file1 hijack_profileId ${profiledId} insert_policyId_to_file1 hijack_objectId ${objectId} insert_policyId_to_file1 hijack_objectId39 ${objectId1} + insert_policyId_to_file1 hijack_objectId42 ${objectId2} + insert_policyId_to_file1 hijack_objectId43 ${objectId3} insert_policyId_to_file1 intercept_hijack_policyId ${policyId1} insert_policyId_to_file1 hijack_policyId ${policyId2} @@ -47,19 +57,19 @@ Proxy-Policy-hijack-00002 # ${objectDict} Create Dictionary objectType=fqdn_category isValid=${1} addItemList=*cruisecritic.com # ${rescode} ${objectId} AddObject2 ${1} ${objectDict} Comment 创建url - ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=www.ke4rx.org/ + ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=uqur.cn ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} Comment 创建hijack文件 ${response} CreatePolicyFile2 ${url} ${path}/hijack_files/ Create-Hijack Files-test-3.html hijack ${profiledId} Get From Dictionary ${response} profileId Comment Comment 创建拦截策略 - ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-hijack policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"SSL","keyring":1,"decryption":1,"decrypt_mirror":{"enable":0,"mirror_profile":null}} filterList=170|TSG_FIELD_SSL_SNI isValid=${1} appIdObjects=${SSL_ID} + ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-hijack policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"SSL","keyring":1,"decryption":1,"decrypt_mirror":{"enable":0,"mirror_profile":null}} filterList=163|TSG_FIELD_SSL_SNI isValid=${1} appIdObjects=${SSL_ID} log ${policyDict} ${rescode} ${policyId1} AddPolicies 1 ${policyDict} v2 ${policyId1} Get-Pids ${policyId1} ${policyId1} Set Variable ${policyId1}[0] Comment 创建hijack策略 - ${policyDict} Create Dictionary policyName=Proxy-Policy-hijack-00002 policyType=pxy_manipulation policyDesc=autotest action=manipulation userRegion={"method":"hijack","hijack_profile":${profiledId},"protocol":"HTTP"} filterList=109|TSG_FIELD_HTTP_HOST,${objectId1}|TSG_FIELD_HTTP_URL isValid=${1} appIdObjects=${HTTP_ID} + ${policyDict} Create Dictionary policyName=Proxy-Policy-hijack-00002 policyType=pxy_manipulation policyDesc=autotest action=manipulation userRegion={"method":"hijack","hijack_profile":${profiledId},"protocol":"HTTP"} filterList=163|TSG_FIELD_HTTP_HOST,${objectId1}|TSG_FIELD_HTTP_URL isValid=${1} appIdObjects=${HTTP_ID} log ${policyDict} ${rescode} ${policyId2} AddPolicies 1 ${policyDict} v2 ${policyId2} Get-Pids ${policyId2} @@ -76,13 +86,13 @@ Proxy-Policy-hijack-00003 # ${objectDict} Create Dictionary objectType=fqdn_category isValid=${1} addItemList=*vegas.com,*bytedance.com,*toutiao.com,*douyin.com # ${rescode} ${objectId} AddObject2 ${1} ${objectDict} Comment 创建url - ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=tourv*,$www.wonderfulbali.com/,*dtours.com/,briardclubofameric + ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=www.lex*,$oktrucking.org/,*signal.com/,peasedev ${rescode} ${objectId1} AddObject2 ${1} ${objectDict} Comment 创建hijack文件 ${response} CreatePolicyFile2 ${url} ${path}/hijack_files/ Create-Hijack Files-test-1.exe hijack {"isValid":1,"contentType":"application/x-msdos-program","opAction":"add","profileName":"test2","contentName":"Create-Hijack Files-test-1.exe","profileId":null,"returnData":1} ${profiledId} Get From Dictionary ${response} profileId Comment Comment 创建拦截策略 - ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-hijack policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"SSL","keyring":1,"decryption":1,"decrypt_mirror":{"enable":0,"mirror_profile":null}} filterList=109|TSG_FIELD_SSL_SNI isValid=${1} appIdObjects=${SSL_ID} + ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-hijack policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"SSL","keyring":1,"decryption":1,"decrypt_mirror":{"enable":0,"mirror_profile":null}} filterList=160|TSG_FIELD_SSL_SNI isValid=${1} appIdObjects=${SSL_ID} log ${policyDict} ${rescode} ${policyId1} AddPolicies 1 ${policyDict} v2 ${policyId1} Get-Pids ${policyId1} @@ -100,7 +110,7 @@ Proxy-Policy-hijack-00003 insert_policyId_to_file1 hijack_policyId2 ${policyId2} Proxy-Policy-hijack-00004 - [Tags] 请求头左匹配 + [Tags] 请求头左匹配 update policy:url,请求头 Comment 创建fqdn ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*huoshan.com ${rescode} ${objectId} AddObject2 ${1} ${objectDict} @@ -113,6 +123,12 @@ Proxy-Policy-hijack-00004 Comment 创建hijack文件 ${response} CreatePolicyFile2 ${url} ${path}/hijack_files/ Create-Hijack Files-test-3.html hijack ${profiledId} Get From Dictionary ${response} profileId + Comment 创建url2 + ${objectDict} Create Dictionary objectType=url isValid=${1} addItemList=huoshan + ${rescode} ${objectId3} AddObject2 ${1} ${objectDict} + Comment 创建请求头2 + ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=Mozilla/5.0|User-Agent + ${rescode} ${objectId4} AddObject2 ${1} ${objectDict} Comment 创建拦截策略 ${policyDict} Create Dictionary policyName=SecurityPolicy-Intercept-hijack 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=${SSL_ID} log ${policyDict} @@ -129,6 +145,8 @@ Proxy-Policy-hijack-00004 insert_policyId_to_file1 hijack_objectId4 ${objectId} insert_policyId_to_file1 hijack_objectId5 ${objectId1} insert_policyId_to_file1 hijack_objectId6 ${objectId2} + insert_policyId_to_file1 hijack_objectId44 ${objectId3} + insert_policyId_to_file1 hijack_objectId45 ${objectId4} insert_policyId_to_file1 intercept_hijack_policyId3 ${policyId1} insert_policyId_to_file1 hijack_policyId3 ${policyId2} @@ -232,7 +250,7 @@ Proxy-Policy-hijack-00007 insert_policyId_to_file1 hijack_policyId6 ${policyId2} Proxy-Policy-hijack-00008 - [Tags] 应答头右匹配 + [Tags] 应答头右匹配 update policy:应答头 Comment 创建fqdn ${objectDict} Create Dictionary objectType=fqdn isValid=${1} addItemList=*mafengwo.cn ${rescode} ${objectId} AddObject2 ${1} ${objectDict} @@ -242,6 +260,9 @@ Proxy-Policy-hijack-00008 Comment 创建请求头 ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=*utf-8|Content-Type ${rescode} ${objectId2} AddObject2 ${1} ${objectDict} + Comment 创建请求头2 + ${objectDict} Create Dictionary objectType=http_signature isValid=${1} addItemList=utf-8|Content-Type + ${rescode} ${objectId3} AddObject2 ${1} ${objectDict} Comment 创建hijack文件 ${response} CreatePolicyFile2 ${url} ${path}/hijack_files/ Create-Hijack Files-test-3.html hijack ${profiledId} Get From Dictionary ${response} profileId @@ -261,6 +282,7 @@ Proxy-Policy-hijack-00008 insert_policyId_to_file1 hijack_objectId16 ${objectId} insert_policyId_to_file1 hijack_objectId17 ${objectId1} insert_policyId_to_file1 hijack_objectId18 ${objectId2} + insert_policyId_to_file1 hijack_objectId46 ${objectId3} insert_policyId_to_file1 intercept_hijack_policyId7 ${policyId1} insert_policyId_to_file1 hijack_policyId7 ${policyId2} 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 baf0c92..9950780 100644 --- a/01-TestCase/tsg_adc/multi_step/b_Hijack_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/b_Hijack_Tests.robot @@ -5,6 +5,9 @@ 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_bfapi/policy_object/Policy.robot +Resource ../../../03-Variable/ApplicationID.txt +Resource ../../../05-Other/AllFlowCaseVariable.txt *** Test Cases *** Proxy-Policy-hijack-00001 @@ -14,11 +17,25 @@ Proxy-Policy-hijack-00001 ${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 ${rescode} SystemCommands ${commandstr} ${stringlist} + Comment 改变拦截策略 + ${policyDict} Create Dictionary policyId=${intercept_hijack_policyId} source=${hijack_objectId42}|TSG_SECURITY_SOURCE_LOCATION policyName=SecurityPolicy-Intercept-hijack-1 policyType=tsg_security policyDesc=autotest action=intercept userRegion={"protocol":"SSL","keyring":1,"decryption":1,"decrypt_mirror":{"enable":0,"mirror_profile":null}} filterList=${hijack_objectId43}|TSG_FIELD_SSL_SNI isValid=${1} appIdObjects=${SSL_ID} + log ${policyDict} + ${rescode} UpdatePolicies 1 ${policyDict} v2 update + Comment 改变重Hijack策略 + ${policyDict} Create Dictionary policyId=${hijack_policyId} source=${hijack_objectId42}|TSG_SECURITY_SOURCE_LOCATION policyName=Proxy-Policy-hijack-00001-1 policyType=pxy_manipulation policyDesc=autotest action=manipulation userRegion={"method":"hijack","hijack_profile":${intercept_hijack_policyId},"protocol":"HTTP"} filterList=${hijack_objectId43}|TSG_FIELD_HTTP_HOST,${hijack_objectId39}|TSG_FIELD_HTTP_URL isValid=${1} appIdObjects=${HTTP_ID} + log ${policyDict} + ${rescode} UpdatePolicies 1 ${policyDict} v2 update + Comment 功能端验证HTTP验证 + ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_hijack_00001.bat + ... 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 + ${rescode} SystemCommands ${commandstr} ${stringlist} Proxy-Policy-hijack-00002 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_hijack_00002.bat - ... ELSE set variable curl -kv https://www.ke4rx.org/site/ + ... ELSE set variable curl -kv https://www.uqur.cn/index_0.shtml ${stringlist} run keyword if '${systemType}'=='Windows' Create List 控制小蛇在地图范围内移动 Tango Secure Gateway CA ... ELSE Create List 控制小蛇在地图范围内移动 Tango Secure Gateway CA ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -26,25 +43,25 @@ Proxy-Policy-hijack-00002 Proxy-Policy-hijack-00003 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_hijack_00003.bat - ... ELSE set variable curl -kv https://www.briardclubofamerica.org/ + ... ELSE set variable curl -kv https://www.lexus.ru/ ${stringlist} run keyword if '${systemType}'=='Windows' Create List b76f:a340:7b1f:f4d0:27f3:8f0e:2db0:2bac Tango Secure Gateway CA ... ELSE Create List b76f:a340:7b1f:f4d0:27f3:8f0e:2db0:2bac Tango Secure Gateway CA ${rescode} SystemCommands ${commandstr} ${stringlist} Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_hijack_00003_1.bat - ... ELSE set variable curl -kv https://tourvisor.ru/ + ... ELSE set variable curl -kv https://oktrucking.org/ ${stringlist} run keyword if '${systemType}'=='Windows' Create List b76f:a340:7b1f:f4d0:27f3:8f0e:2db0:2bac Tango Secure Gateway CA ... ELSE Create List b76f:a340:7b1f:f4d0:27f3:8f0e:2db0:2bac Tango Secure Gateway CA ${rescode} SystemCommands ${commandstr} ${stringlist} Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_hijack_00003_2.bat - ... ELSE set variable curl -kv https://www.wonderfulbali.com/ + ... ELSE set variable curl -kv https://www.federalsignal.com/ ${stringlist} run keyword if '${systemType}'=='Windows' Create List b76f:a340:7b1f:f4d0:27f3:8f0e:2db0:2bac Tango Secure Gateway CA ... ELSE Create List b76f:a340:7b1f:f4d0:27f3:8f0e:2db0:2bac Tango Secure Gateway CA ${rescode} SystemCommands ${commandstr} ${stringlist} Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_hijack_00003_3.bat - ... ELSE set variable curl -kv https://www.cityofthedeadtours.com/ + ... ELSE set variable curl -kv https://peasedev.org/ ${stringlist} run keyword if '${systemType}'=='Windows' Create List b76f:a340:7b1f:f4d0:27f3:8f0e:2db0:2bac Tango Secure Gateway CA ... ELSE Create List b76f:a340:7b1f:f4d0:27f3:8f0e:2db0:2bac Tango Secure Gateway CA ${rescode} SystemCommands ${commandstr} ${stringlist} @@ -56,6 +73,16 @@ Proxy-Policy-hijack-00004 ${stringlist} run keyword if '${systemType}'=='Windows' Create List 控制小蛇在地图范围内移动 Tango Secure Gateway CA ... ELSE Create List 控制小蛇在地图范围内移动 Tango Secure Gateway CA ${rescode} SystemCommands ${commandstr} ${stringlist} + Comment 改变重Hijack策略 + ${policyDict} Create Dictionary policyId=${hijack_policyId3} policyName=Proxy-Policy-hijack-00004-1 policyType=pxy_manipulation policyDesc=autotest action=manipulation userRegion={"method":"hijack","hijack_profile":${hijack_profileId3},"protocol":"HTTP"} filterList=${hijack_objectId44}|TSG_FIELD_HTTP_URL,${hijack_objectId45}|TSG_FIELD_HTTP_REQ_HDR isValid=${1} appIdObjects=${HTTP_ID} + log ${policyDict} + ${rescode} UpdatePolicies 1 ${policyDict} v2 update + Comment 功能端验证HTTP验证 + ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_hijack_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.huoshan.com/greenlive/union_hall/ + ${stringlist} run keyword if '${systemType}'=='Windows' Create List 控制小蛇在地图范围内移动 Tango Secure Gateway CA + ... ELSE Create List 控制小蛇在地图范围内移动 Tango Secure Gateway CA + ${rescode} SystemCommands ${commandstr} ${stringlist} Proxy-Policy-hijack-00005 Comment 功能端验证HTTP验证 @@ -88,6 +115,10 @@ Proxy-Policy-hijack-00008 ${stringlist} run keyword if '${systemType}'=='Windows' Create List 控制小蛇在地图范围内移动 ... ELSE Create List 控制小蛇在地图范围内移动 ${rescode} SystemCommands ${commandstr} ${stringlist} + Comment 改变重Hijack策略 + ${policyDict} Create Dictionary policyId=${hijack_policyId7} policyName=Proxy-Policy-hijack-00008-1 policyType=pxy_manipulation policyDesc=autotest action=manipulation userRegion={"method":"hijack","hijack_profile":${hijack_profileId7},"protocol":"HTTP"} filterList=${hijack_objectId17}|TSG_FIELD_HTTP_URL,${hijack_objectId46}|TSG_FIELD_HTTP_RES_HDR isValid=${1} appIdObjects=${HTTP_ID} + log ${policyDict} + ${rescode} UpdatePolicies 1 ${policyDict} v2 update Proxy-Policy-hijack-00009 Comment 功能端验证HTTP验证 @@ -122,6 +153,9 @@ Proxy-Policy-hijack-00012 ${rescode} SystemCommands ${commandstr} ${stringlist} Proxy-Policy-hijack-00013 + Comment 功能端验证HTTP验证 + ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_hijack_00013.bat + ... ELSE set variable curl -kv https://nsscreencast.com/episodes Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_hijack_00013.bat ... ELSE set variable curl -kv https://nsscreencast.com/episodes @@ -137,6 +171,9 @@ Proxy-Policy-hijack-00013 Comment 功能端验证HTTP验证 ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_hijack_00013_2.bat ... ELSE set variable curl -kv https://boutiquehotel.me/paris/ + Comment 功能端验证HTTP验证 + ${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/ProxyPolicy_hijack_00013_2.bat + ... ELSE set variable curl -kv https://boutiquehotel.me/paris/ ${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 ${rescode} SystemCommands ${commandstr} ${stringlist} 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 cc048c3..aa8c82b 100644 --- a/01-TestCase/tsg_adc/multi_step/c_Hijack_Tests.robot +++ b/01-TestCase/tsg_adc/multi_step/c_Hijack_Tests.robot @@ -22,6 +22,8 @@ Proxy-Policy-hijack-00001 #删除对象 ${objectids} set Variable ${hijack_objectId} ${objectids} Catenate SEPARATOR=, ${objectids} ${hijack_objectId39} + ${objectids} Catenate SEPARATOR=, ${objectids} ${hijack_objectId42} + ${objectids} Catenate SEPARATOR=, ${objectids} ${hijack_objectId43} #删除策略 ${policyId1} set Variable {"policyType":"tsg_security","policyIds":[${intercept_hijack_policyId}]} ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${hijack_policyId}]} @@ -40,7 +42,7 @@ Proxy-Policy-hijack-00002 ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${hijack_policyId1}]} ${policyIds} Create List ${policyId1} ${policyId2} ${s} Convert to String ${hijack_policyId1} - GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host ke4rx.org + GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host www.uqur.cn Proxy-Policy-hijack-00003 #删除文件 @@ -53,10 +55,10 @@ Proxy-Policy-hijack-00003 ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${hijack_policyId2}]} ${policyIds} Create List ${policyId1} ${policyId2} ${s} Convert to String ${hijack_policyId2} - GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host briardclubofamerica - GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host tourvisor.ru - GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host wonderfulbali - GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host cityofthedeadtours.com + GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host www.lexus.ru + GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host oktrucking.org + GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host www.federalsignal.com + GetLogList proxy_event_log ${starttime} ${endtime} ${testClentIP} ${s} http_host peasedev Proxy-Policy-hijack-00004 #删除文件 @@ -65,6 +67,8 @@ Proxy-Policy-hijack-00004 ${objectids} set Variable ${hijack_objectId4} ${objectids} Catenate SEPARATOR=, ${objectids} ${hijack_objectId5} ${objectids} Catenate SEPARATOR=, ${objectids} ${hijack_objectId6} + ${objectids} Catenate SEPARATOR=, ${objectids} ${hijack_objectId44} + ${objectids} Catenate SEPARATOR=, ${objectids} ${hijack_objectId45} #删除策略 ${policyId1} set Variable {"policyType":"tsg_security","policyIds":[${intercept_hijack_policyId3}]} ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${hijack_policyId3}]} @@ -121,6 +125,7 @@ Proxy-Policy-hijack-00008 ${objectids} set Variable ${hijack_objectId16} ${objectids} Catenate SEPARATOR=, ${objectids} ${hijack_objectId17} ${objectids} Catenate SEPARATOR=, ${objectids} ${hijack_objectId18} + ${objectids} Catenate SEPARATOR=, ${objectids} ${hijack_objectId46} #删除策略 ${policyId1} set Variable {"policyType":"tsg_security","policyIds":[${intercept_hijack_policyId7}]} ${policyId2} set Variable {"policyType":"pxy_manipulation","policyIds":[${hijack_policyId7}]} diff --git a/05-Other/curl/command/ProxyPolicy_hijack_00002.bat b/05-Other/curl/command/ProxyPolicy_hijack_00002.bat index 9d201f4..bcf3fbc 100644 --- a/05-Other/curl/command/ProxyPolicy_hijack_00002.bat +++ b/05-Other/curl/command/ProxyPolicy_hijack_00002.bat @@ -1 +1 @@ -curl -kv https://www.ke4rx.org/site/ | iconv -f utf-8 -t gbk \ No newline at end of file +curl -kv https://www.uqur.cn/index_0.shtml | iconv -f utf-8 -t gbk \ No newline at end of file diff --git a/05-Other/curl/command/ProxyPolicy_hijack_00003.bat b/05-Other/curl/command/ProxyPolicy_hijack_00003.bat index 3215240..d005a6b 100644 --- a/05-Other/curl/command/ProxyPolicy_hijack_00003.bat +++ b/05-Other/curl/command/ProxyPolicy_hijack_00003.bat @@ -1 +1 @@ -curl -kv https://www.briardclubofamerica.org/ | iconv -f utf-8 -t gbk \ No newline at end of file +curl -kv https://www.lexus.ru/ | iconv -f utf-8 -t gbk \ No newline at end of file diff --git a/05-Other/curl/command/ProxyPolicy_hijack_00003_1.bat b/05-Other/curl/command/ProxyPolicy_hijack_00003_1.bat index 031675b..a6b9dfd 100644 --- a/05-Other/curl/command/ProxyPolicy_hijack_00003_1.bat +++ b/05-Other/curl/command/ProxyPolicy_hijack_00003_1.bat @@ -1 +1 @@ -curl -kv https://tourvisor.ru/ | iconv -f utf-8 -t gbk \ No newline at end of file +curl -kv https://oktrucking.org/ | iconv -f utf-8 -t gbk \ No newline at end of file diff --git a/05-Other/curl/command/ProxyPolicy_hijack_00003_2.bat b/05-Other/curl/command/ProxyPolicy_hijack_00003_2.bat index 2f633de..d4bcbc7 100644 --- a/05-Other/curl/command/ProxyPolicy_hijack_00003_2.bat +++ b/05-Other/curl/command/ProxyPolicy_hijack_00003_2.bat @@ -1 +1 @@ -curl -kv https://www.wonderfulbali.com/ | iconv -f utf-8 -t gbk \ No newline at end of file +curl -kv https://www.federalsignal.com/ | iconv -f utf-8 -t gbk \ No newline at end of file diff --git a/05-Other/curl/command/ProxyPolicy_hijack_00003_3.bat b/05-Other/curl/command/ProxyPolicy_hijack_00003_3.bat index 5e9d36b..5742f12 100644 --- a/05-Other/curl/command/ProxyPolicy_hijack_00003_3.bat +++ b/05-Other/curl/command/ProxyPolicy_hijack_00003_3.bat @@ -1 +1 @@ -curl -kv https://www.cityofthedeadtours.com/ | iconv -f utf-8 -t gbk \ No newline at end of file +curl -kv https://peasedev.org/ | iconv -f utf-8 -t gbk \ No newline at end of file