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.

Tesla App Update Differences Extractor

Tesla App Update Differences Extractor Python program that finds the differences between two versions of the Tesla App. When Tesla updates the app a l

Adrian 5 Apr 11, 2022
Pytorch implementation of "Peer Loss Functions: Learning from Noisy Labels without Knowing Noise Rates"

Peer Loss functions This repository is the (Multi-Class & Deep Learning) Pytorch implementation of "Peer Loss Functions: Learning from Noisy Labels wi

Kushal Shingote 1 Feb 08, 2022
A dog facts python module

A dog facts python module

Fayas Noushad 3 Nov 28, 2021
A simple tool made in Python language

Simple tool Uma simples ferramenta feita 100% em linguagem Python 💻 Requisitos: Python3 instalado em seu dispositivo Clonagem e acesso 📳 git clone h

josh washington 4 Dec 07, 2021
A tool that bootstraps your dotfiles ⚡️

Dotbot Dotbot makes installing your dotfiles as easy as git clone $url && cd dotfiles && ./install, even on a freshly installed system! Rationale Gett

Anish Athalye 5.9k Jan 07, 2023
Este script añade la config de s4vitar a bspwm automaticamente!

Se ha testeado este script en ParrotOS, Kali y Ubuntu. Funciona para todos los sistemas operativos basados en Debian. Instalación git clone https://gi

yorkox 201 Dec 30, 2022
Thumbor-bootcamp - learning and contribution experience with ❤️ and 🤗 from the thumbor team

Thumbor-bootcamp - learning and contribution experience with ❤️ and 🤗 from the thumbor team

Thumbor (by @globocom) 9 Jul 11, 2022
Use this function to get list of routes for particular journey

route-planner Functions api_processing Use this function to get list of routes for particular journey. Function has three parameters: Origin Destinati

2 Nov 28, 2021
Senator Stock Trading Tester

Senator Stock Trading Tester Program to compare stock performance of Senator's transactions vs when the sale is disclosed. Using to find if tracking S

Cole Cestaro 1 Dec 07, 2021
Social reading and reviewing, decentralized with ActivityPub

BookWyrm Social reading and reviewing, decentralized with ActivityPub Contents Joining BookWyrm Contributing About BookWyrm What it is and isn't The r

BookWyrm 1.4k Jan 08, 2023
A collection of python exercises to help your learning path!

How to use Step 1: run this command git clone https://github.com/TechPenguineer/Python-Exercises.git Step 2: Run this command cd Python-Exercises You

Tech Penguin 5 Aug 05, 2021
VCC-Generator is a python script that generate VCC for testing purposes only

VCC-Generator is a python script that generate VCC for testing purposes only

Spider Anongreyhat 10 Oct 23, 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
A program made in PYTHON🐍 that automatically performs data insertions into a POSTGRES database 🐘 , using as base a .CSV file 📁 , useful in mass data insertions

A program made in PYTHON🐍 that automatically performs data insertions into a POSTGRES database 🐘 , using as base a .CSV file 📁 , useful in mass data insertions.

Davi Galdino 1 Oct 17, 2022
This is a Python program I wrote to simulate the solar system with 79 lines of code.

Solar System With Python This is a Python program I wrote to simulate the solar system with 79 lines of code. Required modules tkinter, math, time Why

Mehmet Aydoğmuş 1 Oct 26, 2021
A pomodoro app written in Python

Pomodoro It's a pomodoro app written in Python. You can minimize it while you're working if you want to, it'll pop up on your screen when the timer is

Yiğit 1 Dec 20, 2021
Implementation of the MDMC method to search for magnetic ground state using VASP

Implementation of MDMC method ( by Olga Vekilova ) to search for magnetic ground state using VASP

Utkarsh Singh 1 Nov 27, 2021
A replacement of qsreplace, accepts URLs as standard input, replaces all query string values with user-supplied values and stdout.

Bhedak A replacement of qsreplace, accepts URLs as standard input, replaces all query string values with user-supplied values and stdout. Works on eve

Eshan Singh 84 Dec 31, 2022
Paprika is a python library that reduces boilerplate. Heavily inspired by Project Lombok.

Image courtesy of Anna Quaglia (Photographer) Paprika Paprika is a python library that reduces boilerplate. It is heavily inspired by Project Lombok.

Rayan Hatout 55 Dec 26, 2022
Python bindings for `ign-msgs` and `ign-transport`

Python Ignition This project aims to provide Python bindings for ignition-msgs and ignition-transport. It is a work in progress... C++ and Python libr

Rhys Mainwaring 3 Nov 08, 2022