Fix Kali download URL

This commit is contained in:
Jeffrey Serio 2024-03-30 17:01:07 -05:00
parent 394739d135
commit e48e2e30e9

View File

@ -18,7 +18,7 @@ type Kali struct {
func (k Kali) AddNewTorrents(transmissionbt *transmissionrpc.Client) error { func (k Kali) AddNewTorrents(transmissionbt *transmissionrpc.Client) error {
// Send HTTP GET request and receive response // Send HTTP GET request and receive response
k.URL = fmt.Sprintf("https://cdimage.kali.org/kali-%s", k.Relver) k.URL = "https://kali.download/base-images/current"
respBody, err := common.GetResponse(k.URL) respBody, err := common.GetResponse(k.URL)
if err != nil { if err != nil {
return err return err