first commit
This commit is contained in:
7
LICENCE
Normal file
7
LICENCE
Normal file
@@ -0,0 +1,7 @@
|
||||
Copyright 2024 lapatatedouce
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
38
README.md
Normal file
38
README.md
Normal file
@@ -0,0 +1,38 @@
|
||||
## Aperçu du Projet
|
||||
|
||||
Ce projet contient du code HTML avec des balises meta spécialement conçues pour manipuler la prévisualisation des liens dans les messageries telles que Discord, Matrix, etc. Il s'agit essentiellement d'une preuve de concept pour démontrer comment il est possible d'induire en erreur les utilisateurs en affichant une prévisualisation qui ne correspond pas au contenu réel de la page.
|
||||
|
||||

|
||||
|
||||
Certaines messageries acceptent le Markdown, comme dans les exemples ci-dessus, où l'on peut masquer le véritable lien en le remplaçant par un autre pour l'affichage. Toutefois, cette méthode est limitée : il suffit de passer la souris sur le lien pour voir le véritable lien, ou des plateformes de discussion comme Discord ouvrent une fenêtre et avertissent l'utilisateur en affichant le vrai lien.
|
||||
|
||||
```markdown
|
||||
[vuerama.ch/paysage](https://www.exemple.com)
|
||||
```
|
||||
|
||||
**Avertissement**
|
||||
|
||||
L'utilisation de ce code à des fins malveillantes est illégale et peut entraîner des sanctions. Utilisez-le de manière responsable et éthique.
|
||||
|
||||
## Fonctionnement
|
||||
|
||||
Le code HTML utilise les balises meta suivantes pour contrôler la prévisualisation du lien :
|
||||
|
||||
* `og:title` : Définit le titre qui apparaîtra dans la prévisualisation.
|
||||
* `og:description` : Définit la description qui apparaîtra dans la prévisualisation.
|
||||
* `og:image` : Définit l'image qui apparaîtra dans la prévisualisation.
|
||||
|
||||
En manipulant ces balises, il est possible de créer une prévisualisation qui semble légitime et incite l'utilisateur à cliquer sur le lien, alors que le contenu réel de la page peut être totalement différent.
|
||||
|
||||
## Installation & Utilisation
|
||||
|
||||
1. Clonez ce dépôt sur votre machine locale.
|
||||
2. Ouvrez le fichier `index.html` dans votre éditeur de texte préféré.
|
||||
3. Modifiez les balises meta pour personnaliser la prévisualisation du lien.
|
||||
4. Enregistrez vos modifications.
|
||||
5. Hébergez le fichier `index.html` sur un serveur web.
|
||||
6. Partagez le lien de votre page web sur les plateformes de messagerie.
|
||||
|
||||
## Licence
|
||||
|
||||
Ce projet est sous licence MIT. Consultez le fichier `LICENSE` pour plus d'informations.
|
||||
BIN
discord/branding.png
Normal file
BIN
discord/branding.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 83 KiB |
41
discord/index.html
Normal file
41
discord/index.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta content="Discord - Free Voice and Text Chat" property="og:title">
|
||||
<meta content="Step up your game with a modern voice & text chat app. Crystal clear voice, multiple server and channel support, mobile apps, and more." property="og:description">
|
||||
<meta content="Discord" property="og:site_name">
|
||||
<meta property="og:image" content="logo.png">
|
||||
<meta property="og:type" content="website">
|
||||
<title>Galerie de Paysages</title>
|
||||
|
||||
<style>
|
||||
body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #f0f0f0;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
}
|
||||
.loading {
|
||||
font-size: 24px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="loading">
|
||||
Chargement en cours, veuillez patienter...
|
||||
</div>
|
||||
|
||||
<script>
|
||||
setTimeout(function() {
|
||||
window.location.href = "https://www.youtube.com/watch?v=dQw4w9WgXcQ";
|
||||
}, 100);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
BIN
discord/logo.png
Normal file
BIN
discord/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 149 KiB |
BIN
exemple.png
Normal file
BIN
exemple.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 80 KiB |
40
gallerie-photo/index.html
Normal file
40
gallerie-photo/index.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta property="og:title" content="Galerie de Paysages">
|
||||
<meta property="og:description" content="Explorez des photos de paysages magnifiques.">
|
||||
<meta property="og:site_name" content="Galerie de Paysages">
|
||||
<meta property="og:image" content="logo-paysage.png">
|
||||
<meta property="og:type" content="website">
|
||||
<title>Galerie de Paysages</title>
|
||||
<style>
|
||||
body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #f0f0f0;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
}
|
||||
.loading {
|
||||
font-size: 24px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="loading">
|
||||
Chargement en cours, veuillez patienter...
|
||||
</div>
|
||||
|
||||
<script>
|
||||
setTimeout(function() {
|
||||
window.location.href = "https://www.youtube.com/watch?v=dQw4w9WgXcQ";
|
||||
}, 100);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
BIN
gallerie-photo/logo-paysage.png
Normal file
BIN
gallerie-photo/logo-paysage.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 91 KiB |
Reference in New Issue
Block a user