nicocha30 / ligolo-ng

An advanced, yet simple, tunneling/pivoting tool that uses a TUN interface.
GNU General Public License v3.0
2.61k stars 260 forks source link

Could not register agent #84

Closed 9gab closed 1 month ago

9gab commented 2 months ago

Hello,

I'm trying to perform a double pivot, however, I'm getting the following error:

Screenshot 2024-07-03 at 15 46 08

server and agent = 0.6.1

nicocha30 commented 2 months ago

These are mainly routing problems, such as adding a route from the second pivot that overlaps the first route.

9gab commented 2 months ago

Thanks for the reply. I'm doing the same box from this tutorial, ligolo , I followed the steps but always get this error at the end.

nicocha30 commented 2 months ago

Can you show me your routing table?

9gab commented 2 months ago

Sure, here it is:

Screenshot 2024-07-04 at 10 54 14

I'm starting to think that must be something on my side. Before, when doing the box, I was able to create listeners which I used to transfer files, through the pivot, from my attack box to other hosts and it worked all good. Now, when I try to do it I get the following error:

Screenshot 2024-07-04 at 10 59 00
9gab commented 2 months ago

Solved the problem. Actually it has to do with version 0.6.1

Tried with 0.5.2 and it worked flawlessly.

nathan-rabet commented 2 months ago

Same issue, still not solved in version 0.6.2.

nicocha30 commented 2 months ago

@nathan-rabet could you share more details? OS version, setup, commands? Can you run Ligolo-ng with the "-v" flag and give me the error?

Thanks

nathan-rabet commented 2 months ago

Tried to register an agent: didn't work. Reboot, then register the same agent: did work.

(weird).

I think this issue can be closed then.