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

Crash tunneling a Nessus scan #54

Closed Biohack96 closed 2 months ago

Biohack96 commented 7 months ago

panic: runtime error: slice bounds out of range [:1676] with capacity 1500

goroutine 54 [running]: github.com/nicocha30/ligolo-ng/pkg/proxy/netstack/tun.(RWEndpoint).dispatchLoop(0xc0002edbf0) /home/runner/work/ligolo-ng/ligolo-ng/pkg/proxy/netstack/tun/wireguard_ep.go:67 +0x177 created by github.com/nicocha30/ligolo-ng/pkg/proxy/netstack/tun.(RWEndpoint).Attach /home/runner/work/ligolo-ng/ligolo-ng/pkg/proxy/netstack/tun/wireguard_ep.go:50 +0x85

I keep getting this crash info while running a Nessus scan (on Windows) through a tunnel to a Debian machine.

nicocha30 commented 2 months ago

Should be fixed in Ligolo-ng v0.6