mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-07-16 22:32:35 +08:00
Update check.go
This commit is contained in:
parent
6cdf1e19dc
commit
0743e4cb68
@ -32,7 +32,6 @@ func CheckMultiPoc(req *http.Request, Pocs embed.FS, workers int, pocname string
|
|||||||
for i := 0; i < workers; i++ {
|
for i := 0; i < workers; i++ {
|
||||||
go func() {
|
go func() {
|
||||||
for task := range tasks {
|
for task := range tasks {
|
||||||
//if task.Poc.Name == task.Req.
|
|
||||||
isVul, _ := executePoc(task.Req, task.Poc)
|
isVul, _ := executePoc(task.Req, task.Poc)
|
||||||
if isVul {
|
if isVul {
|
||||||
result := fmt.Sprintf("[+] %s %s", task.Req.URL, task.Poc.Name)
|
result := fmt.Sprintf("[+] %s %s", task.Req.URL, task.Poc.Name)
|
||||||
|
Loading…
Reference in New Issue
Block a user