Skip to content
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

Feature Request: Ability to launch ligolo-ng as a daemon, and add rest API for interfacing with server #108

Open
joehacksalot opened this issue Oct 8, 2024 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@joehacksalot
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Ligolo-ng is an absolutely great tool. It does lack in team support, requiring one person to maintain all interaction with the server. This makes it difficult to allow team members to interact with the server without having to do undesired workarounds.

Describe the solution you'd like
The feature request is 2 parts but work together to achieve the desired objective:
1 - Addition of a command line flags to launch ligolo-ng in daemon mode, and specify log file. E.g. "-d" for daemon mode, and "-l" ./file.log for identifying a log file. ligolo can pipe stdout/stderr to a log file if specified or to dev null
2 - Addition of a http server hosting rest apis that provide access to the commands that are present normally via the console. A command line flag could be added to allow users to specify the ip:port to bind to, defaulting to something like 0.0.0.0:8080 if not specified.

Describe alternatives you've considered
The fork ligolo-mp looks to have attempted to resolve this, but the approach seems a bit heavy handed and with questionable stability and support.

Additional context
None

@nicocha30 nicocha30 added the enhancement New feature or request label Oct 22, 2024
@joehacksalot
Copy link
Contributor Author

@nicocha30, what are your thoughts on this one. If I can find time during the holidays, I might try to take a stab at it. I want to make sure you like the idea first.

@nicocha30
Copy link
Owner

@joehacksalot I'm working on it 😄

image

image

image

@joehacksalot
Copy link
Contributor Author

This is great! Thanks for picking it up. I look forward to playing with it when its ready

@Mr3Jane
Copy link

Mr3Jane commented Jan 2, 2025

@joehacksalot

Author of ligolo-mp here. Not sure what you meant by heavy handed, but version 2.0 should be a little more user-friendly (proper tui) and the code is a little more maintainable - will release it in a couple of days, you can take a look in a 2.0 branch if you like. Support is indeed just me - one of the reasons it takes some time to produce meaningful changes. I'd also appreciate any specific suggestions for improvement.

p.s. wasn't actively looking to self-promote - was actually looking for new additions/fixes in ligolo-ng, since the fork uses the same network code and stumbled upon this issue

@nicocha30 nicocha30 added this to the Ligolo-ng 0.9 milestone Feb 14, 2025
nicocha30 pushed a commit that referenced this issue Feb 18, 2025
- Fix #134
- Implement session_list #128
- Fix #114
- Implement webAPI #108
- Implement interface management for bsd, windows and darwin #103
- Implement config file	with autobind feature (implement #52 and #30)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants