mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-24 20:21:52 +08:00
refactor: rpc请求需要配置请求头:秘钥
This commit is contained in:
@@ -36,7 +36,7 @@ func (s *FscanService) StartScan(ctx context.Context, req *pb.StartScanRequest)
|
||||
s.scanMutex.Lock()
|
||||
defer s.scanMutex.Unlock()
|
||||
|
||||
Common.LogDebug("异步执行扫描请求,目标: " + req.Arg + ", " + req.Secret)
|
||||
Common.LogDebug("异步执行扫描请求,目标: " + req.Arg)
|
||||
|
||||
var info Common.HostInfo
|
||||
if err := Common.FlagFromRemote(&info, req.Arg); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user