curl命令总结

2023-05-16

curl no-cache
d:\Users\Administrator\Desktop\curl-7.73.0_3-win64-mingw\bin>curl -Iv http://abc.gkmang.cn:8081/index.php/login -H "Cache-Control: no-cache,no-store"

curl 指定host ip 访问页面或接口

curl -H 'Host:www.test.com' http://10.44.54.111/test.php

curl -x 10.44.54.111:80 http://www.test.com/test.php
 

-s,静默,不显示进度表。

-o /dev/null 请求输出重定向到/dev/null.

http: %{http_code}\n
dns: %{time_namelookup}s\n
redirect: %{time_redirect}s\n
time_namelookup: %{time_namelookup}\n 
time_connect: %{time_connect}\n  
time_appconnect: %{time_appconnect}\n  
time_redirect: %{time_redirect}\n  
time_pretransfer: %{time_pretransfer}\n  
time_starttransfer: %{time_starttransfer}\n  
size_download: %{size_download}bytes\n
speed_download: %{speed_download}B/s\n
----------\n 
time_total: %{time_total}\n

time_namelookup:DNS解析时间,从请求开始到DNS解析完毕所用的时间。

time_connect:连接时间,从开始到建立TCP连接完成所用时间,包括前边DNS解析时间,如果需要单纯的得到连接时间,time_connect时间减去time_namelookup时间。

time_appconnect:连接建立完成时间;如SSL/SSH等建立连接或者完成三次握手时间。

time_pretransfer:从开始到准备传输的时间。

time_starttransfer:开始传输时间。在client发出请求之后,web服务器返回数据的第一个字节所用的时间。

time_total:client发出请求到web的server发送完所有的相应的数据的时间。

参考:

使用 curl 命令分析请求的耗时情况 | Cizixs Write Herehttps://cizixs.com/2017/04/11/use-curl-to-analyze-request/

使用curl命令查看请求响应时间方法_zzhongcy的博客-CSDN博客_curl 请求时间

curl -Iv  -X GET -H "Content-Type: image/png" http://files.gkmang.cn:8081/remote.php/dav/files/admin/Nextcloud.png -u admin:admin -O

-o:将文件保存为命令行中指定的文件名的文件中

-O:使用URL中默认的文件名保存文件到本地。

curl host绑定ipv6站测试:

root@i-3pedyvud ~]# curl -6 -g -k -Iv "https://[XX07:c080:17ef:ffbb::7c46:XXX8]:443" -H "Host: www.xxx.com"
 

21端口不通,curl测试返回

D:\Users\Administrator\Desktop\curl-7.80.0-win64-mingw\bin>curl -v 139.198.40.94:21
*   Trying 139.198.40.94:21...
* connect to 139.198.40.94 port 21 failed: Timed out
* Failed to connect to 139.198.40.94 port 21 after 21006 ms: Timed out
* Closing connection 0
curl: (28) Failed to connect to 139.198.40.94 port 21 after 21006 ms: Timed out

22端口通,curl测试返回

