无忧启动论坛

标题: 支持命令行的带下载界面UI的超小工具HTTP_Downloader能给pe白嫖软件和系统镜像等使用 [打印本页]

作者: sairen139    时间: 2023-10-8 13:32
标题: 支持命令行的带下载界面UI的超小工具HTTP_Downloader能给pe白嫖软件和系统镜像等使用
本帖最后由 sairen139 于 2023-10-29 13:39 编辑

支持命令行的带下载界面UI的超小工具HTTP_Downloader能给pe白嫖软件和系统镜像等使用
该工具支持拆分100来加速下载,举个下载360极速浏览器X的例子如下所示:

@echo off&mode con: cols=77 lines=1&title 360chromeX

ren "X:\Users\Default\Desktop\浏览器.lnk" "360 极速浏览器X.lnk"

if not exist "%ProgramFiles%\360csex_setup.exe" X:\Users\Default\Desktop\HD.exe --shutdown-action 1 --immediate --parts 100 --url https://down.360safe.com/cse/360csex_setup.exe --output-directory "X:\Program Files"

if exist "%ProgramFiles%\360csex_setup.exe" Start /wait "" "%ProgramFiles%\360csex_setup.exe" --silent-install=3_1_1 --homepage="https://www.Baidu.com/"

Start X:\Users\Default\AppData\Local\360ChromeX\Chrome\Application\360chromeX.exe --disable-infobars --autoplay-policy=no-user-gesture-required --disable-background-networking "https://www.bidianer.com/" --no-first-run --no-default-browser-check

del /f /q "%ProgramFiles%\360csex_setup.exe"




上面是我在pe里的私人定制点击桌面浏览器图标下载360极速浏览器X安装包然后静默安装该浏览器,然后再指定主页和第一次打开的页面,其实HTTP_Downloader分100部分下载360极速浏览器X安装包到指定"X:\Program Files"文件夹下载完自动关闭HTTP_Downloader下载进度界面生效的语句只有一句如下:
X:\Users\Default\Desktop\HD.exe --shutdown-action 1 --immediate --parts 100 --url https://down.360safe.com/cse/360csex_setup.exe --output-directory "X:\Program Files"
链接: https://pan.baidu.com/s/1eE7eyArcPYUeu5gi7FmJAQ?pwd=8864 提取码: 8864 请下载网盘里的  【!点击桌面浏览器图标命令行调用HTTP_Downloader下载浏览器BOOT.WIM】  这个pe文件使用。

sshot-001.png (269.34 KB, 下载次数: 61)

pe里的点击桌面浏览器图标下载60极速浏览器X安装包然后静默安装该浏览器时随手截图一张

pe里的点击桌面浏览器图标下载60极速浏览器X安装包然后静默安装该浏览器时随手截图一张

HD.exe

508.5 KB, 下载次数: 68, 下载积分: 无忧币 -2

HTTP_Downloader纯64位

HTTP_Downloader32.exe

422 KB, 下载次数: 46, 下载积分: 无忧币 -2

HTTP_Downloader32位


作者: sairen139    时间: 2023-10-8 13:32
本帖最后由 sairen139 于 2023-10-9 06:55 编辑

  HTTP Downloader 是一个高性能的多部分下载管理器。您一次最多可以开始、暂停、停止和排队下载 100 次。每个下载可以分成 100 个部分。那是 10,000 个连接!
  将链接拖放到程序的主窗口中,或者选择文件>添加 URL...以打开添加 URL窗口。从这里您可以选择下载位置来保存文件。该高级复选框允许您配置的下载目录,零件数量来分割每个下载的SSL / TSL版本来使用HTTPS连接,认证信息(基本或摘要),以及任何必要的饼干,头和POST数据。您还可以配置代理来下载添加的 URL。单击“下载”按钮将开始下载。如果您想在不启动下载的情况下添加下载,您可以单击添加按钮代替。添加 URL 窗口中的高级配置设置将覆盖站点管理器设置和选项中的默认设置。多主机/镜像下载可以通过用大括号对 URL 进行分组来启动:{和} 组中的第一个 URL 将驱动下载并用于确定文件的大小以及如何分发下载其他 URL 之间的部分。大括号需要在自己的行上。
