Skip to content

Fix missing remove_target config attribute#3

Open
hush0x01 wants to merge 1 commit into
senderend:masterfrom
hush0x01:master
Open

Fix missing remove_target config attribute#3
hush0x01 wants to merge 1 commit into
senderend:masterfrom
hush0x01:master

Conversation

@hush0x01

@hush0x01 hush0x01 commented Jun 28, 2026

Copy link
Copy Markdown

Summary

This fixes an AttributeError during HTTP NTLM relay caused by a missing remove_target attribute in Ghostsurf's vendored NTLMRelayxConfig.

Problem

During relay negotiation, Ghostsurf raised:

AttributeError: 'NTLMRelayxConfig' object has no attribute 'remove_target'

The vendored NTLMRelayxConfig initializes remove_mic but does not initialize remove_target, which is expected by the relay server.

Fix

Initialize the missing remove_target attribute in lib/relay/utils/config.py:

self.remove_target = False

Verification

After applying this change, relay negotiation completed successfully, authenticated HTTP SOCKS sessions were established, and browser session hijacking proceeded as expected.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant