nuclei/v2/internal/runner/banner.go

26 lines
724 B
Go
Raw Normal View History

2020-04-04 03:45:39 +05:30
package runner
import (
"fmt"
2020-04-04 03:45:39 +05:30
"github.com/projectdiscovery/gologger"
"github.com/projectdiscovery/nuclei/v2/pkg/catalog/config"
)
2021-07-05 17:29:45 +05:30
var banner = fmt.Sprintf(`
__ _
____ __ _______/ /__ (_)
/ __ \/ / / / ___/ / _ \/ /
/ / / / /_/ / /__/ / __/ /
2021-07-05 17:29:45 +05:30
/_/ /_/\__,_/\___/_/\___/_/ %s
`, config.Version)
2020-04-04 03:45:39 +05:30
// 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")
2020-04-04 03:45:39 +05:30
2021-10-25 17:47:39 +05:30
gologger.Print().Label("WRN").Msgf("Use with caution. You are responsible for your actions.\n")
gologger.Print().Label("WRN").Msgf("Developers assume no liability and are not responsible for any misuse or damage.\n")
2020-04-04 03:45:39 +05:30
}