Skip to content

Error when using proxy #4

@jammys

Description

@jammys

Hello, and thank you for this great tool.

I recently noticed that rpivot doesn't seem to work well when proxy parameters are set.

Here is the error:

Traceback (most recent call last):
File "client.py", line 499, in
main()
File "client.py", line 467, in main
bc_sock.connect((backconnect_host, backconnect_port))
File "client.py", line 341, in connect
logger.error("Couldn't parse proxy challenge. Code {0}. Msg {1}".format(code, msg))
UnboundLocalError: local variable 'code' referenced before assignment

Tested it with free HTTP proxy and free SOCKS proxy publicly available. NTLM (http) proxy doesn't work either. @artkond @klsecurityservices any clue on the origin of this error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions