Skip to content

Commit

Permalink
fix: 旧版本 Exchange TLS 证书兼容性问题
Browse files Browse the repository at this point in the history
修复旧版本 Exchange TLS 证书版本过低导致的兼容性问题
  • Loading branch information
X1r0z committed Sep 6, 2023
1 parent 0dfe36a commit ed68d84
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/basicbrute.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func BasicBruteWorker(info *TaskInfo) {
TLSClientConfig: &tls.Config{
InsecureSkipVerify: true,
Renegotiation: tls.RenegotiateOnceAsClient,
MinVersion: tls.VersionTLS10,
},
Proxy: func(_ *http.Request) (*url.URL, error) {
if info.proxy != "" {
Expand Down
1 change: 1 addition & 0 deletions lib/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ func Check(targetUrl string) {
TLSClientConfig: &tls.Config{
InsecureSkipVerify: true,
Renegotiation: tls.RenegotiateOnceAsClient,
MinVersion: tls.VersionTLS10,
},
},
}
Expand Down
1 change: 1 addition & 0 deletions lib/httpbrute.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func HttpBruteWorker(info *TaskInfo) {
TLSClientConfig: &tls.Config{
InsecureSkipVerify: true,
Renegotiation: tls.RenegotiateOnceAsClient,
MinVersion: tls.VersionTLS10,
},
Proxy: func(_ *http.Request) (*url.URL, error) {
if info.proxy != "" {
Expand Down
1 change: 1 addition & 0 deletions lib/ntlmbrute.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func NtlmBruteWorker(info *TaskInfo) {
TLSClientConfig: &tls.Config{
InsecureSkipVerify: true,
Renegotiation: tls.RenegotiateOnceAsClient,
MinVersion: tls.VersionTLS10,
},
Proxy: func(_ *http.Request) (*url.URL, error) {
if info.proxy != "" {
Expand Down

0 comments on commit ed68d84

Please sign in to comment.