Danny-Dasilva / CycleTLS

Spoof TLS/JA3 fingerprints in GO and Javascript
GNU General Public License v3.0
944 stars 174 forks source link

CycleTLS doesn't preserve header name casing #320

Closed sussyGaymer closed 10 months ago

sussyGaymer commented 10 months ago

Description

I was inspecting some requests I was sending with CycleTLS and found out the header names are all in pascal case: "sec-ch-ua" -> "Sec-Ch-Ua" which is very much different than what you'd see in a request coming from Chrome and is therefore a problem that could get us detected.

Is there a specific reason the names are converted? If so, I'd like to suggest you add an option like preserveHeaderNames or something like that.

Issue Type

Bug

Operating System

Windows 10

Node Version

Irrelevant

Golang Version

None

Relevant Log Output

No response

sussyGaymer commented 10 months ago

Duplicate of #278. Sorry for getting ahead of myself and not checking before.