mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-24 21:43:04 +00:00
Quick typo fix on bleeding edge repos
This commit is contained in:
parent
9714aef279
commit
4feb94318a
1 changed files with 2 additions and 2 deletions
|
@ -430,7 +430,7 @@ def bleeding_edge():
|
||||||
# we need to add repo to kali file
|
# we need to add repo to kali file
|
||||||
# we will rewrite the entire apt in case not all repos are there
|
# we will rewrite the entire apt in case not all repos are there
|
||||||
filewrite = file("/etc/apt/sources.list", "w")
|
filewrite = file("/etc/apt/sources.list", "w")
|
||||||
filewrite.write("# kali repos installed by TARDIS\ndeb http://http.kali.org/kali kali main non-free contrib\ndeb-src http://http.kali.org/kali kali main non-free contrib\n## Security updates\ndeb http://security.kali.org/kali-security kali/updates main contrib non-free\ndeb http://repo.kali.org/kali kali-bleeding-edge main")
|
filewrite.write("# kali repos installed by SET\ndeb http://http.kali.org/kali kali main non-free contrib\ndeb-src http://http.kali.org/kali kali main non-free contrib\n## Security updates\ndeb http://security.kali.org/kali-security kali/updates main contrib non-free\ndeb http://repo.kali.org/kali kali-bleeding-edge main")
|
||||||
filewrite.close()
|
filewrite.close()
|
||||||
print_status("Updating Kali now...")
|
print_status("Updating Kali now...")
|
||||||
subprocess.Popen("apt-get update;apt-get upgrade -f -y --force-yes;apt-get dist-upgrade -f -y --force-yes;apt-get autoremove -f -y --force-yes", shell=True).wait()
|
subprocess.Popen("apt-get update;apt-get upgrade -f -y --force-yes;apt-get dist-upgrade -f -y --force-yes;apt-get autoremove -f -y --force-yes", shell=True).wait()
|
||||||
|
@ -1617,7 +1617,7 @@ def bleeding_edge():
|
||||||
# we need to add repo to kali file
|
# we need to add repo to kali file
|
||||||
# we will rewrite the entire apt in case not all repos are there
|
# we will rewrite the entire apt in case not all repos are there
|
||||||
filewrite = file("/etc/apt/sources.list", "w")
|
filewrite = file("/etc/apt/sources.list", "w")
|
||||||
filewrite.write("# kali repos installed by TARDIS\ndeb http://http.kali.org/kali kali main non-free contrib\ndeb-src http://http.kali.org/kali kali main non-free contrib\n## Security updates\ndeb http://security.kali.org/kali-security kali/updates main contrib non-free\ndeb http://repo.kali.org/kali kali-bleeding-edge main")
|
filewrite.write("# kali repos installed by SET\ndeb http://http.kali.org/kali kali main non-free contrib\ndeb-src http://http.kali.org/kali kali main non-free contrib\n## Security updates\ndeb http://security.kali.org/kali-security kali/updates main contrib non-free\ndeb http://repo.kali.org/kali kali-bleeding-edge main")
|
||||||
filewrite.close()
|
filewrite.close()
|
||||||
print "[*] It is recommended to now run apt-get update && apt-get upgrade && apt-get dist-upgrade && apt-get autoremove and restart SET."
|
print "[*] It is recommended to now run apt-get update && apt-get upgrade && apt-get dist-upgrade && apt-get autoremove and restart SET."
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue