Skip to content
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

Version 1.6 #6

Merged
merged 27 commits into from
Sep 25, 2023
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
c35e858
refs #57: fixed possible nil pointer in error case when working with …
bogdanfinn Jun 16, 2023
0a858d6
fixed manual call of CloseIdleConnections and fixed overriting of pro…
bogdanfinn Jul 4, 2023
d4615cf
fixed outgoing cookie expires json field to be integer not string;
bogdanfinn Jul 29, 2023
86a9768
refs #59: added transport options to shared library payload;
bogdanfinn Jul 29, 2023
20255e9
refs #61: added wildcard support for certificate pinning;
bogdanfinn Jul 29, 2023
11b1480
refs #45: used xgo to prebuilt linux arm shared libraries and created…
bogdanfinn Jul 29, 2023
e35d465
fixed shared library version in examples;
bogdanfinn Jul 29, 2023
7512bd3
fixed shared library to use latest tls client;
bogdanfinn Jul 30, 2023
a5ea8cb
Fixed Custom Redirect being used regardless if followRedirect is false
Aug 5, 2023
299484f
refs #68: implemented default header option for client;
bogdanfinn Aug 15, 2023
68f4942
adjusted build.sh script to run on ubuntu;
bogdanfinn Aug 27, 2023
61954d8
added serverNameOverwrite option to shared library payload;
bogdanfinn Aug 27, 2023
a82dd73
updated fhttp dependency;
bogdanfinn Aug 27, 2023
a2937f0
added default headers option to shared library payload;
bogdanfinn Aug 27, 2023
a73bee0
built shared libraries with newest version;
bogdanfinn Sep 3, 2023
1b6c4cf
added firefox117 profile;
bogdanfinn Sep 17, 2023
eba9f13
updated typescript example;
bogdanfinn Sep 21, 2023
716d7b1
added chrome 117 with changed h2 fingerprint;
bogdanfinn Sep 21, 2023
fab71d2
updated shared library to 1.6.1;
bogdanfinn Sep 21, 2023
93e3143
updated readme;
bogdanfinn Sep 21, 2023
e5324c4
Add safari profile
josh-pinwheelapi Sep 24, 2023
28efc52
Generate shared libraries
josh-pinwheelapi Sep 24, 2023
fa7f0f2
Genereate shared library for monterey
josh-pinwheelapi Sep 24, 2023
55926a2
Profile change
josh-pinwheelapi Sep 24, 2023
63d9f5a
Generate Ventura shared libraries
josh-pinwheelapi Sep 24, 2023
1d00053
Update shared libraries
josh-pinwheelapi Sep 24, 2023
45e2b90
Merge branch 'master' of https://github.com/underdog-tech/tls-client-…
josh-pinwheelapi Sep 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added serverNameOverwrite option to shared library payload;
  • Loading branch information
bogdanfinn committed Aug 27, 2023
commit 61954d8eb5d0fb3fdda8b1688ee117e9cd7c1fc7
4 changes: 4 additions & 0 deletions cffi_src/factory.go
Original file line number Diff line number Diff line change
@@ -360,6 +360,10 @@ func getTlsClient(requestInput RequestInput, sessionId string, withSession bool)
options = append(options, tls_client.WithInsecureSkipVerify())
}

if requestInput.ServerNameOverwrite != nil && *requestInput.ServerNameOverwrite != "" {
options = append(options, tls_client.WithServerNameOverwrite(*requestInput.ServerNameOverwrite))
}

proxy := proxyUrl

if proxy != nil && *proxy != "" {
1 change: 1 addition & 0 deletions cffi_src/types.go
Original file line number Diff line number Diff line change
@@ -61,6 +61,7 @@ type RequestInput struct {
IsRotatingProxy bool `json:"isRotatingProxy"`
DisableIPV6 bool `json:"disableIPV6"`
LocalAddress *string `json:"localAddress"`
ServerNameOverwrite *string `json:"serverNameOverwrite"`
ProxyUrl *string `json:"proxyUrl"`
RequestBody *string `json:"requestBody"`
RequestCookies []Cookie `json:"requestCookies"`