mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-26 13:11:53 +08:00
fix: resolve recent service scan regressions
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user