Merge pull request #88 from subfinder/codingo-banner

Banner Update
master 1.0
Michael 2018-06-26 11:20:56 +10:00 committed by GitHub
commit 68ff49aae3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 14 deletions

View File

@ -12,11 +12,13 @@ package helper
// Different Colours for use
var (
Red = "\033[31;1;4m"
Cyan = "\033[36;6;2m"
Green = "\033[32;6;3m"
Yellow = "\033[0;33m"
Reset = "\033[0m"
Bold = "\033[1m"
Underline = "\033[4m"
Red = "\033[31;1;4m"
Cyan = "\033[36;6;2m"
Green = "\033[32;6;3m"
Yellow = "\033[0;33m"
Reset = "\033[0m"
Info = "\033[33;1;1m"
Que = "\033[34;1;1m"

12
main.go
View File

@ -23,14 +23,6 @@ import (
"github.com/subfinder/subfinder/libsubfinder/helper"
)
var banner = `
__ _____ __
_______ __/ /_ / __(_)___ ____/ /__ _____
/ ___/ / / / __ \/ /_/ / __ \/ __ / _ \/ ___/
(__ ) /_/ / /_/ / __/ / / / / /_/ / __/ /
/____/\__,_/_.___/_/ /_/_/ /_/\__,_/\___/_/
v0.2 - by @ice3man `
// ParseCmdLine ... Parses command line arguments into a setting structure
func ParseCmdLine() (state *helper.State, err error) {
@ -75,7 +67,9 @@ func main() {
}
if state.Silent != true {
fmt.Println(banner)
fmt.Println("===============================================")
fmt.Printf("%s%s-=Subfinder%s v1.0 github.com/subfinder/subfinder\n", helper.Info, helper.Cyan, helper.Reset)
fmt.Println("===============================================")
}
if state.SetConfig != "none" {