Exploit database

GH-6c91430c626922f484bf85fee5d0e649

297855/ctnm

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2025-22870

5 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files9
297855/ctnmRevision 632266d34ed4

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

server/proxy/transport.go

Go · 537 bytes
//go:build !windows
// +build !windows

package proxy

import (
	"github.com/djylb/nps/lib/common"
	"github.com/djylb/nps/lib/conn"
	"github.com/djylb/nps/lib/file"
	"github.com/djylb/nps/lib/transport"
)

func HandleTrans(c *conn.Conn, s *TunnelModeServer) error {
	if addr, err := transport.GetAddress(c.Conn); err != nil {
		return err
	} else {
		return s.DealClient(c, s.task.Client, addr, nil, common.CONN_TCP, nil, []*file.Flow{s.task.Flow, s.task.Client.Flow}, s.task.Target.ProxyProtocol, s.task.Target.LocalProxy, s.task)
	}
}