I hereby claim:
- I am warecrash on github.
- I am warecrash (https://keybase.io/warecrash) on keybase.
- I have a public key ASBa3xaqhlaq3m_PCkzUFJW-DM_UmpXCKpMmkEjSQFIPjAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
from bs4 import BeautifulSoup | |
import urllib.request | |
import sys | |
import argparse | |
parser = argparse.ArgumentParser(description='Scrape a page for all the files and download them to the current directory.') | |
parser.add_argument('root', metavar='url', type=str, help='URL you want to download files from') | |
args = parser.parse_args() |
apt update | |
apt -y install wget gnupg dirmngr | |
wget -q -O - https://archive.kali.org/archive-key.asc | gpg --import | |
gpg --keyserver hkp://keys.gnupg.net --recv-key 44C6513A8E4FB3D30875F758ED444FF07D8D0BF6 | |
echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" >> /etc/apt/sources.list | |
gpg -a --export ED444FF07D8D0BF6 | sudo apt-key add - | |
apt update | |
apt -y upgrade | |
apt -y dist-upgrade | |
apt -y autoremove --purge |