Skip to content

Commit

Permalink
Update afrog.go
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglimao committed Jul 12, 2023
1 parent ddbf654 commit 7bff5c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions afrog.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ func NewScanner(target []string, opt Scanner) error {
}

options.Config = &config.Config{}
options.Config.Reverse.Jndi.JndiAddress = s.JndiAddress
options.Config.Reverse.Jndi.LdapPort = s.LdapPort
options.Config.Reverse.Jndi.ApiPort = s.ApiPort
options.Config.Reverse.Jndi.JndiAddress = opt.JndiAddress
options.Config.Reverse.Jndi.LdapPort = opt.LdapPort
options.Config.Reverse.Jndi.ApiPort = opt.ApiPort

config, err := config.NewConfig()
if err != nil {
Expand Down

0 comments on commit 7bff5c9

Please sign in to comment.