Skip to content
Open

34 #10

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions SScan.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ func main() {
if *domainFlag != "" && *fileFlag != "" {
fmt.Println("Error: You can't use both -d and -f flags. Choose either one.")
flag.Usage()

os.Exit(1)
} else if *domainFlag == "" && *fileFlag == "" && *vulnFlag == "" {
fmt.Println("Error: You must specify either the -d flag for a single domain, the -f flag for a file containing multiple domains, or the -vuln flag for a vulnerable command.")
Expand Down