Skip to content

Commit

Permalink
Handled insecure targets
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreavn committed Jan 1, 2025
1 parent 646cb49 commit e79be21
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion verdex/assets/fetch.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package assets

import (
"crypto/tls"
"fmt"
"io"
"net/http"
Expand All @@ -17,7 +18,9 @@ var userAgent = "Verdex - Open-Source scanning project"
var assets = syncmap.Map{}

var client = &http.Client{
Transport: &http.Transport{},
Transport: &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
},
}

// Fetch asset at given URL
Expand Down

0 comments on commit e79be21

Please sign in to comment.