PyHmmm icon indicating copy to clipboard operation
PyHmmm copied to clipboard

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

Open Al13n0 opened this issue 2 years ago • 3 comments

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

Al13n0 avatar Jun 09 '23 15:06 Al13n0

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

CodeXTF2 avatar Jun 09 '23 17:06 CodeXTF2

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

fullfill13 avatar Jan 11 '24 02:01 fullfill13

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.

CodeXTF2 avatar Jan 11 '24 19:01 CodeXTF2