D:\Users\Administrator\Desktop\curl-7.80.0-win64-mingw\bin>curl -v 139.198.40.94:22
*   Trying 139.198.40.94:22...
* Connected to 139.198.40.94 (139.198.40.94) port 22 (#0)
> GET / HTTP/1.1
> Host: 139.198.40.94:22
> User-Agent: curl/7.80.0
> Accept: */*
>
* Recv failure: Connection was reset
* Closing connection 0
curl: (56) Recv failure: Connection was reset

D:\Users\Administrator\Desktop\curl-7.80.0-win64-mingw\bin>
————————————————-------------------------------------------------

--http1.0,强制走http1.0,参考链接:https://explainshell.com/explain/1/curl

d:\Users\Administrator\Desktop\curl-7.80.0-win64-mingw\bin>curl -Iv --http1.0 http://2bbc.gkmang.cn:81/index.php/login

d:\Users\Administrator\Desktop\curl-7.80.0-win64-mingw\bin>curl -Iv -X POST http://139.198.40.94:8055/index.php/login

-X 请求协议

 --tls-max 1.2  ,最大的tls协议版本

d:\Users\Administrator\Desktop\curl-7.80.0-win64-mingw\bin>curl -Iv --tls-max 1.2 https://xxxxx/meetings/groups
*   Trying 121.xx.60.2x3:443...
* Connected to api.mindspore.cn (121.xx.60.2x3) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: d:\Users\Administrator\Desktop\curl-7.80.0-win64-mingw\bin\curl-ca-bundle.crt
*  CApath: none
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: CN=xxx.com
*  start date: Feb 17 06:21:49 2022 GMT
*  expire date: May 18 06:21:48 2022 GMT
*  subjectAltName: host "xxx.com" matched cert's "axx.mixxxxore.cn"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* Using Stream ID: 1 (easy handle 0x2055c7611f0)

D:\Users\Administrator\Desktop\curl-7.80.0-win64-mingw\bin>curl -Iv https://abc.gkmang.cn:8999 --resolve "abc.gkmang.cn:8999:36.41.188.74"
* Added abc.gkmang.cn:8999:36.41.188.74 to DNS cache
* Hostname abc.gkmang.cn was found in DNS cache
*   Trying 36.41.188.74:8999...
* Connected to abc.gkmang.cn (36.41.188.74) port 8999 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: D:\Users\Administrator\Desktop\curl-7.80.0-win64-mingw\bin\curl-ca-bundle.crt
*  CApath: none
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=abc.gkmang.cn
*  start date: Nov 11 00:00:00 2021 GMT
*  expire date: Nov 11 23:59:59 2022 GMT
*  subjectAltName: host "abc.gkmang.cn" matched cert's "abc.gkmang.cn"
*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=Encryption Everywhere DV TLS CA - G1
*  SSL certificate verify ok.
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> HEAD / HTTP/1.1
> Host: abc.gkmang.cn:8999
> User-Agent: curl/7.80.0
> Accept: */*
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Mark bundle as not supporting multiuse
< HTTP/1.1 302 Found
HTTP/1.1 302 Found
< Server: nginx/1.15.11
Server: nginx/1.15.11
< Date: Sun, 26 Dec 2021 09:54:59 GMT
Date: Sun, 26 Dec 2021 09:54:59 GMT
< Content-Type: text/html; charset=UTF-8
Content-Type: text/html; charset=UTF-8
< Location: https://abc.gkmang.cn:8999/index.php/login
Location: https://abc.gkmang.cn:8999/index.php/login
< Connection: keep-alive
Connection: keep-alive
< Referrer-Policy: no-referrer
Referrer-Policy: no-referrer
< X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
< X-Download-Options: noopen
X-Download-Options: noopen
< X-Frame-Options: SAMEORIGIN
X-Frame-Options: SAMEORIGIN
< X-Permitted-Cross-Domain-Policies: none
X-Permitted-Cross-Domain-Policies: none
< X-Robots-Tag: none
X-Robots-Tag: none
< X-XSS-Protection: 1; mode=block
X-XSS-Protection: 1; mode=block
< X-Powered-By: PHP/7.4.26
X-Powered-By: PHP/7.4.26
< Set-Cookie: oca2342yra66=08dhaqkr27r892nc4jgqtv2dhe; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: oca2342yra66=08dhaqkr27r892nc4jgqtv2dhe; path=/; secure; HttpOnly; SameSite=Lax
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: no-store, no-cache, must-revalidate
< Pragma: no-cache
Pragma: no-cache
< Set-Cookie: oc_sessionPassphrase=FEjovtgEAk1KdqB1I3XpMENDJwDAZimEUNJWUdhYPC03i3WVzc7p%2F7kylDMKhUf%2BtEfYYko%2B22z3buBwGzWK%2Fy5h1E%2BupAEYN9urfAk1VPa9AM0ns6DxH9e6y0pTTM5y; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: oc_sessionPassphrase=FEjovtgEAk1KdqB1I3XpMENDJwDAZimEUNJWUdhYPC03i3WVzc7p%2F7kylDMKhUf%2BtEfYYko%2B22z3buBwGzWK%2Fy5h1E%2BupAEYN9urfAk1VPa9AM0ns6DxH9e6y0pTTM5y; path=/; secure; HttpOnly; SameSite=Lax
< Set-Cookie: oca2342yra66=cabh3lam1gpce68rcvrqvca0um; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: oca2342yra66=cabh3lam1gpce68rcvrqvca0um; path=/; secure; HttpOnly; SameSite=Lax
< Content-Security-Policy: default-src 'self'; script-src 'self' 'nonce-a0xHcitJeHczZGtORVNBSnBUdStIZ0RzKzVpWXBPY0ZpbW5PYnFsSFdIbz06NXVqUGl2bzZzNVJaSkhWaTVHSFJSM1dId3ZMczZOWjJ4MUNYSE1Jb2FnQT0='; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src *; object-src 'none'; base-uri 'self';
Content-Security-Policy: default-src 'self'; script-src 'self' 'nonce-a0xHcitJeHczZGtORVNBSnBUdStIZ0RzKzVpWXBPY0ZpbW5PYnFsSFdIbz06NXVqUGl2bzZzNVJaSkhWaTVHSFJSM1dId3ZMczZOWjJ4MUNYSE1Jb2FnQT0='; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src *; object-src 'none'; base-uri 'self';
< Set-Cookie: __Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax
Set-Cookie: __Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax
< Set-Cookie: __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict
Set-Cookie: __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict

<
* Connection #0 to host abc.gkmang.cn left intact

D:\Users\Administrator\Desktop\curl-7.80.0-win64-mingw\bin>

Curl测试加密套件:(底下加密套件写法须是小写)

[root@i-3pedyvud abcgkmangcn]# curl -Iv --cipher ecdhe_rsa_aes_128_gcm_sha_256 https://abc.gkmang.cn:8999/index.php/login
* About to connect() to abc.gkmang.cn port 8999 (#0)
*   Trying 36.41.188.74...
* Connected to abc.gkmang.cn (36.41.188.74) port 8999 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate:
*     subject: CN=abc.gkmang.cn
*     start date: 11月 11 00:00:00 2021 GMT
*     expire date: 11月 11 23:59:59 2022 GMT
*     common name: abc.gkmang.cn
*     issuer: CN=Encryption Everywhere DV TLS CA - G1,OU=www.digicert.com,O=DigiCert Inc,C=US
> HEAD /index.php/login HTTP/1.1
> User-Agent: curl/7.29.0
> Host: abc.gkmang.cn:8999
> Accept: */*

< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Server: nginx/1.15.11
Server: nginx/1.15.11
< Date: Wed, 26 Jan 2022 03:17:17 GMT
Date: Wed, 26 Jan 2022 03:17:17 GMT
< Content-Type: text/html; charset=UTF-8
Content-Type: text/html; charset=UTF-8
< Content-Length: 11946
Content-Length: 11946
< Connection: keep-alive
Connection: keep-alive
< Referrer-Policy: no-referrer
Referrer-Policy: no-referrer
< X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
< X-Download-Options: noopen
X-Download-Options: noopen
< X-Frame-Options: SAMEORIGIN
X-Frame-Options: SAMEORIGIN
< X-Permitted-Cross-Domain-Policies: none
X-Permitted-Cross-Domain-Policies: none
< X-Robots-Tag: none
X-Robots-Tag: none
< X-XSS-Protection: 1; mode=block
X-XSS-Protection: 1; mode=block
< X-Powered-By: PHP/7.4.26
X-Powered-By: PHP/7.4.26
< Set-Cookie: oca2342yra66=e8pjmr45homd6csnt5eoa0u0vf; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: oca2342yra66=e8pjmr45homd6csnt5eoa0u0vf; path=/; secure; HttpOnly; SameSite=Lax
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Cache-Control: no-cache, no-store, must-revalidate
Cache-Control: no-cache, no-store, must-revalidate
< Pragma: no-cache
Pragma: no-cache
< Set-Cookie: oc_sessionPassphrase=2HZfS60sv2xBzfiMeWv8TDWg3tiMgrECPGqFJTs%2F%2B2gOdsmBhXdS9HkgVJoqLyFJy%2FmYQ%2FqplYxVsGTIgH%2BssQyHDd3xhuQu6aC7iJufw9cG%2FtGqMzh%2BENQtFQirR70m; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: oc_sessionPassphrase=2HZfS60sv2xBzfiMeWv8TDWg3tiMgrECPGqFJTs%2F%2B2gOdsmBhXdS9HkgVJoqLyFJy%2FmYQ%2FqplYxVsGTIgH%2BssQyHDd3xhuQu6aC7iJufw9cG%2FtGqMzh%2BENQtFQirR70m; path=/; secure; HttpOnly; SameSite=Lax
< Set-Cookie: oca2342yra66=kpuiapdnevpjthoiko4d6goi11; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: oca2342yra66=kpuiapdnevpjthoiko4d6goi11; path=/; secure; HttpOnly; SameSite=Lax
< Content-Security-Policy: default-src 'none';base-uri 'none';manifest-src 'self';script-src 'self';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src 'self' data:;connect-src 'self';media-src 'self';frame-src 'self';frame-ancestors 'self';worker-src 'self' blob:;form-action 'self'
Content-Security-Policy: default-src 'none';base-uri 'none';manifest-src 'self';script-src 'self';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src 'self' data:;connect-src 'self';media-src 'self';frame-src 'self';frame-ancestors 'self';worker-src 'self' blob:;form-action 'self'
< Set-Cookie: __Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax
Set-Cookie: __Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax
< Set-Cookie: __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict
Set-Cookie: __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict
< Feature-Policy: autoplay 'self';camera 'none';fullscreen 'self';geolocation 'none';microphone 'none';payment 'none'
Feature-Policy: autoplay 'self';camera 'none';fullscreen 'self';geolocation 'none';microphone 'none';payment 'none'


* Connection #0 to host abc.gkmang.cn left intact
[root@i-3pedyvud abcgkmangcn]# 

Curl测试加密套件:(底下加密套件写法须是小写)

[root@i-3pedyvud ~]# curl -Iv --cipher ecdhe_rsa_aes_256_gcm_sha_384 https://abc.gkmang.cn:8999/index.php/login
* About to connect() to abc.gkmang.cn port 8999 (#0)
*   Trying 36.41.188.74...
* Connected to abc.gkmang.cn (36.41.188.74) port 8999 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate:
*     subject: CN=abc.gkmang.cn
*     start date: 11月 11 00:00:00 2021 GMT
*     expire date: 11月 11 23:59:59 2022 GMT
*     common name: abc.gkmang.cn
*     issuer: CN=Encryption Everywhere DV TLS CA - G1,OU=www.digicert.com,O=DigiCert Inc,C=US
> HEAD /index.php/login HTTP/1.1
> User-Agent: curl/7.29.0
> Host: abc.gkmang.cn:8999
> Accept: */*

< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Server: nginx/1.15.11
Server: nginx/1.15.11
< Date: Wed, 26 Jan 2022 03:20:58 GMT
Date: Wed, 26 Jan 2022 03:20:58 GMT
< Content-Type: text/html; charset=UTF-8
Content-Type: text/html; charset=UTF-8
< Content-Length: 11946
Content-Length: 11946
< Connection: keep-alive
Connection: keep-alive
< Referrer-Policy: no-referrer
Referrer-Policy: no-referrer
< X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
< X-Download-Options: noopen
X-Download-Options: noopen
< X-Frame-Options: SAMEORIGIN
X-Frame-Options: SAMEORIGIN
< X-Permitted-Cross-Domain-Policies: none
X-Permitted-Cross-Domain-Policies: none
< X-Robots-Tag: none
X-Robots-Tag: none
< X-XSS-Protection: 1; mode=block
X-XSS-Protection: 1; mode=block
< X-Powered-By: PHP/7.4.26
X-Powered-By: PHP/7.4.26
< Set-Cookie: oca2342yra66=oq1bobcvdf03nq45n12o3trs45; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: oca2342yra66=oq1bobcvdf03nq45n12o3trs45; path=/; secure; HttpOnly; SameSite=Lax
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Cache-Control: no-cache, no-store, must-revalidate
Cache-Control: no-cache, no-store, must-revalidate
< Pragma: no-cache
Pragma: no-cache
< Set-Cookie: oc_sessionPassphrase=0dqQGRkmkGehyhn6zXxCoY49JoYY9RFzWa4uZSMO80sI2Yb5zo3nG%2FZrRmo2Fr1peAbnpNQx2J5rqNnseTDoH7HVvjuc3wI2lSjUlWPw2JqIY5TrrE6DFbKHRsKlK82%2B; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: oc_sessionPassphrase=0dqQGRkmkGehyhn6zXxCoY49JoYY9RFzWa4uZSMO80sI2Yb5zo3nG%2FZrRmo2Fr1peAbnpNQx2J5rqNnseTDoH7HVvjuc3wI2lSjUlWPw2JqIY5TrrE6DFbKHRsKlK82%2B; path=/; secure; HttpOnly; SameSite=Lax
< Set-Cookie: oca2342yra66=m942dpt0u1rfi2g8h39qs6ctkh; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: oca2342yra66=m942dpt0u1rfi2g8h39qs6ctkh; path=/; secure; HttpOnly; SameSite=Lax
< Content-Security-Policy: default-src 'none';base-uri 'none';manifest-src 'self';script-src 'self';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src 'self' data:;connect-src 'self';media-src 'self';frame-src 'self';frame-ancestors 'self';worker-src 'self' blob:;form-action 'self'
Content-Security-Policy: default-src 'none';base-uri 'none';manifest-src 'self';script-src 'self';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src 'self' data:;connect-src 'self';media-src 'self';frame-src 'self';frame-ancestors 'self';worker-src 'self' blob:;form-action 'self'
< Set-Cookie: __Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax
Set-Cookie: __Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax
< Set-Cookie: __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict
Set-Cookie: __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict
< Feature-Policy: autoplay 'self';camera 'none';fullscreen 'self';geolocation 'none';microphone 'none';payment 'none'
Feature-Policy: autoplay 'self';camera 'none';fullscreen 'self';geolocation 'none';microphone 'none';payment 'none'


* Connection #0 to host abc.gkmang.cn left intact
[root@i-3pedyvud ~]# 
 

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

curl命令总结 的相关文章

  • 对.net事件的看法

    一 事件的本质 事件是软件系统里的两个子系统之间 xff0c 或者两个模块之间 xff0c 或者两个对象之间发送消息 xff0c 并处理消息的过程 在面向对象的世界里 xff0c 就可以统一认为是两个对象之间的行为 两个对象之间发送的这种消
  • 深入理解module.exports、exports、require、export、export default、import

    前言 xff1a 说到module exports exports require export export default import这些 xff0c 有一点我们是必须要提一下的 xff0c 就是模块化编程方式 以上这些都是模块之间的
  • 服务器安全设置Centos7 防火墙firewall与iptables

    一 gt gt gt gt gt gt 启用centos7 iptables防火墙Centos7 防火墙firewall设置方法 我们Sinesafe在处理客户服务器Linux Centos7 64位系统里配置防火墙安全设置需要选择2种方案
  • VTK基本概念之坐标系统

    坐标系统 在实际开发中 xff0c 必须理解不同坐标系统之间的关系 计算机图形学里常用的四种坐标系 xff1a Model坐标系 Word坐标系 View坐标系和Display坐标系统 xff0c 转换关系如下图所示 VTK支持多种不同类型
  • STM32学习(蜂鸣器实验)

    蜂鸣器硬件电路连接 蜂鸣器软件设计 库函数 使能输入输出口时钟 调用函数RCC AHB1PeriphClockCmd 初始化输入输出口模式 调用函数GPIO Init 操作输入输出口 xff0c 输出高低电平 beep h ifdef BE
  • Esxi\CentOS7.6虚机\2080ti驱动 Unable to determine the device handle for GPU 0000:0B:00:00: Unknown ERROR

    整体背景 服务器使用Esxi虚拟出CentOS7 6的虚机 xff0c 然后在虚机中给2080ti显卡安装驱动 安装过程 1 配置显卡直通 此部分由运维完成 xff0c 未参与其中 xff0c 可参考攻略 xff1a https blog
  • 从断舍离中整理生活

    前言 公众号有一个多月未更文 xff0c 主要思考了后续更文的方向 xff0c 最终确定了以读书笔记分享为主题 xff0c 和大家一起学习 一起成长 今天开始 xff0c 每周至少更新一篇文章 xff0c 大家有想看的书可以在后台留言 xf
  • Android Studio升级到 3.2.0,部分依赖库报错 android.arch.lifecycle:runtime:1.0.3,解决办法

    Android Studio升级到 3 2 0 xff0c 部分依赖库报错 问题描述 xff1a Cannot find a version of android arch lifecycle runtime that satisfies
  • OpenCV4.7.0、FFmpeg5.1 Nvidia GPU视频硬解码

    1 环境 操作系统 xff1a Ubuntu18 04 GPU xff1a Nvidia GeForce RTX 2080TI 2 安装2080TI驱动 请参考文章 158条消息 NVIDIA GPU 驱动程序安装 洪流之源的博客 CSDN
  • MQ-2烟雾传感器的使用

    一 MQ 2烟雾传感器简介 MQ 2 烟雾传感器采用在清洁空气中电导率较低的二氧化锡 SnO2 xff0c 属于表面离子式N型半导体 当MQ 2烟雾传感器在200到300摄氏度环境时 xff0c 二氧化锡吸附空气中的氧 xff0c 形成氧的
  • HC-SR04超声波测距模块介绍

    超声波简介 超声波是由机械振动产生的 可在不同介质中以不同的速度传播 具有定向性好 能量集中 传输过程中衰减较小 反射能力较强等优点 超声波传感器可广泛应用于非接触式检测方法 它不受光线 被测物颜色等影响 对恶劣的工作环境具有一定的适应能力
  • 液晶12864显示图片

    液晶12864简介 12864是128 64点阵液晶模块的点阵数简称 基本参数 1 低电源电压 xff08 VDD 43 3 0 xff5e 43 5 5V xff09 2 显示分辨率 128 64 点 3 内置汉字字库 xff0c 提供8
  • 液晶12864显示字符

    液晶12864简介 12864是128 64点阵液晶模块的点阵数简称 基本参数 1 低电源电压 xff08 VDD 43 3 0 xff5e 43 5 5V xff09 2 显示分辨率 128 64点 3 内置汉字字库 xff0c 提供81
  • Bash:command:未找到命令

    前言 在Linux系统中 xff0c 经常会遇到这样的问题 xff1a bash xff1a command xff1a 未找到命令 这个真的很烧脑 xff0c 遇到的次数多 xff0c 在网上也查了好多 xff0c 答案五花八门 xff0
  • S32K148----SDK笔记----CAN收发

    文章目录 前言建立工程ProcessorExpert配置发送CAN报文CAN接收中断工程代码微信公众号 前言 S32K148自带3路CAN 官方的SDK给了can pal的例程 本文更基础一点 直接用flexcan组件相关的函数 CANFD
  • TC397开发板KIT_A2G_TC397_5V_TFT简介

    开发板简介 照片资料调试资源供电扩展CAN 用的开发板是KIT A2G TC397 5V TFT 其实更推荐KIT A2G TC397 3V3 TFT 售价 1 670 59 照片 正面 背面 5V的板子和3 3V的板子主要是下面几个器件不
  • AURIX TC397 Flash编程

    目录 Flash编程基础知识Flash Programming微信公众号 Flash编程基础知识 参考 Flash Programming 1 for KIT AURIX TC397 TFT 本例展示了如何烧写PFLASH Program
  • 周立功USBCAN-II的Python调用

    目录 USBCAN II环境配置CAN收发运行zcanpro微信公众号 USBCAN II USBCAN II 或者叫USBCAN2是周立功 致远电子 比较经典的USB接口的CAN卡 有两路标准CAN 最高支持到1M波特率 单用USB就可以
  • 拒绝丧偶式育儿,正确「养育男孩」

    前言 如何养育男孩 xff1f 当写下这几个字的时候 xff0c 我已在心里默念了好几遍 xff0c 不知道该如何回答 在2年前的某个凌晨2点18分 xff0c 第一声婴儿地啼哭 xff0c 护士告诉我 是个男孩 开始 xff0c 我就买了
  • Pandoc 多Markdown转单PDF

    文章目录 Pandoc 简介Pandoc 安装pandoc latex template字体安装Powershell 脚本Ubuntu PandocMarkdown 合并 Pandoc 简介 Pandoc 免费的文档转换器 支持常见的各种文

随机推荐

  • SocketCAN 命名空间 VCAN VXCAN CANGW 举例

    文章目录 NAMESPACESocketCAN最新 can utils 安装VCAN 举例VXCAN 举例CANGW 举例参考 NAMESPACE namespaces 命名空间 将全局系统资源包装在抽象中 使命名空间中的进程看起来拥有自己
  • slcan 协议 脚本 测试

    文章目录 slcan 协议kernel slcancan utils slcanptycan utils slcandcan utils slcan attachpython slcan slcan 协议 slcan 基于文本 ASCII
  • Notepad++直接编译运行Java

    安装Notepad 43 43 和JDK xff08 略 xff09 xff1b Notepad 43 43 的菜单栏 xff1a 插件 gt Plugin Manager gt Show Plugin Manager xff0c Avai
  • 几款自带编码器的直流电机

    不少小伙伴做两轮自平衡车或者机器人或者各种比赛时 xff0c 经常需要用到直流电机带编码器 xff0c 有的自己可以做外置的编码器 xff0c 但是否有自带编码器或码盘的直流电机 xff1f 答案是肯定的 xff0c 这里就推荐几款带编码器
  • 四大编辑器 -- Sublime, Atom, VS Code和Notepad++

    主要介绍3个跨平台的 Sublime Atom VS Code 一个Windows的 Notepad 43 43 Sublime Text 官网 https www sublimetext com Sublime Text is a sop
  • AD绘制四层板

    原理图导入PCB后 默认是双层板 可以Design gt Layer Stack Manager 点击Top Layer 然后点击Add Plane 负片层 电脑上在此层走线表示把铜挖空 这里把一整层都当作GND 非GND的过孔打到这一层
  • 群晖(Synology)配置 NAS + 软路由

    文章目录 背景结论软路由配置 背景 老板上周兴致勃勃的找到我 说Macbook存储不够用了 帮他找个存东西的 不是移动硬盘 我也很懵逼 我搞活动捡便宜充的百度网盘超级会员 觉得自己很是尾巴翘上天的土豪了 但想到老板的身价 又不太清楚macb
  • 各种类型的Writable

    各种类型的Writable xff08 Text ByteWritable NullWritable ObjectWritable GenericWritable ArrayWritable MapWritable SortedMapWri
  • C++ strtok的用法

    size 61 large align 61 center strtok的用法 align size 函数原型 xff1a char strtok char s char delim 函数功能 xff1a 把字符串s按照字符串delim进行
  • 读《遇见未知的自己》笔记

    为什么我不快乐 xff1f 为什么我不能拥有自己想要的生活 xff1f 此刻屏幕前的你 是否想过 xff0c 自己为什么会出现这种情况呢 xff1f 张德芬在 遇见未知的自己 一书给出了解释 xff1a 我们人类所有受苦的根源就是来自不清楚
  • PX4飞控问题汇总

    接触PX4飞控代码一年多了 xff0c 代码都是模块化 开发起来比APM的方便 xff0c 使用过程中也出现过各种怪异问题 xff0c 用的硬件是V5 nano 和V5 43 xff0c 测试的代码版本是1 9和1 10 今天总结一下遇到过
  • Sumo 搭建交叉路口交通流仿真平台

    Sumo安装 注意事项 xff1a 需要工具的使用需要环境变量的设置 需要包含文件Sumo安装路径下的bin和tools Sumo配置文件 Sumo中项目的配置文件的组成如下所示 节点文件 图 1 节点及边的拓扑图 Node的属性主要有id
  • OpenWRT 各种烧录方式及量产(三)

    界面烧录 不更新uboot 电脑连接WIFI xff08 或者通过网线连接电脑与路由器 xff09 通过浏览器访问路由器管理界面 xff0c 进行升级 注意不要断电 xff01 xff01 xff01 xff08 断电只能通过tftp方式恢
  • 华为手机root

    首先手机已解锁 xff42 xff4c 此方法针对 华为手机 可使用 xff0c 其他手机没有测试 xff0c 但应该也可以 官方的twrp没有对mate xff19 进行配适 xff0c 可以使用奇兔 twrp 提取码 ax6d 如果你没
  • 阿里云ubuntu 16.04 Server配置方案 2 远程控制桌面

    通过远程控制 xff0c 更好的管理服务器 1 XRDP远程控制 为了更好的远程管理 xff0c linux一般情况都用VNC进行远程连接 xff0c 如 TightVNC X11VNC ReadVNC等 Xrdp 是开放原始码的远端桌面通
  • 自顶向下(top down)简介

    无论是在实际生活中还是在学术问题上 xff0c 复杂的问题比比皆是 xff0c 当我们对此类问题毫无头绪的时候 xff0c 自顶向下 xff08 top down xff09 为我们提供了一种可靠的解决方法 自顶向下法将复杂的大问题分解为相
  • SecureCRT图形界面(通过设置调用Xmanager - Passive程序)

    首先 xff0c 在服务器进行设置 如果服务器是图形化界面启动的 xff0c xhost 43 命令可以不用执行 root 64 test xhost 43 xhost unable to open display 34 34 设置disp
  • 一种GPS辅助的多方位相机的VIO——Slam论文阅读

    34 A GPS aided Omnidirectional Visual Inertial State Estimator in Ubiquitous Environments 34 论文阅读 这里写目录标题 34 A GPS aided
  • docker & LXC

    目录 一 LXC1 了解Docker的前生LXC2 LXC与docker的关系3 与传统虚拟化对比4 LXC部署4 1 安装LXC软件包和依赖包4 2 启动服务4 3 创建虚拟机 5 LXC常用命令 二 doker1 什么是docker2
  • curl命令总结

    curl no cache d Users Administrator Desktop curl 7 73 0 3 win64 mingw bin gt curl Iv http abc gkmang cn 8081 index php l