下面是本帖有关的命令行部分操作说明如下:
  --base-directory [path] --保存程序的设置和历史记录的目录。
  --portable --以可移植模式运行程序,并将其设置和历史记录保存在与可执行文件相同的目录中。你可以选择在与可执行文件相同的目录下创建一个名为 "portable "的无扩展名文件。
  --url -- 一个要下载的URL。
  --output-directory [path] - 保存下载文件的目录。
  --parts [1-100] - 设定下载将被分割成的部分数量。
  --speed-limit --设置下载速度限制(以字节为单位)。
  --encryption [0-4] - 设置安全连接时将使用的加密方式。0 = 默认,1 = SSL 2.0,2 = SSL 3.0,3 = TLS 1.0,4 = TLS 1.1,5 = TLS 1.2
  --username --需要认证的请求的用户名。
  --password --需要认证的请求的密码。
  --cookie-string --在连接请求中包括一个cookie字符串。
  --header-field --在连接请求中包括一个头域(名称和值)。
  --post-data --在请求中包括POST数据(URL编码)。该请求将作为一个POST请求而不是GET请求。
  --simulate --下载URL(s)而不保存到磁盘上。
  --add-stopped --在停止状态下添加URL,不显示添加URL的窗口。
  --immediate --开始下载URL,不显示添加URL的窗口。
  --url-list [path] --一个文本文件,包含要下载的URL列表。
  --download-history [path] --导入一个HTTP下载器历史文件。
  --proxy-type [0-4] - 设置要使用的代理类型。0 = 默认, 1 = HTTP, 2 = HTTPS, 3 = SOCKS v4, 4 = SOCKS v5
  --proxy-ip-address [0.0.0.0-255.255.255] -代理的IP地址。
  --proxy-hostname --代理的主机名。
  --proxy-port [1-65535] -代理的端口。
  --proxy-username --指定登录代理的用户名。
  --proxy-password --指定登录代理的密码。
  --proxy-resolve-domain-names --如果使用SOCKS代理,那么代理将解析域名。
  --shutdown-action [0-8] - 设定所有下载完成后的关闭动作。0 = 默认, 1 = 退出程序, 2 = 注销, 3 = 锁定, 4 = 重启, 5 = 睡眠, 6 = 休眠, 7 = 关闭, 8 = 混合关闭

作者: sairen139    时间: 2023-10-8 13:32
本帖最后由 sairen139 于 2023-10-8 19:54 编辑

INetGet下载依赖文件cryptnet.dll和ncryptprov.dll和ncryptsslp.dll和winnlsres.dll及最后一个dll它的语言文件winnlsres.dll.mui




而HD只需要ncryptsslp.dll和和ncryptsslp.dll这两个依赖文件就能下载了!节省了200多kb的体积聊胜于无。不过为了多一个INetget工具还是保留的好!至于其余的依赖文件cryptnet.dll和winnlsres.dll及最后一个dll它的语言文件winnlsres.dll.mui这剩下3个文件加上的话打开某些https网页可以省一个点击步骤。
作者: sairen139    时间: 2023-10-8 13:48
本帖最后由 sairen139 于 2023-10-8 13:49 编辑

https://erickutcher.github.io/#HTTP_Downloader
HTTP Downloader
[size=13.333333px]HTTP Downloader is a download manager for the HTTP(S), FTP(S), and SFTP protocols. Maximize your download throughput by utilizing high performance input/output completion ports (IOCP). HTTP Downloader can open thousands of connections at a time and consumes very little system resources.


HTTP Downloader is a high-performance, multi-part download manager. You can Start, Pause, Stop, and Queue up to 100 downloads at a time. Each download can be split into 100 parts. That's 10,000 connections!

Drag and drop links into the program's main window or, select File > Add URL(s)... to bring up the Add URL(s) window. From here you can select the download location to save the files. The Advanced checkbox allows you to configure the Download directory, number of parts to split each download, the SSL / TSL version to use for HTTPS connections, authentication information (basic or digest), and any necessary cookies, headers, and POST data. You can also configure a proxy to download the added URL(s). Clicking the Download button will begin the download(s). If you'd like to add the downloads without starting them, you can click the Add button instead. The advanced configuration settings in the Add URL(s) window will override the Site Manager settings and the default settings in the Options.

HTTP Downloader - Site Manager

Multi-host/mirrored downloads can be initiated by grouping URL(s) with curly brackets: { and } The first URL in the group is what will drive the download and be used to determine the size of the file and how to distribute the download parts among the other URL(s). The curly brackets need to be on their own lines.
Example:
{
http://www.example.com/index.html
http://www.example.net/index.html
http://www.example.org/index.html
http://www.example.edu/index.html
}

HTTP Downloader - Multi-Host Add URL(s)
HTTP Downloader - Multi-Host Download
You can override the name of the file by placing the name you want in square brackets [ and ] before the URL or, if it's a group, before the first curly bracket.
Example:
[test.html]http://www.example.com/index.html

