2020-04-03 22:15:39 +00:00
|
|
|
package runner
|
|
|
|
|
2021-06-30 13:09:01 +00:00
|
|
|
import (
|
|
|
|
"fmt"
|
2020-04-03 22:15:39 +00:00
|
|
|
|
2021-06-30 13:09:01 +00:00
|
|
|
"github.com/projectdiscovery/gologger"
|
|
|
|
"github.com/projectdiscovery/nuclei/v2/pkg/catalog/config"
|
|
|
|
)
|
|
|
|
|
2021-07-05 11:59:45 +00:00
|
|
|
var banner = fmt.Sprintf(`
|
2021-07-05 15:31:51 +00:00
|
|
|
__ _
|
|
|
|
____ __ _______/ /__ (_)
|
|
|
|
/ __ \/ / / / ___/ / _ \/ /
|
|
|
|
/ / / / /_/ / /__/ / __/ /
|
2021-07-05 11:59:45 +00:00
|
|
|
/_/ /_/\__,_/\___/_/\___/_/ %s
|
2021-06-30 13:09:01 +00:00
|
|
|
`, config.Version)
|
2020-04-03 22:15:39 +00:00
|
|
|
|
|
|
|
// showBanner is used to show the banner to the user
|
|
|
|
func showBanner() {
|
2020-12-29 10:08:14 +00:00
|
|
|
gologger.Print().Msgf("%s\n", banner)
|
|
|
|
gologger.Print().Msgf("\t\tprojectdiscovery.io\n\n")
|
2020-04-03 22:15:39 +00:00
|
|
|
|
2020-12-29 10:08:14 +00:00
|
|
|
gologger.Warning().Msgf("Use with caution. You are responsible for your actions\n")
|
|
|
|
gologger.Warning().Msgf("Developers assume no liability and are not responsible for any misuse or damage.\n")
|
2020-04-03 22:15:39 +00:00
|
|
|
}
|