HavocFramework / Havoc

The Havoc Framework.
GNU General Public License v3.0
6.3k stars 905 forks source link

[File a bug report for the Demon Implant]: Failed to create listener #460

Closed ST0new closed 3 months ago

ST0new commented 4 months ago

What happened?

server image

client image

errror operation image Clicking save failed to create the listener

Did You Try With the Dev Branch?

No (You only tried the main branch...)

Relevant log output

No response

Did You Read Over Your Issue First?

Indie38 commented 3 months ago

Exactly the same issue here, the listener does not appear in the "listeners" tab.

dobin commented 3 months ago

Same here. Ubuntu23. Clicking save will close the window, but nothing else happens.

dobin commented 3 months ago

Note: Using debug ./havoc server --profile ./profiles/havoc.yaotl --debug generated error message, and added the listener:

image

So the server did not have permissions to bind on :80 or :443. Start it as root.

It would be nice to have an error message even without "--debug" to know what went wrong.

Cracked5pider commented 3 months ago

To be able to bind to ports like 80 or 443 you would need higher privileges than just user privileges. make sure to either start the server as root using sudo.