2022-05-06 00:28:48 +02:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>Mock E2E Phishing Page</title>
|
|
|
|
</head>
|
|
|
|
<script type="text/javascript">
|
|
|
|
function setIframeSource() {
|
|
|
|
const urlSearchParams = new URLSearchParams(window.location.search);
|
|
|
|
const params = Object.fromEntries(urlSearchParams.entries());
|
2022-05-16 22:55:48 +02:00
|
|
|
const extensionUrl = new URL(params.extensionUrl);
|
|
|
|
document.getElementById('frame').src = `http://localhost:9999/#hostname=${encodeURIComponent(extensionUrl.hostname)}&href=${encodeURIComponent(extensionUrl.href)}`;
|
2022-05-06 00:28:48 +02:00
|
|
|
}
|
|
|
|
window.onload = setIframeSource;
|
|
|
|
</script>
|
|
|
|
<body>
|
|
|
|
<div>Hello</div>
|
|
|
|
<iframe id="frame" width=900 height=900>
|
|
|
|
</body>
|
|
|
|
|
2022-05-16 22:55:48 +02:00
|
|
|
</html>
|