Skip to content

Commit

Permalink
Fix #2
Browse files Browse the repository at this point in the history
nodauf committed Jan 25, 2022
1 parent d12458a commit 5239c1c
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/brute/adfs.go
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ go run main.go bruteSpray adfs -t adfs.contoso.com -u [email protected] -p A
orchestratorOptions := orchestrator.Orchestrator{}
orchestratorOptions.PreActionBruteforce = adfs.CheckTarget
orchestratorOptions.AuthenticationFunc = adfs.Authenticate
validUsers = orchestratorOptions.Bruteforce(&o365Options)
validUsers = orchestratorOptions.Bruteforce(&adfsOptions)
},
}

4 changes: 4 additions & 0 deletions src/modules/adfs/struct.go
Original file line number Diff line number Diff line change
@@ -13,6 +13,10 @@ type Options struct {
utils.BaseOptions
}

func (options *Options) GetBaseOptions() *utils.BaseOptions {
return &options.BaseOptions
}

type userRealm struct {
AuthNForwardType int64 `json:"AuthNForwardType"`
AuthURL string `json:"AuthURL"`

0 comments on commit 5239c1c

Please sign in to comment.