summaryrefslogtreecommitdiff
path: root/other/write_file.txt
diff options
context:
space:
mode:
author董晓燕 <[email protected]>2021-06-03 09:55:45 +0000
committer董晓燕 <[email protected]>2021-06-03 09:55:45 +0000
commitac68e65f508799a0e555a240ae374d313a0a8d75 (patch)
tree2a339bbd8acd65e2fb235159cc9c5303ae5725b7 /other/write_file.txt
parent2f39b56d617e5fba2b8d73d81cd5e6d894f85352 (diff)
parent4667c668725ff7cb673c637a297c67283876d4d4 (diff)
Merge branch 'develop' into 'master'HEADmaster
Develop See merge request dongxiaoyan/gap_tsg_api!4
Diffstat (limited to 'other/write_file.txt')
-rw-r--r--other/write_file.txt97
1 files changed, 97 insertions, 0 deletions
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