HTTP Downloader - Add URL(s)

HTTP Downloader has various options to configure the behavior of the program. The options can be accessed from Tools > Options... Under the General options you can choose to display the System Tray icon which will generally appear on the lower right corner of the taskbar (next to the clock). The program can be set to minimum to the System Tray instead of to the taskbar and close to the System Tray instead of exiting the program. Always on top will cause all the program's windows to appear on top of every other program's windows. You can enable a URL drop window to quickly drag and drop URLs into instead of the main window. It'll remain visible on top of other windows unless you either right click it and deselect Always on Top, or use your mouse to middle click the window. Drag and dropped URLs can also be set to download immediately without bring up the Add URL(s) window.

The Appearance options allow you to adjust the look of the main window's download list. You can change row colors, fonts, and the look of various progress bars.

The Connection options let you set how many downloads can be done at a time, how many parts to split each download, and how many times to retry failed and timed out downloads.

The FTP options let you connect using Passive or Active transfer modes. If one doesn't work, the other can be used as a fallback. Active transfer mode requires listening port(s) on the local machine.

The SFTP options allow you to prioritize various algorithms that are used for the SSH protocol. You can enable compressed transfers as well as rekey limits. Fingerprints and Private Keys can also be managed under the SFTP options. Private keys are in PuTTY's private key format.

The Proxy options let you connect to both HTTP, HTTPS, SOCKS v4, SOCKS v4a, and SOCKS v5 proxies. You can also set any authentication information (basic, digest, plaintext) that the proxies require.

The Server options let you to enable a web server to allow remote connections to add URLs to download. The browser extensions require that the web server be enabled in order to communicate with the program. The web server can ask for a username and password to authenticate a remote connection. It supports either Basic or Digest authentication. By checking Enable SSL / TLS you can load your security certificate files and choose the appropriate SSL / TLS version to allow for HTTPS connections. The security certificate files can be in the form of either a PKCS #12 file, or a public and private key pair. If the PKCS #12 file has a password associated with it, then you'll want to enter the password in the password text box. Creating a security certificate is somewhat involved, but there are plenty of guides online. Do a Google search for "Create a self-signed certificate with OpenSSL" and it should explain things better than I could.

The Advanced options don't need to be changed, but can let you fine tune various program behavior. Enable download history will save the entries in the main window so that they can be loaded the next time the program starts. If left unchecked, then any download history will be lost. Enable quick file allocation will quickly preallocate a file on the disk by not overwriting the file location with zeros. Windows, by default, will write zeros to a preallocated file as a security measure. This can be bypassed with Administrator access. Allow[ing] one instance of the program to run will prevent other copies of the program from interfering with the currently running copy. The Default download directory sets the location in the Add URL(s) window. Finally, the Thread pool count is the number of threads the program will use to manage all the connections that it makes.

HTTP Downloader - Options

The main window shows a listing of downloads and a status bar. You can enable or disable the status bar as well as a toolbar from the View menu. You can change the units of measurement (bytes, kilobytes, etc.) for the status bar by clicking on the status bar panels. The same can be done with the Downloaded, File Size, and Download Speed columns by holding Ctrl and clicking on their respective column headers. The first measurement state is set to auto adjust when the number increases. The other four states will display only bytes, kilobytes, megabytes, and gigabytes respectively. Each column can be dragged into a new position and if you'd like to show or hide any, then right click on any of the column headers to bring up their menu.

The following is a list of command-line switches:

