From ff06fd190275e25cac3bbf6e8acdf184dfaf2013 Mon Sep 17 00:00:00 2001 From: M09Ic Date: Thu, 5 Jun 2025 12:34:06 +0800 Subject: [PATCH] fix: addition word not safe join path, https://github.com/chainreactors/spray/issues/106 --- core/pool/brutepool.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/pool/brutepool.go b/core/pool/brutepool.go index 6365f88..b638e40 100644 --- a/core/pool/brutepool.go +++ b/core/pool/brutepool.go @@ -244,6 +244,7 @@ Loop: pool.wg.Done() } else { pool.urls.Store(unit.path, nil) + unit.path = pool.safePath(unit.path) unit.number = pool.wordOffset pool.reqPool.Invoke(unit) }