-
-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Firefox #59
Comments
Hi, this would also interest me. is there any way we can modify code to do this ourself? |
Take a look at the makefile, it's fairly simple. Basically, it's just downloading the compiled |
Hello,
thx for your email. I'll take a look at it.
Your project helps me a lot in bypassing bot protection when doing requests.
greetz
|
Hello,
i think it is to complicated for me to get it working.
i have no idea where these come from:
.preprocessed: curl_cffi/include/curl/curl.h curl_cffi/cacert.pem
.so_downloaded
touch .preprocessed
any idea if there will be more browser imitations available in the future?
kind regards
|
+1 I also think Firefox's TLS Fingerprint should also be an option, it's useful to impersonate Firefox in case we use curl_cffi as proxy to surf the web with Firefox too, can't just impersonate Chrome because it's easy to detect. |
Hello, I'm trying to add firefox. How can I get browser infos like ciphers, and curves? |
Actually you don’t need to worry about that, it’s all there in the upstream
curl-impersonate.
The real problem is that Firefox uses NSS, while other browsers use
boringssl, and curl can only be linked to one TLS lib at the same time. So
there are two separate libcurl so files for each browsers.
For curl-cffi, it’s also difficult to link to these two different so files.
What you need to do is to find a way to add the firefox in addition to the
chrome one, while allowing they can be selected by the user at runtime, or
at least before importing curl-cffi.
来自手机回复
dIscOrd ***@***.***>于2023年11月14日 周二22:56写道:
… Hello, I'm trying to add firefox. How can I get browser infos like
ciphers, and curves?
—
Reply to this email directly, view it on GitHub
<#59 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAH4ZXZPBTVUPMS5BND2SZ3YEOBCNAVCNFSM6AAAAAAYAY6Y7SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJQGM4DIMZWG4>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Would it be easier to have a sibling package, e.g. |
Yes, it’s one possible way, I have tried it actually, but it’s not ideal,
neither.
I was thinking that is it possible to use boringssl to emulate NSS? Then it
would be perfect to add firefox.
来自手机回复
Brett Jia ***@***.***>于2023年12月17日 周日11:11写道:
… Would it be easier to have a sibling package, e.g. curl_cffi_ff, which
provides the Firefox version of curl-impersonate? I would think that avoids
the duplicate symbols issue
—
Reply to this email directly, view it on GitHub
<#59 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAH4ZX7AKWOZ5SASOWJN6P3YJZPGRAVCNFSM6AAAAAAYAY6Y7SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJZGAZDGOJTGM>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
I think it's possible, as BoringSSL is very very close to NSS, unlike OpenSSL it's impossible because OpenSSL doesn't allow to hide some ciphers and a lot of extensions. |
Cool, do you mind submitting a PR? |
Yeah I'll probably need a bit of time to clean things up but I'll open a PR soon |
The latest
curl_impersonate
supports 6 Firefox versions, could these be added?The text was updated successfully, but these errors were encountered: