无忧启动论坛

标题: 最早的Win10系统自带的curl版本是多少 [打印本页]

作者: 2013kyj    时间: 2024-9-19 14:27
标题: 最早的Win10系统自带的curl版本是多少
我现在在搞一个脚本, 脚本需要的curl最低版本为7.76, 请求路过的, 正在安装原始win10的大佬帮看一下, 在cmd命令行下, 输入curl -V 就可以查看版本, 谢谢

作者: szwp    时间: 2024-9-19 14:41
最早的Win10不带curl
作者: nttwqz    时间: 2024-9-19 16:16
那你直接检测curl版本不就好了,不行了带一个,批处理是可以内置文件的,或者没有拒绝执行
作者: as8686886    时间: 2024-9-19 17:10
C:\Users\Administrator>curl -V
curl 8.0.1 (Windows) libcurl/8.0.1 Schannel WinIDN
Release-Date: 2023-03-20
Protocols: dict file ftp ftps http https imap imaps pop3 pop3s smtp smtps telnet tftp
Features: AsynchDNS HSTS HTTPS-proxy IDN IPv6 Kerberos Largefile NTLM SPNEGO SSL SSPI threadsafe Unicode UnixSockets
作者: l3429900    时间: 2024-9-19 17:10
WIN10 ITSC 2021 是8.4.0版本
作者: dianji2004    时间: 2024-9-19 17:24
C:\Users\Administrator>curl -V
curl 7.83.1 (Windows) libcurl/7.83.1 Schannel
Release-Date: 2022-05-13
Protocols: dict file ftp ftps http https imap imaps pop3 pop3s smtp smtps telnet tftp
Features: AsynchDNS HSTS IPv6 Kerberos Largefile NTLM SPNEGO SSL SSPI UnixSockets
作者: 2013kyj    时间: 2024-9-19 17:28
多谢楼主的各位坛友, 看样子你们的系统都更新了, 老版的win10发布日期应该有的是2019年以前
作者: 2013kyj    时间: 2024-9-19 17:35
szwp 发表于 2024-9-19 14:41
最早的Win10不带curl

是吗?  但是是不是只要更新过补丁, curl就会自动更新新版本?
作者: szwp    时间: 2024-9-19 17:45
2013kyj 发表于 2024-9-19 17:35
是吗?  但是是不是只要更新过补丁, curl就会自动更新新版本?

最早的早就停更了
作者: zlq_hysy    时间: 2024-9-19 19:09
Microsoft Windows [版本 10.0.19044.4780]
(c) Microsoft Corporation。保留所有权利。

C:\Users\Administrator>curl -V
curl 8.7.1 (Windows) libcurl/8.7.1 Schannel zlib/1.3 WinIDN
Release-Date: 2024-03-27
Protocols: dict file ftp ftps http https imap imaps ipfs ipns mqtt pop3 pop3s smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS HSTS HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM SPNEGO SSL SSPI threadsafe Unicode UnixSockets

C:\Users\Administrator>
作者: Weren    时间: 2024-9-19 23:35
Microsoft Windows [版本 10.0.19044.1586]
(c) Microsoft Corporation。保留所有权利。

C:\Windows\system32>curl -V
curl 7.79.1 (Windows) libcurl/7.79.1 Schannel
Release-Date: 2021-09-22
Protocols: dict file ftp ftps http https imap imaps pop3 pop3s smtp smtps telnet tftp
Features: AsynchDNS HSTS IPv6 Kerberos Largefile NTLM SPNEGO SSL SSPI UnixSockets
作者: martin313    时间: 2024-9-20 08:49
在 Windows 上使用 curl,通常需要确保你的系统已经安装了它。从 Windows 10 1809 版本开始,Microsoft 已经在 Windows 10 中内置了 curl。对于早期版本的 Windows,你可能需要从 Cygwin、Git Bash、Windows Subsystem for Linux (WSL) 或其他第三方源下载并安装 curl。

作者: 孟仁飞    时间: 2024-9-20 10:53
学习
作者: likeyouli    时间: 2024-9-20 11:38
本帖最后由 likeyouli 于 2024-9-20 11:41 编辑

>curl --version
curl 8.7.1 (Windows) libcurl/8.7.1 Schannel zlib/1.3 WinIDN
Release-Date: 2024-03-27
Protocols: dict file ftp ftps http https imap imaps ipfs ipns mqtt pop3 pop3s smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS HSTS HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM SPNEGO SSL SSPI threadsafe Unicode UnixSockets
   奇怪了,win11 24H2  竟然不能用 curl -v,,
   curl -v
curl: (2) no URL specified
curl: try 'curl --help' for more information

作者: szwp    时间: 2024-9-20 14:21
likeyouli 发表于 2024-9-20 11:38
>curl --version
curl 8.7.1 (Windows) libcurl/8.7.1 Schannel zlib/1.3 WinIDN
Release-Date: 2024-03- ...

用大写V
作者: likeyouli    时间: 2024-9-20 14:38
szwp 发表于 2024-9-20 14:21
用大写V

谢谢。
原来 两个短杠--后边可以用小写,但必须写全;一个短杠-后边必须用大写。
   也就是说可以用 --version 或 -VERSION 或 -V,一个短杠后边可以是大写的V 或 VERSION。
     
作者: szwp    时间: 2024-9-20 15:36
likeyouli 发表于 2024-9-20 14:38
谢谢。
原来 两个短杠--后边可以用小写,但必须写全;一个短杠-后边必须用大写。
   也就是说可以用 - ...

和24H2没啥关系
作者: mtv01    时间: 2024-9-24 14:12
curl -V
curl 8.7.1 (Windows) libcurl/8.7.1 Schannel zlib/1.3 WinIDN
Release-Date: 2024-03-27
Protocols: dict file ftp ftps http https imap imaps ipfs ipns mqtt pop3 pop3s smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS HSTS HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM SPNEGO SSL SSPI threadsafe Unicode UnixSockets
作者: mtv01    时间: 2024-9-24 14:12
curl -help
Usage: curl [options...] <url>
-d, --data <data>           HTTP POST data
-f, --fail                  Fail fast with no output on HTTP errors
-h, --help <category>       Get help for commands
-i, --include               Include response headers in output
-o, --output <file>         Write to file instead of stdout
-O, --remote-name           Write output to file named as remote file
-s, --silent                Silent mode
-T, --upload-file <file>    Transfer local FILE to destination
-u, --user <user:password>  Server user and password
-A, --user-agent <name>     Send User-Agent <name> to server
-v, --verbose               Make the operation more talkative
-V, --version               Show version number and quit

This is not the full help, this menu is stripped into categories.
Use "--help category" to get an overview of all categories.
For all options use the manual or "--help all".
作者: mtv01    时间: 2024-9-24 14:14
cURL 8.7.1 版本已被发现存在一些安全漏洞。通常,安全漏洞可能会涉及以下几种类型:

缓冲区溢出:可能导致代码执行或服务崩溃。
信息泄露:可能允许攻击者获取敏感信息。
认证绕过:可能使未授权用户访问受保护资源。




欢迎光临 无忧启动论坛 (http://wuyou.net./) Powered by Discuz! X3.3