Skip to content

Commit

Permalink
Merge pull request #88 from subfinder/codingo-banner
Browse files Browse the repository at this point in the history
Banner Update
  • Loading branch information
codingo authored Jun 26, 2018
2 parents 0b89802 + ba9c885 commit 68ff49a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
12 changes: 7 additions & 5 deletions libsubfinder/helper/color.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
12 changes: 3 additions & 9 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down Expand Up @@ -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" {
Expand Down

0 comments on commit 68ff49a

Please sign in to comment.