mirror of https://github.com/daffainfo/nuclei.git
26 lines
723 B
Go
26 lines
723 B
Go
package runner
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/projectdiscovery/gologger"
|
|
"github.com/projectdiscovery/nuclei/v2/pkg/catalog/config"
|
|
)
|
|
|
|
var banner = fmt.Sprintf(`
|
|
__ _
|
|
____ __ _______/ /__ (_)
|
|
/ __ \/ / / / ___/ / _ \/ /
|
|
/ / / / /_/ / /__/ / __/ /
|
|
/_/ /_/\__,_/\___/_/\___/_/ %s
|
|
`, config.Version)
|
|
|
|
// showBanner is used to show the banner to the user
|
|
func showBanner() {
|
|
gologger.Print().Msgf("%s\n", banner)
|
|
gologger.Print().Msgf("\t\tprojectdiscovery.io\n\n")
|
|
|
|
gologger.Error().Label("WRN").Msgf("Use with caution. You are responsible for your actions\n")
|
|
gologger.Error().Label("WRN").Msgf("Developers assume no liability and are not responsible for any misuse or damage.\n")
|
|
}
|