15 lines
385 B
Python
15 lines
385 B
Python
#!/usr/bin/python
|
|
|
|
from os import system
|
|
|
|
commands = [
|
|
"apt-key adv --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6",
|
|
"echo '# Kali linux repositories",
|
|
"deb http://http.kali.org/kali kali-rolling main contrib non-free",
|
|
"deb http://repo.kali.org/kali kali-bleeding-edge main' >> /etc/apt/sources.list",
|
|
"apt-get update -m"
|
|
]
|
|
|
|
for i in commands:
|
|
system(i)
|