Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved Domain as an optional argument. #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
10 changes: 3 additions & 7 deletions Go365.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ const (
- One username and password separated by a ":" per line
- Be careful of duplicate usernames!
(-up ./userpasslist.txt)
-d <string> Domain to test
(-d testdomain.com)

Optional:
-w <int> Time to wait between attempts in seconds.
-d <string> Domain to test
(-d testdomain.com)
-w <int> Time to wait between attempts in seconds.
- Default: 1 second. 5 seconds recommended.
(-w 10)
-delay <int> Delay (in seconds) between sprays when using a password list.
Expand Down Expand Up @@ -401,10 +401,6 @@ func main() {
// -d
if opt.flagDomain != "" {
domain = fmt.Sprintf("@" + opt.flagDomain)
} else if len(usernameList) != 1 || !strings.Contains(usernameList[0], "@") {
fmt.Printf("%s\n", usage)
fmt.Println(color.RedString("Must provide a domain. E.g. -d testdomain.com"))
os.Exit(0)
}

// -proxy
Expand Down