fix: resolve recent service scan regressions

This commit is contained in:
ZacharyZcR
2026-08-26 04:19:58 +08:00
parent 1418f6d8ce
commit a1ff55ef55
11 changed files with 153 additions and 24 deletions
+13
View File
@@ -0,0 +1,13 @@
package tpkt
import (
"testing"
"github.com/shadow1ng/fscan/libs/grdp/glog"
)
func TestRecvFastPathWithoutListenerDoesNotPanic(t *testing.T) {
glog.SetLevel(glog.NONE)
tpkt := &TPKT{}
tpkt.recvFastPath([]byte{0x00}, nil)
}