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.

Py4J enables Python programs to dynamically access arbitrary Java objects

Py4J Py4J enables Python programs running in a Python interpreter to dynamically access Java objects in a Java Virtual Machine. Methods are called as

Barthelemy Dagenais 1k Jan 02, 2023
Python calculator made with tkinter package

Python-Calculator Python calculator made with tkinter package. works both on Visual Studio Code Or Any Other Ide Or You Just Copy paste The Same Thing

Pro_Gamer_711 1 Nov 11, 2021
A Python utility belt containing simple tools, a stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress, and more made easy!

Ubelt is a small library of robust, tested, documented, and simple functions that extend the Python standard library. It has a flat API that all behav

Jon Crall 638 Dec 13, 2022
Ergonomic option parser on top of dataclasses, inspired by structopt.

oppapī Ergonomic option parser on top of dataclasses, inspired by structopt. Usage from typing import Optional from oppapi import from_args, oppapi @

yukinarit 4 Jul 19, 2022
Linux Security and Monitoring Scripts

Linux Security and Monitoring Scripts These are a collection of security and monitoring scripts you can use to monitor your Linux installation for sec

Andre Pawlowski 65 Aug 27, 2022
Reproduction repository for the MDX 2021 Hybrid Demucs model

Submission This is the submission for MDX 2021 Track A, for Track B go to the track_b branch. Submission Summary Submission ID: 151378 Submitter: defo

Alexandre Défossez 62 Dec 18, 2022
A pure-Python codified rant aspiring to a world where numbers and types can work together.

Copyright and other protections apply. Please see the accompanying LICENSE file for rights and restrictions governing use of this software. All rights

Matt Bogosian 28 Sep 04, 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
Telegram bot for Urban Dictionary.

Urban Dictionary Bot @TheUrbanDictBot A star ⭐ from you means a lot to us! Telegram bot for Urban Dictionary. Usage Deploy to Heroku Tap on above butt

Stark Bots 17 Nov 24, 2022
An kind of operating system portal to a variety of apps with pure python

pyos An kind of operating system portal to a variety of apps. Installation Run this on your terminal: git clone https://github.com/arjunj132/pyos.git

1 Jan 22, 2022
Ultimate Score Server for RealistikOsu

USSR Ultimate Score Server for RealistikOsu (well not just us but it makes the acronym work.) Also I wonder how long this name will last. What is this

RealistikOsu! 15 Dec 14, 2022
On this repo, you'll find every codes I made during my NSI classes (informatical courses)

👨‍💻 👩‍💻 school-codes On this repo, you'll find every codes I made during my NSI classes (informatical courses) French for now since this repo is d

EDM 1.15 3 Dec 17, 2022
Lookup for interesting stuff in SMB shares

SMBSR - what is that? Well, SMBSR is a python script which given a CIDR/IP/IP_file/HOSTNAME(s) enumerates all the SMB services listening (445) among t

Vincenzo 112 Dec 15, 2022
mrcal is a generic toolkit to solve calibration and SFM-like problems originating at NASA/JPL

mrcal is a generic toolkit to solve calibration and SFM-like problems originating at NASA/JPL. Functionality related to these problems is exposed as a set of C and Python libraries and some commandli

Dima Kogan 102 Dec 23, 2022
That is a example of a Book app on Python, made with support of all JS libraries on React framework

React+Python Books App You can use this repository whenever you want Used for a video Create the database: python -m dbutils Start the web server: pyt

Koma Human 1 Apr 20, 2022
DownTime-Score is a Small project aimed to Monitor the performance and the availabillity of a variety of the Vital and Critical Moroccan Web Portals

DownTime-Score DownTime-Score is a Small project aimed to Monitor the performance and the availabillity of a variety of the Vital and Critical Morocca

adnane-tebbaa 5 Apr 30, 2022
Strong Typing in Python with Decorators

typy Strong Typing in Python with Decorators Description This light-weight library provides decorators that can be used to implement strongly-typed be

Ekin 0 Feb 06, 2022
8 Nov 04, 2022
A simple python project that can find Tangkeke in a given image.

A simple python project that can find Tangkeke in a given image. Make the real Tangkeke image as a kernel to convolute the target image. The area wher

张志衡 1 Dec 08, 2021
Project Interface For nextcord-ext

Project Interface For nextcord-ext

nextcord-ext 1 Nov 13, 2021