Merge pull request #185 from Pedro-Souza/master

updade pep8 files
This commit is contained in:
strasharo 2016-10-12 00:46:45 +03:00 committed by GitHub
commit 7031a71d65
1 changed files with 13 additions and 7 deletions

20
add.py
View File

@ -1,10 +1,16 @@
#!/usr/bin/python #!/usr/bin/python
import os from os import system
import sys, traceback
cmd1 = os.system("apt-key adv --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6") commands = [
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") "apt-key adv --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6",
cmd3 = os.system("echo 'deb http://ftp.de.debian.org/debian/ jessie main contrib' >> /etc/apt/sources.list ") "echo '# Kali linux repositories | Added by Katoolin",
cmd4 = os.system("curl https://debgen.simplylinux.ch/txt/jessie/gpg_e00a2b3f751ae92de06f69c527d8fde28f56d923.txt | sudo tee /etc/apt/gpg_keys.txt") "deb http://http.kali.org/kali kali-rolling main contrib non-free",
cmd3 = os.system("apt-get update -m") "deb http://repo.kali.org/kali kali-bleeding-edge main' >> /etc/apt/sources.list",
"echo 'deb http://ftp.de.debian.org/debian/ jessie main contrib' >> /etc/apt/sources.list",
"curl https://debgen.simplylinux.ch/txt/jessie/gpg_e00a2b3f751ae92de06f69c527d8fde28f56d923.txt | sudo tee /etc/apt/gpg_keys.txt",
"apt-get update -m"
]
for i in commands:
system(i)