Skip to content

Commit 5239c1c

Browse files
committed
Fix #2
1 parent d12458a commit 5239c1c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/cmd/brute/adfs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ go run main.go bruteSpray adfs -t adfs.contoso.com -u [email protected] -p A
3939
orchestratorOptions := orchestrator.Orchestrator{}
4040
orchestratorOptions.PreActionBruteforce = adfs.CheckTarget
4141
orchestratorOptions.AuthenticationFunc = adfs.Authenticate
42-
validUsers = orchestratorOptions.Bruteforce(&o365Options)
42+
validUsers = orchestratorOptions.Bruteforce(&adfsOptions)
4343
},
4444
}
4545

src/modules/adfs/struct.go

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ type Options struct {
1313
utils.BaseOptions
1414
}
1515

16+
func (options *Options) GetBaseOptions() *utils.BaseOptions {
17+
return &options.BaseOptions
18+
}
19+
1620
type userRealm struct {
1721
AuthNForwardType int64 `json:"AuthNForwardType"`
1822
AuthURL string `json:"AuthURL"`

0 commit comments

Comments
 (0)