--base-directory [path] - The directory where the program's settings and history are saved.
--portable - Run the program in portable mode and saves its settings and history to the same directory as its executable. You can optionally create an extensionless file named "portable" in the same directory as the executable.
--url - A URL to download.
--output-directory [path] - The directory in which to save the downloads.
--parts [1-100] - Sets the number of parts in which a download will be split.
--speed-limit - Sets the download speed limit (in bytes).
--encryption [0-4] - Sets the encryption that will be used when making a secure connection. 0 = Default, 1 = SSL 2.0, 2 = SSL 3.0, 3 = TLS 1.0, 4 = TLS 1.1, 5 = TLS 1.2
--username - The username for a request that requires authentication.
--password - The password for a request that requires authentication.
--cookie-string - Include a cookie string with the connection request.
--header-field - Include a header field (name and value) with the connection request.
--post-data - Include POST data (URL encoded) with the request. The request will be made as a POST request instead of a GET request.
--simulate - Download URL(s) without saving them to the disk.
--add-stopped - Add the URL(s) in the stopped state without showing the Add URL(s) window.
--immediate - Begin downloading the URL(s) without showing the Add URL(s) window.
--url-list [path] - A text file with a list of URL(s) to download.
--download-history [path] - Import an HTTP Downloader history file.
--proxy-type [0-4] - Sets the proxy type to use. 0 = Default, 1 = HTTP, 2 = HTTPS, 3 = SOCKS v4, 4 = SOCKS v5
--proxy-ip-address [0.0.0.0-255.255.255.255] - The IP address of the proxy.
--proxy-hostname - The hostname of the proxy.
--proxy-port [1-65535] - The port for the proxy.
--proxy-username - Specifies a username to log into the proxy.
--proxy-password - Specifies a password to log into the proxy.
--proxy-resolve-domain-names - If using a SOCKS proxy, then the proxy will resolve the domain name.
--shutdown-action [0-8] - Sets the shutdown action after all downloads have finished. 0 = Default, 1 = Exit program, 2 = Log off, 3 = Lock, 4 = Restart, 5 = Sleep, 6 = Hibernate, 7 = Shut down, 8 = Hybrid shut down
--allow-rename - Actively downloading files can be renamed. If not set, then actively downloading files can be opened in other programs.
Various command-line arguments can be used in the Add URL(s) window. Each argument must be placed on a single line and immediately after the URL or closing curly bracket of a group. The following is a list of valid arguments: output-directory, parts, speed-limit, encryption, username, password, cookie-string, header-field, simulate, add-stopped, immediate, proxy-type, proxy-ip-address, proxy-hostname, proxy-port, proxy-username, proxy-password, proxy-resolve-domain-names
Example:
{
http://www.example.com/index.html
--parts 2
http://www.example.net/index.html
--speed-limit 1024
}

The above example creates a group wherein the first URL of the group will be split into two parts and the second URL of the group will have its speed limited to 1024 bytes per second.

HTTP Downloader - URL Parameters

The browser extensions above will allow your browser (Firefox or Chrome) to send HTTP Downloader URLs to download. You will need to enable the web server in the HTTP Downloader Connection > Server options. The server address and port in the extension's options need to match those in the program's options. You can choose to have the extension download HTTP(S) URLs instead of the browser by selecting Override browser's download manager in the extension's options. Right clicking on a link, web page, or media file will allow you to access the HTTP Downloader context menu and various download options.
作者: 创新科技2015    时间: 2023-10-8 14:14
        很给力!
作者: yyz2191958    时间: 2023-10-8 14:24
谢谢分享
作者: skywalkerl    时间: 2023-10-8 15:29
感谢分享~
作者: plusv    时间: 2023-10-8 17:04
sairen139 发的东西,
都会有 详细的说明 及 官网,
点个赞.

作者: bfgxp    时间: 2023-10-8 18:19
有意思,说不定哪天就用得着

作者: yyz2191958    时间: 2023-10-8 19:43
等待汉化版本
作者: sairen139    时间: 2023-10-8 20:47
yyz2191958 发表于 2023-10-8 19:43
等待汉化版本

https://erickutcher.github.io/#HTTP_Downloader 官网下载它里面自带中文语言文件的。

我主要用来给pe白嫖浏览器等用,所以不需要中文语言文件支持。
作者: 暗影夺魄    时间: 2023-10-8 20:56
感谢分享
作者: tanglf    时间: 2023-10-8 21:01
感谢分享
作者: yc2428    时间: 2023-10-8 21:58
谢谢分享
作者: yyz2191958    时间: 2023-10-8 22:39
sairen139 发表于 2023-10-8 20:47
去https://erickutcher.github.io/#HTTP_Downloader 官网下载它里面自带中文语言文件的。

我主要用来 ...

谢谢
作者: yyz2191958    时间: 2023-10-8 22:41
sairen139 发表于 2023-10-8 20:47
去https://erickutcher.github.io/#HTTP_Downloader 官网下载它里面自带中文语言文件的。

我主要用来 ...

无法访问此网站github.rc1844.workers.dev 的响应时间过长。
请试试以下办法:

检查网络连接
检查代理服务器和防火墙
运行 Windows 网络诊断
ERR_CONNECTION_TIMED_OUT
作者: 201287zr    时间: 2023-10-10 11:26
来学习学习大神的杰作。
作者: nowayer    时间: 2023-10-12 18:29
提示: 作者被禁止或删除 内容自动屏蔽
作者: nowayer    时间: 2023-11-15 09:23
提示: 作者被禁止或删除 内容自动屏蔽
作者: fxl0571    时间: 2023-11-16 21:10
谢谢分享!
作者: 开飞机的企鹅    时间: 2023-11-27 05:53
学习一下




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