Script to change official Kali repository to mirrors.
Kali Linux, apt-transport-https
Run this script in privilege mode, such that 'sources.list' can be edited.
wget https://raw.githubusercontent.com/AgentPhoenix7/mirrorscript/master/script.sh
chmod +x script.sh
./script.sh