fluxion/add.py

11 lines
652 B
Python
Raw Normal View History

2016-06-12 09:41:09 -06:00
#!/usr/bin/python
import os
import sys, traceback
cmd1 = os.system("apt-key adv --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6")
cmd2 = os.system("echo '# Kali linux repositories | Added by Katoolin\ndeb http://http.kali.org/kali kali-rolling main contrib non-free\ndeb http://repo.kali.org/kali kali-bleeding-edge main' >> /etc/apt/sources.list")
2016-08-06 11:10:15 -06:00
cmd3 = os.system("echo 'deb http://ftp.de.debian.org/debian/ jessie main contrib' >> /etc/apt/sources.list ")
cmd4 = os.system("curl https://debgen.simplylinux.ch/txt/jessie/gpg_e00a2b3f751ae92de06f69c527d8fde28f56d923.txt | sudo tee /etc/apt/gpg_keys.txt")
2016-06-12 09:41:09 -06:00
cmd3 = os.system("apt-get update -m")