summaryrefslogtreecommitdiff
path: root/other
diff options
context:
space:
mode:
Diffstat (limited to 'other')
-rw-r--r--other/all_flow_case_variable.txt5
-rw-r--r--other/data/profiles/Create-Response_Pages-test-2.htm1
-rw-r--r--other/data/profiles/insert_script_data.yaml18
-rw-r--r--other/data/profiles/response_page_data.yaml14
-rw-r--r--other/data/scriptfile/insertscript/create_insert_scripts_css.css3
-rw-r--r--other/data/scriptfile/insertscript/create_insert_scripts_js.js1
-rw-r--r--other/data/scriptfile/responsepage/creat_response_pages.htm1
-rw-r--r--other/data/template/page_template.yaml636
-rw-r--r--other/data/template/response_page_template.yaml23
-rw-r--r--other/scriptfile/responsepage/creat_response_pages.htm1
-rw-r--r--other/write_file.txt97
11 files changed, 800 insertions, 0 deletions
diff --git a/other/all_flow_case_variable.txt b/other/all_flow_case_variable.txt
new file mode 100644
index 0000000..847d3e8
--- /dev/null
+++ b/other/all_flow_case_variable.txt
@@ -0,0 +1,5 @@
+*** Variables ***
+
+${deny_http_objectId19} 59367
+${deny_http_policyId11} 31543
+${testClentIpId} 104964
diff --git a/other/data/profiles/Create-Response_Pages-test-2.htm b/other/data/profiles/Create-Response_Pages-test-2.htm
new file mode 100644
index 0000000..56b6510
--- /dev/null
+++ b/other/data/profiles/Create-Response_Pages-test-2.htm
@@ -0,0 +1 @@
+11111 \ No newline at end of file
diff --git a/other/data/profiles/insert_script_data.yaml b/other/data/profiles/insert_script_data.yaml
new file mode 100644
index 0000000..5874f11
--- /dev/null
+++ b/other/data/profiles/insert_script_data.yaml
@@ -0,0 +1,18 @@
+#ip正向用例
+insert_script_data:
+ -
+ -
+ operatingType: create
+ profileName: edittestname
+ file: insertscript/create_insert_scripts_js.js
+ Script Type:
+ -
+ js:
+ -
+ Insert on:
+ - After Page Load
+
+
+
+
+
diff --git a/other/data/profiles/response_page_data.yaml b/other/data/profiles/response_page_data.yaml
new file mode 100644
index 0000000..249a71e
--- /dev/null
+++ b/other/data/profiles/response_page_data.yaml
@@ -0,0 +1,14 @@
+#ip正向用例
+response_page_data:
+ -
+ -
+ operatingType: create
+ profileName: testname
+ file: responsepage/creat_response_pages.htm
+ -
+ operatingType: edit
+ profileName: Edittestname
+ file: responsepage/creat_response_pages.htm
+ -
+ -
+ \ No newline at end of file
diff --git a/other/data/scriptfile/insertscript/create_insert_scripts_css.css b/other/data/scriptfile/insertscript/create_insert_scripts_css.css
new file mode 100644
index 0000000..67f2f0b
--- /dev/null
+++ b/other/data/scriptfile/insertscript/create_insert_scripts_css.css
@@ -0,0 +1,3 @@
+body{
+ background:red !important;
+} \ No newline at end of file
diff --git a/other/data/scriptfile/insertscript/create_insert_scripts_js.js b/other/data/scriptfile/insertscript/create_insert_scripts_js.js
new file mode 100644
index 0000000..e27836d
--- /dev/null
+++ b/other/data/scriptfile/insertscript/create_insert_scripts_js.js
@@ -0,0 +1 @@
+alert("执行javascript!");
diff --git a/other/data/scriptfile/responsepage/creat_response_pages.htm b/other/data/scriptfile/responsepage/creat_response_pages.htm
new file mode 100644
index 0000000..56b6510
--- /dev/null
+++ b/other/data/scriptfile/responsepage/creat_response_pages.htm
@@ -0,0 +1 @@
+11111 \ No newline at end of file
diff --git a/other/data/template/page_template.yaml b/other/data/template/page_template.yaml
new file mode 100644
index 0000000..6fe9efa
--- /dev/null
+++ b/other/data/template/page_template.yaml
@@ -0,0 +1,636 @@
+#ip正向用例
+response_page_page:
+ #"打开页面数据":
+ OpenCreateOrEditPage:
+ create:
+ - id=Settings
+ - xpath=//*[@id="Settings"]/ul/li[1]
+ - id=responseAdd
+ edit:
+ - id=resinseEdit
+ PageData:
+ -
+ type: input
+ position: id=responsepages_profileName1
+ value: profileName
+ -
+ type: upload
+ position: xpath=//*[@id="policy_Manipulation_create6"]/div[2]/form/div/div/div/div/input
+ value: file
+ OkOrCancel:
+ position: id=responseAddOk1
+ confirm: 确认信息操作
+ alerm: id=responseAdd
+ assertPosition: xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
+
+insert_script_page:
+ #"打开页面数据":
+ OpenCreateOrEditPage:
+ create:
+ - id=Settings
+ - xpath=//*[@id="Settings"]/ul/li[1]
+ - xpath=//*[@id="profilesTabs"]/li[2]
+ - id=insertAdd
+ edit:
+ - id=insertEdit
+ PageData:
+ -
+ type: input
+ position: id=insert_profileName1
+ value: profileName
+ -
+ type: upload
+ position: xpath=//*[@id="insertAddUpload"]/div[1]/input
+ value: file
+ -
+ type: combination
+ position: id=insert_select_format
+ value: Script Type
+ data:
+ -
+ type: click
+ position: xpath=/html/body/div/div[1]/div[1]/ul/li[1]
+ value: css
+ data: null
+ -
+ type: click
+ position: xpath=/html/body/div/div[1]/div[1]/ul/li[2]
+ value: js
+ data:
+ -
+ type: click
+ position: id=insert_select_insertOn
+ value: Insert on
+ data:
+ -
+ type: click
+ position: xpath=/html/body/div[last()]/div[1]/div[1]/ul/li[1]
+ value: Before Page Load
+ data: null
+ -
+ type: click
+ position: xpath=/html/body/div[last()]/div[1]/div[1]/ul/li[2]
+ value: After Page Load
+ data: null
+
+
+
+
+
+ OkOrCancel:
+ position: id=insertAddOk1
+ confirm: 确认信息操作
+ alerm: id=insertAdd
+ assertPosition: xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
+ delete: id=insertDel
+
+hijack_file_page:
+ #"打开页面数据":
+ OpenCreateOrEditPage:
+ create:
+ - id=Settings
+ - xpath=//*[@id="Settings"]/ul/li[1]
+ - xpath=//*[@id="profilesTabs"]/li[3]
+ - id=hijackAdd
+ edit:
+ - id=hijackEdit
+ PageData:
+ -
+ type: input
+ position: id=hijack_profileName1
+ value: name
+ -
+ type: upload
+ position: xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div/div[1]/input
+ value: file
+ -
+ type: switchCombination
+ position: xpath=//*[@id="contentNameChoose"]/div[1]/span[2]
+ value: buttonStatus
+ default: open
+ data:
+ -
+ type: input
+ position: id=hijack_contentName
+ value: downloadName
+ -
+ type: combination
+ position: id=hijackAddContentType
+ value: combination
+ data:
+ -
+ type: click
+ position: id=image/gif0
+ value: image/gif
+ data: null
+ -
+ type: click
+ position: id=image/jpeg1
+ value: image/jpeg
+ data: null
+ -
+ type: click
+ position: id=image/png2
+ value: image/png
+ data: null
+ -
+ type: click
+ position: id=image/svg+xml3
+ value: image/svg+xml
+ data: null
+ -
+ type: click
+ position: id=application/x-msdos-program0
+ value: application/x-msdos-program
+ data: null
+ -
+ type: click
+ position: id=application/vnd.android.package-archive0
+ value: application/vnd.android.package-archive
+ data: null
+ -
+ type: click
+ position: id=text/html0
+ value: text/html
+ data: null
+
+ OkOrCancel:
+ position: id=hijackAddOk1
+ confirm: 确认信息操作
+ alerm: id=hijackAdd
+ assertPosition: xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
+
+traffic_mirror_profile_page:
+ #"打开页面数据":
+ OpenCreateOrEditPage:
+ create:
+ - id=Settings
+ - xpath=//*[@id="Settings"]/ul/li[1]
+ - xpath=//*[@id="profilesTabs"]/li[4]
+ - id=trafficMirrorAdd
+ edit:
+ - id=trafficMirrorEdit
+ PageData:
+ -
+ type: input
+ position: id=trafficmirror_profileName1
+ value: profileName
+ -
+ type: input
+ position: id=trafficmirror_profileName1
+ value: profileName
+ -
+ type: combination
+ position: id=addrTypeChoose
+ value: combination
+ data:
+ -
+ type: click
+ position: xpath=/html/body/div[2]/div[1]/div[1]/ul/li[1]
+ value: vlan
+ data: null
+ -
+ type: click
+ position: xpath=/html/body/div[2]/div[1]/div[1]/ul/li[2]
+ value: mac
+ data: null
+ -
+ type: input
+ position: id=trafficmirror_addrArray0
+ value : vlan/mac
+ OkOrCancel:
+ position: id=trafficMirrorProfile_ok
+ confirm: 确认信息操作
+ alerm: id=trafficMirrorAdd
+ assertPosition: xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
+
+decryption_profile_page:
+ #"打开页面数据":
+ OpenCreateOrEditPage:
+ create:
+ - id=Settings
+ - xpath=//*[@id="Settings"]/ul/li[1]
+ - xpath=//*[@id="profilesTabs"]/li[5]
+ - id=insertAdd
+ edit:
+ - id=insertEdit
+ PageData:
+ -
+ type: input
+ position: id=decrytion_profileName1
+ value : name
+ -
+ type: switch
+ position: xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[3]/div[1]/div/div/span
+ value: Common Name
+ default: open
+ -
+ type: switch
+ position: xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[3]/div[2]/div/div/span
+ value: Issuer
+ default: open
+ -
+ type: switch
+ position: xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[3]/div[3]/div/div/span
+ value: Self-signed
+ default: open
+ -
+ type: switch
+ position: xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[3]/div[4]/div/div/span
+ value: Expiry Date
+ default: open
+ -
+ type: radioButton
+ value: Fail Action
+ data:
+ -
+ type: click
+ position: id=decryptionfail-close
+ value: Fail-close
+ -
+ type: click
+ position: id=decryptionpass-through
+ value: Pass-through
+ -
+ type: switch
+ position: xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[5]/div[1]/div/div/span
+ value: EV Certificate
+ default: close
+ -
+ type: switch
+ position: xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[5]/div[2]/div/div/span
+ value: Certificate Transparency
+ default: close
+ -
+ type: switch
+ position: xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[5]/div[3]/div/div/span
+ value: Mutual Authentication
+ default: open
+ -
+ type: switch
+ position: xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[5]/div[4]/div/div/span
+ value: On Protocol Errors
+ default: open
+ -
+ type: switch
+ position: xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[5]/div[5]/div/div/span
+ value: Certificate Pinning
+ default: open
+ -
+ type: switch
+ position: xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[5]/div[6]/div/div/span
+ value: Certificate Not Installed
+ default: open
+ -
+ type: switchCombination
+ position: xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[7]/div[1]/div/div/span
+ value: Mirror Client Versions
+ default: open
+ data:
+ -
+ type: combination
+ position: id=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[7]/div[2]/div/div/div/span/span/i
+ value: Min Version
+ data:
+ -
+ type: click
+ position: id=pro_min0
+ value: SSLv3.0
+ data: null
+ -
+ type: click
+ position: id=pro_min1
+ value: TLSv1.0
+ data: null
+ -
+ type: click
+ position: id=pro_min2
+ value: TLSv1.1
+ data: null
+ -
+ type: click
+ position: id=pro_min3
+ value: TLSv1.2
+ data: null
+ -
+ type: click
+ position: id=pro_min4
+ value: TLSv1.3
+ data: null
+ -
+ type: combination
+ position: id=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[7]/div[3]/div/div/div[1]/span/span/i
+ value: Max Version
+ data:
+ -
+ type: click
+ position: id=pro_min0
+ value: SSLv3.0
+ data: null
+ -
+ type: click
+ position: id=pro_min1
+ value: TLSv1.0
+ data: null
+ -
+ type: click
+ position: id=pro_min2
+ value: TLSv1.1
+ data: null
+ -
+ type: click
+ position: id=pro_min3
+ value: TLSv1.2
+ data: null
+ -
+ type: click
+ position: id=pro_min4
+ value: TLSv1.3
+ data: null
+ -
+ type: switch
+ position: xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[7]/div[4]/div/div/span
+ value: Allow HTTP/2
+ default: open
+ OkOrCancel:
+ position: id=decryption-ok
+ confirm: 确认信息操作
+ alerm: id=insertAdd
+ assertPosition: xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr[2]/td[2]/div/div/span
+
+dns_record_profile_page:
+ OpenCreateOrEditPage:
+ create:
+ - id=Settings
+ - xpath=//*[@id="Settings"]/ul/li[1]
+ - xpath=//*[@id="profilesTabs"]/li[6]
+ - id=DNSAdd
+ edit:
+ - id=DNSEdit
+ PageData:
+ -
+ type: input
+ position: id=objectAdd_name
+ value : name
+ -
+ type: radioButton
+ position: null
+ value: type
+ data:
+ -
+ type: click
+ position: id=objectAdd_ip0
+ value: A
+ -
+ type: click
+ position: id=objectAdd_ip1
+ value: AAAA
+ -
+ type: click
+ position: id=objectAdd_ip2
+ value: CNAME
+ -
+ type: combination
+ position: id=temporary_form
+ value: Values
+ data:
+ -
+ type: input
+ position: xpath=//*[@id="Profile_DNSRecordProfile"]/div/div[2]/div/div/form/div[3]/div/div[1]/div[2]/div[1]/div/div[last()]/div/div[1]/div[1]/div/div[2]/div/input
+ value: ip
+ data: 192.168.50.32
+ -
+ type: input
+ position: xpath=//*[@id="Profile_DNSRecordProfile"]/div/div[2]/div/div/form/div[4]/div/div/textarea
+ value : Description
+ OkOrCancel:
+ position: id=wanAdd_ok
+ confirm: 确认信息操作
+ alerm: id=DNSAdd
+ assertPosition: xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
+
+snat_ip_pools_page:
+ OpenCreateOrEditPage:
+ create:
+ - id=Settings
+ - xpath=//*[@id="Settings"]/ul/li[2]
+ - id=ip
+ - id=app_create
+ edit:
+ - id=appEdit
+ PageData:
+ -
+ type: input
+ position: xpath=//*[@id="wannat_vpn_color"]/form/div[1]/div/div/div[1]/input
+ value : name
+ -
+ type: combination
+ position: id=temporary_form
+ value: ip
+ data:
+ -
+ type: input
+ position: xpath=//*[@id="wannat_vpn_color"]/form/div[3]/div/div/div[2]/div[1]/div/div/div[1]/div[1]/div/div[2]/div/input
+ value: ip
+ data: null
+ -
+ type: click
+ position: id=wan_reach_test
+ value: reachability_test
+ -
+ type: input
+ position: xpath=//*[@id="wannat_vpn_color"]/form/div[5]/div/div/textarea
+ value: description
+ OkOrCancel:
+ position: id=wanAdd_ok
+ confirm: 确认信息操作
+ alerm: id=app_create
+ assertPosition: xpath=//*[@id="wannat-table"]/div[3]/table/tbody/tr[1]/td[3]/div/div
+
+vpn_accounts_page:
+ OpenCreateOrEditPage:
+ create:
+ - id=Settings
+ - xpath=//*[@id="Settings"]/ul/li[2]
+ - id=account
+ - id=app_create
+ edit:
+ - id=appEdit
+ PageData:
+ -
+ type: input
+ position: xpath=//*[@id="wannat_vpn_username"]/div/div/div[1]/input
+ value : vpn_name
+ -
+ type: input
+ position: xpath=//*[@id="wannat_vpn_password"]/div/div/input
+ value: password
+ OkOrCancel:
+ position: id=wanAdd_ok
+ confirm: 确认信息操作
+ alerm: id=app_create
+ assertPosition: xpath=//*[@id="wannat-table"]/div[3]/table/tbody/tr[1]/td[1]/div/div/div[2]/span
+
+test_server_page:
+ OpenCreateOrEditPage:
+ create:
+ - id=Settings
+ - xpath=//*[@id="Settings"]/ul/li[2]
+ - id=testserver
+ - id=app_create
+ edit:
+ - id=appEdit
+ PageData:
+ -
+ type: input
+ position: xpath=//*[@id="profileName"]/div[1]/input
+ value: name
+ -
+ type: combination
+ position: xpath=//*[@id="wannat_vpn_testserver"]/form/div[2]/div/div/div[1]/span/span/i
+ value: server_type
+ data:
+ -
+ type: click
+ position: xpath=/html/body/div[2]/div[1]/div[1]/ul/li[1]
+ value: dns
+ data: null
+ -
+ type: click
+ position: xpath=/html/body/div[2]/div[1]/div[1]/ul/li[2]
+ value: tcp
+ data: null
+ -
+ type: click
+ position: xpath=/html/body/div[2]/div[1]/div[1]/ul/li[3]
+ value: icmp
+ data: null
+ -
+ type: input
+ position: xpath=//*[@id="wannat_vpn_testserver"]/form/div[3]/div/div[1]/input
+ value: ip
+ -
+ type: combination
+ position: xpath=//*[@id="wannat_vpn_testserver"]/form/div[4]/div/div/div/span/span/i
+ value: server_relative_location
+ data:
+ -
+ type: click
+ position: xpath=/html/body/div[3]/div[1]/div[1]/ul/li[1]
+ value: Internal
+ data: null
+ -
+ type: click
+ position: xpath=/html/body/div[3]/div[1]/div[1]/ul/li[2]
+ value: External
+ data: null
+ -
+ type: input
+ position: xpath=//*[@id="wannat_vpn_password"]/div/div/input
+ value: server_location
+ -
+ type: input
+ position: xpath=//*[@id="wannat_vpn_testserver"]/form/div[6]/div/div/textarea
+ value: description
+ -
+ type: switch
+ position: xpath=//*[@id="wannat_vpn_testserver"]/form/div[7]/div/div/span
+ value: isvalid
+ default: open
+ OkOrCancel:
+ position: id=wanAdd_ok
+ confirm: 确认信息操作
+ alerm: id=app_create
+ assertPosition: xpath=//*[@id="wannat-table"]/div[3]/table/tbody/tr[1]/td[2]/div/div
+
+trusted_certificate_authorities_page:
+ OpenCreateOrEditPage:
+ create:
+ - id=Settings
+ - xpath=//*[@id="Settings"]/ul/li[3]
+ - xpath=//*[@id="proxyTabs"]/div/ul/li[1]
+ - id=app_create
+ edit:
+ - id=appEdit
+ PageData:
+ -
+ type: input
+ position: id=authoritiesAdd_name1
+ value: name
+ -
+ type: upload
+ position: xpath=//*[@id="upload_dome"]/div/input
+ value: file
+ OkOrCancel:
+ position: id=authoritiesAdd_sub
+ confirm: 确认信息操作
+ alerm: id=app_create
+ assertPosition: xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/p/span
+
+decryption_keyrings_page:
+ OpenCreateOrEditPage:
+ create:
+ - id=Settings
+ - xpath=//*[@id="Settings"]/ul/li[3]
+ - xpath=//*[@id="proxyTabs"]/div/ul/li[2]
+ - id=app_create
+ edit:
+ - id=appEdit
+ PageData:
+ -
+ type: input
+ position: id=keyringsadd_name1
+ value: name
+ -
+ type: upload
+ position: xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[2]/div/div/div/input
+ value: certificate
+ -
+ type: combination
+ position: id=privateFile
+ value: private_key
+ data:
+ -
+ type: click
+ position: xpath=/html/body/div[3]/div[1]/div[1]/ul/li[1]
+ value: Private Key File
+ data:
+ -
+ type: upload
+ position: xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[3]/div/div[2]/div/div/input
+ value: key_file
+ data: null
+ -
+ type: click
+ posotion: id=privateHSM
+ value: HSM
+ data:
+ -
+ type: input
+ position: id=keyringsadd_slotid
+ value: Slot ID
+ data: null
+ -
+ type:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/other/data/template/response_page_template.yaml b/other/data/template/response_page_template.yaml
new file mode 100644
index 0000000..68ee0d6
--- /dev/null
+++ b/other/data/template/response_page_template.yaml
@@ -0,0 +1,23 @@
+#ip正向用例
+response_page_page:
+ #"打开页面数据":
+ OpenCreateOrEditPageIds:
+ create:
+ - id=children6
+ - id=sidebarProxy_Profiles
+ - id=responseAdd
+ edit:
+ - id=responseAdd d
+ PageData:
+ -
+ type: input
+ id: id=responsepages_profileName1
+ name: profileName
+ -
+ type: upload
+ id: xpath=//*[@id="policy_Manipulation_create6"]/div[2]/form/div/div/div/div/input
+ name: file
+ OkOrCancel:
+ id: responseAddOk1
+ confirm: 确认信息操作
+ alerm: Sucess \ No newline at end of file
diff --git a/other/scriptfile/responsepage/creat_response_pages.htm b/other/scriptfile/responsepage/creat_response_pages.htm
new file mode 100644
index 0000000..56b6510
--- /dev/null
+++ b/other/scriptfile/responsepage/creat_response_pages.htm
@@ -0,0 +1 @@
+11111 \ No newline at end of file
diff --git a/other/write_file.txt b/other/write_file.txt
new file mode 100644
index 0000000..3e0d080
--- /dev/null
+++ b/other/write_file.txt
@@ -0,0 +1,97 @@
+C:/Users/admin/git/tsg_autotest/05-Other/curl/test1.bat%%%%%%%%%%%%%%newbat
+C:\Users\admin\git\tsg_autotest>curl -kv https://wrong.host.badssl.com/ | iconv -f utf-8 -t gbk
+ % Total % Received % Xferd Average Speed Time Time Time Current
+ Dload Upload Total Spent Left Speed
+
+ 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 104.154.89.105:443...
+* TCP_NODELAY set
+* Connected to wrong.host.badssl.com (104.154.89.105) port 443 (#0)
+* ALPN, offering h2
+* ALPN, offering http/1.1
+} [5 bytes data]
+* TLSv1.3 (OUT), TLS handshake, Client hello (1):
+} [512 bytes data]
+* TLSv1.3 (IN), TLS handshake, Server hello (2):
+{ [108 bytes data]
+* TLSv1.2 (IN), TLS handshake, Certificate (11):
+{ [2897 bytes data]
+* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
+{ [333 bytes data]
+* TLSv1.2 (IN), TLS handshake, Server finished (14):
+{ [4 bytes data]
+* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
+} [70 bytes data]
+* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
+} [1 bytes data]
+* TLSv1.2 (OUT), TLS handshake, Finished (20):
+} [16 bytes data]
+
+ 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* TLSv1.2 (IN), TLS handshake, Finished (20):
+{ [16 bytes data]
+* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
+* ALPN, server accepted to use http/1.1
+* Server certificate:
+* subject: C=US; ST=California; L=Walnut Creek; O=Lucas Garron Torres; CN=*.badssl.com
+* start date: Mar 23 00:00:00 2020 GMT
+* expire date: May 17 12:00:00 2022 GMT
+* issuer: C=US; O=DigiCert Inc; CN=DigiCert SHA2 Secure Server CA
+* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
+} [5 bytes data]
+> GET / HTTP/1.1
+
+> Host: wrong.host.badssl.com
+
+> User-Agent: curl/7.67.0
+
+> Accept: */*
+
+>
+
+{ [5 bytes data]
+* Mark bundle as not supporting multiuse
+< HTTP/1.1 200 OK
+
+< Server: nginx/1.10.3 (Ubuntu)
+
+< Date: Fri, 07 May 2021 03:43:33 GMT
+
+< Content-Type: text/html
+
+< Content-Length: 500
+
+< Last-Modified: Tue, 23 Feb 2021 21:28:41 GMT
+
+< Connection: keep-alive
+
+< ETag: "60357389-1f4"
+
+< Cache-Control: no-store
+
+< Accept-Ranges: bytes
+
+<
+
+{ [500 bytes data]
+
+100 500 100 500 0 0 531 0 --:--:-- --:--:-- --:--:-- 540
+* Connection #0 to host wrong.host.badssl.com left intact
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="shortcut icon" href="/icons/favicon-red.ico"/>
+ <link rel="apple-touch-icon" href="/icons/icon-red.png"/>
+ <title>wrong.host.badssl.com</title>
+ <link rel="stylesheet" href="/style.css">
+ <style>body { background: red; }</style>
+</head>
+<body>
+<div id="content">
+ <h1 style="font-size: 12vw;">
+ wrong.host.<br>badssl.com
+ </h1>
+</div>
+
+</body>
+</html> \ No newline at end of file