femamarine.deepbluesw.com
Open in
urlscan Pro
5.32.137.69
Public Scan
Submitted URL: https://fematrix.net/
Effective URL: https://femamarine.deepbluesw.com/login
Submission: On August 04 via api from US — Scanned from NL
Effective URL: https://femamarine.deepbluesw.com/login
Submission: On August 04 via api from US — Scanned from NL
Form analysis
1 forms found in the DOMPOST
<form method="post" autocomplete="off">
<div class="deepblue"><img src="/images/deepblue4.png" alt="DeepBlue"></div>
<div><span class="username"></span><input type="text" class="form-control" name="username" placeholder="username" value=""></div>
<div><span class="password"></span><input type="password" class="form-control" name="password" placeholder="password" value=""></div>
<div><input type="hidden" name="retina" value=""><button type="submit" class="btn">Login</button></div>
<script id="_">
const eform = document.querySelector('form');
const headds = {
'Content-Type': 'application/x-www-form-urlencoded',
'X-Requested-With': 'XMLHttpRequest'
};
eform.addEventListener('submit', event => {
event.preventDefault();
const requestOptions = {
method: 'POST',
headers: headds,
body: 'action=precheck&u=' + encodeURIComponent(document.getElementsByName('username')[0].value) + '&p=' + encodeURIComponent(document.getElementsByName('password')[0].value)
};
fetch('', requestOptions).then(response => response.json()).then(data => {
if (data.precheck) {
eform.classList.add('hidden');
var tfaform = document.createElement('form');
tfaform.innerHTML = data.precheck;
eform.after(tfaform);
tfaform.addEventListener('submit', event => {
event.preventDefault();
});
var of = document.getElementById('of');
var ok = document.getElementById('ok');
var ld = document.getElementById('tfaloader');
var tfa = document.getElementById('tfa');
tfa.focus();
tfa.addEventListener('input', event => {
tfa.value = tfa.value.replace(/\D+/g, '');
document.getElementById('err').style.display = 'none';
});
of.addEventListener('click', event => {
event.preventDefault();
tfaform.remove();
eform.classList.remove('hidden');
});
ok.addEventListener('click', event => {
event.preventDefault();
ok.disabled = true;
of.disabled = true;
ld.classList.remove('gen-none');
tfa.classList.add('gen-none');
document.getElementById('err').style.display = 'none';
const requestfa = {
method: 'POST',
headers: headds,
body: 'action=tfa&c=' + encodeURIComponent(tfa.value) + '&uid=' + encodeURIComponent(data.uid)
};
fetch('', requestfa).then(response => response.json()).then(data => {
if (data.valid) {
var o = document.createElement(data.tfaok[0]);
o.className = data.tfaok[1];
o.name = data.tfaok[2];
eform.appendChild(o);
eform.submit();
} else {
ok.disabled = false;
of.disabled = false;
ld.classList.add('gen-none');
tfa.classList.remove('gen-none');
document.getElementById('err').style.display = 'block';
return false;
}
})
});
} else {
eform.submit();
}
});
});
</script>
</form>
Text Content
Login