Skip to content

Agent.py cannot connect correctly and it's not showed in the Havoc Gui. #6

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

Open
Al13n0 opened this issue Jun 9, 2023 · 3 comments
Open

Comments

@Al13n0
Copy link
Contributor

Al13n0 commented Jun 9, 2023

On the server side I got a request with an invalid user agent: python-requests/2.25.1
image

on the agent.py terminal
image

@CodeXTF2
Copy link
Owner

CodeXTF2 commented Jun 9, 2023

il look at it when I have time but if you could try setting the user agent in agent.py to the common mozilla one and try again? the 404 happens when havoc rejects a http req

@fullfill13
Copy link

how to modify the agent.py to register the agent? This is my listener and code .
Capture
Capture1

@CodeXTF2
Copy link
Owner

hi, as per havoc service api spec, any agent id that is not the default demon one is treated as a custom agent and is handled by the handler. you shouldnt need to do anything listener side other than start a http listener on that port.

I do believe this repo is no longer working, but considering the existing service api is officially deprecated, i am not maintaining this until the service api is officially back, in case there are any breaking changes.

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

No branches or pull requests

3 participants