Script to change official Kali repository to mirrors

Overview

Script to change official Kali repository to mirrors. This helps increase packages update and downloading for some user.

Requirements

Kali Linux, Python3

Usage

Run the script in privilege mode, such that sources.list could be edited.

Help

# python3 mirrorscript-v2.py -h
usage: mirrorscript-v2.py [-h] [-v] [-https] [-src]

Kali Mirrorscripts-v2 by IceM4nn automatically select the best kali mirror
server and apply the configuration

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose  enable verbose output
  -https         use HTTPS in apt transport (default HTTP)
  -src           enable sources packages (default disable)

Sample output:

# python3 mirrorscript-v2.py -v -https -src


# Automatically select the best Kali mirror and apply the configuration
# https://github.com/IceM4nn/mirrorscript-v2
# https://www.metahackers.pro/speed-kali-linux-update/
#

[-] Checking if 'apt-transport-https' package is installed.
	- apt-transport-https is installed

[+] Getting mirror list ...
[+] Found a lists of mirrors:
	- https://hlzmel.fsmg.org.nz/kali
	- https://wlglam.fsmg.org.nz/kali
	- https://mirror.karneval.cz/pub/linux/kali
	- https://ftp.acc.umu.se/mirror/kali.org/kali
	- https://mirrors.dotsrc.org/kali
	- https://ftp.halifax.rwth-aachen.de/kali
	- https://ftp2.nluug.nl/os/Linux/distr/kali
	- https://ftp1.nluug.nl/os/Linux/distr/kali
	- https://mirror.neostrada.nl/kali
	- https://kali.download/kali
	- https://mirrors.ocf.berkeley.edu/kali

[+] Checking mirrors ... This could take some times.
[+] Finding the best latency
	- hlzmel.fsmg.org.nz             : 416.890
	- wlglam.fsmg.org.nz             : 388.998 
	- mirror.karneval.cz             : 391.414
	- ftp.acc.umu.se                 : 313.722
	- mirrors.dotsrc.org             : 314.235
	- ftp.halifax.rwth-aachen.de     : 291.252
	- ftp2.nluug.nl                  : 297.838
	- ftp1.nluug.nl                  : 302.336
	- mirror.neostrada.nl            : 294.256
	- kali.download                  : 40.478
	- mirrors.ocf.berkeley.edu       : 348.848

[+] Fastest mirror: ('kali.download', '040.478')
[+] Preparing ...
	- Making a backup file /etc/apt/sources.list.bk ...
	- Checking sources.list for older entries ...
	- Commenting older entries ...
	- Done

[+] Updating sources.list with new entry ...
	- Your new mirror: https://kali.download/kali

[+] Done!
	- Run 'apt clean; apt update' for the changes to load.

You might also like...
You can change your mac address with this program.
You can change your mac address with this program.

1 - Warning! You can use this program with Kali Linux. Therefore if you don't install the Kali Linux. Firstly you need to install Kali Linux. 2 - Star

"Cambio de monedas" Change-making problem with Python, dynamic programming best solutions,

Change-making-problem / Cambio de monedas Entendiendo el problema Dada una cantidad de dinero y una lista de denominaciones de monedas, encontrar el n

Change ACLs for QNAP LXD unprivileged container.

qnaplxdunpriv If Advanced Folder Permissions is enabled in QNAP NAS, unprivileged LXD containers won't start. qnaplxdunpriv changes ACLs of some Conta

Better Giveaways is a bot that will change the experience of using a giveaway bot forever.

Better-Giveaways Better Giveaways is a bot that will change the experience of using a giveaway bot forever. VoxelBotUtils/Novus, latest PyPi releases

Python script to commit to your github for a perfect commit streak. This is purely for education purposes, please don't use this script to do bad stuff.

Daily-Git-Commit Commit to repo every day for the perfect commit streak Requirments pip install -r requirements.txt Setup Download this repository. Cr

A script where you execute a script that generates a base project for your gdextension

GDExtension Project Creator this is a script (currently only for linux) where you execute a script that generates a base project for your gdextension,

Script Repository for the ICGM-CNRS FRANCE

Here you will find my Python Work repesitory for the ICGM institute - Montpellier - France.

The official repository of iGEM Paris Bettencourt team's software tools.
The official repository of iGEM Paris Bettencourt team's software tools.

iGEM_ParisBettencourt21 The official repository of iGEM Paris Bettencourt team's software tools. Cell counting There are two programs dedicated to the

The Official Jaseci Code Repository

Jaseci Release Notes Version 1.2.2 Updates Added new built-ins for nodes and edges (context, info, and details) Fixed dot output Added reset command t

Owner
Vineet Bhavsar
brooks@kali:~# echo "Hello, Friend"
Vineet Bhavsar
An app that mirrors your phone to your compute and maps controller input to the screen

What is 'Dragalia Control'? An app that mirrors your phone to your compute and maps controller input to the screen. Inputs are mapped specifically for

null 1 May 3, 2022
Python 3 script for installing kali tools on your linux machine

Python 3 script for installing kali tools on your linux machine

gh0st 2 Apr 20, 2022
A simple script that can watch a list of directories for change and does some action

plot_watcher A simple script that can watch a list of directories and does some action when a specific kind of change happens In its current implement

Charaf Errachidi 12 Sep 10, 2021
Python script to automate the change of desktop background

wallomator Python script to automate the change of desktop background A python script that automates the process of changing the desktop background. I

Mohammed Haaris Javed 10 Jun 16, 2022
Islam - This is a simple python script.In this script I have written all the suras of Al Quran. As a result, by using this script, you can know the number of any sura at the moment.

Introduction: If you want to know sura number of al quran by just typing the name of sura than you can use this script. Usage in termux: $ pkg install

Fazle Rabbi 1 Jan 2, 2022
poro is a LCU interface to change some lol's options.

poro is a LCU interface to change some lol's options. with this program you can: change your profile icon change your profiel background image ch

João Dematte 2 Jan 5, 2022
A Pythonic Data Catalog powered by Ray that brings exabyte-level scalability and fast, ACID-compliant, change-data-capture to your big data workloads.

DeltaCAT DeltaCAT is a Pythonic Data Catalog powered by Ray. Its data storage model allows you to define and manage fast, scalable, ACID-compliant dat

null 45 Oct 15, 2022
Change your Windows background with this program safely & easily!

Background_Changer Table of Contents: About the Program Features Requirements Preview Credits Reach Me See Also About the Program: You can change your

Sina.f 0 Jul 14, 2022
Code needed for hybrid land cover change analysis for NASA IDS project

Documentation for the NASA IDS change analysis Poley 10/21/2021 Required python packages: whitebox numpy rasterio rasterio.mask os glob math itertools

Andrew Poley 2 Nov 12, 2021
Keyboard Layout Change - Extension for Ulauncher

Keyboard Layout Change - Extension for Ulauncher

Marco Borchi 4 Aug 26, 2022