Skip to content

fix(js): prevent crashes by validating res.Headers before splitting#80

Open
MatrixNeoKozak wants to merge 1 commit into
bettercap:masterfrom
MatrixNeoKozak:fix/improvement-1783435850421
Open

fix(js): prevent crashes by validating res.Headers before splitting#80
MatrixNeoKozak wants to merge 1 commit into
bettercap:masterfrom
MatrixNeoKozak:fix/improvement-1783435850421

Conversation

@MatrixNeoKozak

Copy link
Copy Markdown

Checks if res.Headers is defined and not null before performing split operations in gitspoof and web-override proxy scripts. This prevents TypeError crashes when res.Headers is undefined, particularly during the onRequest phase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant