GhostTroops/scan4all

pattern config/*:

Closed this issue · 2 comments

┌──(root㉿Sec5)-[~/scan4all]
└─# go build
main.go:14:12: pattern config/*: cannot embed directory config/nuclei-templates: contains no embeddable files

┌──(root㉿Sec5)-[~/scan4all]

after i download the nuclei templates and add in config/nuclei-templates.

when i start scan got this error :
i use root


└─# ./scan4all -host 192.168.1.1 
2023/02/11 18:50:20 wait for init config files ... 
2023/02/11 18:50:20 init config files is over .
2023/02/11 18:50:20 MyDebug
Can't to build ./logs/errror.log
2023/02/11 18:50:20 DbName  config/scan4all_db
2023/02/11 18:50:20 wait for all threads to end
[INF] Running SYN scan with CAP_NET_RAW privileges
[INF] Port scan starting....
[INF] Port scan over,web scan starting
[WRN] Found 330 templates with syntax error (use -validate flag for further examination)
[INF] Using Nuclei Engine 2.7.7 (outdated)
[INF] Using Nuclei Templates 9.3.7 (latest)
[INF] Templates added in last update: 58
[INF] Templates loaded for scan: 2517
[INF] No results found. Better luck next time!

1-use git action for build
2-Or download release directly
https://github.com/hktalent/scan4all/releases