mirror of
https://github.com/depler/curl-impersonate-win.git
synced 2025-08-02 22:40:10 +00:00
ab49822fbf80761797c7f9bee74876dec8c7ca12
curl-impersonate-win
A special build of curl that can impersonate Chrome (Windows only).
Original idea and patches from https://github.com/lwthiker/curl-impersonate
Version
Current version based on:
- Curl (https://github.com/curl/curl): v7.84.0
- BoringSSL (https://github.com/google/boringssl): 3a667d10e94186fd503966f5638e134fe9fb4080
Environment
MSYS2 is needed to build binaries. Steps:
- Download and install MSYS2 (https://www.msys2.org/) into folder
c:\msys64\
- Run MSYS2 from start menu and update packages with command:
pacman -Suy
- Install additional packages:
pacman -S mingw-w64-x86_64-make mingw-w64-x86_64-cmake mingw-w64-x86_64-nasm mingw-w64-x86_64-gcc
Build
- Download and unpack curl and boringssl source code into according folders (see versions)
- Run scripts
patch_curl.bat
andpatch_boringssl.bat
to patch source code - Run script
build.bat
to build binaries. Ready to use binaries are located withincurl\bin
folder.
Languages
Batchfile
100%