commit 4d3e0b847be14d93ea64224de3ba77e157684aa1 Author: lapatatedouce Date: Sat Aug 31 15:40:31 2024 +0200 first commit diff --git a/LICENCE b/LICENCE new file mode 100644 index 0000000..d01d961 --- /dev/null +++ b/LICENCE @@ -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. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e0ddf78 --- /dev/null +++ b/README.md @@ -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. + +![Exemples des preview](exemple.png) + +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. \ No newline at end of file diff --git a/discord/branding.png b/discord/branding.png new file mode 100644 index 0000000..2b308dc Binary files /dev/null and b/discord/branding.png differ diff --git a/discord/index.html b/discord/index.html new file mode 100644 index 0000000..1cc0d37 --- /dev/null +++ b/discord/index.html @@ -0,0 +1,41 @@ + + + + + + + + + + +Galerie de Paysages + + + + +
+ Chargement en cours, veuillez patienter... +
+ + + + diff --git a/discord/logo.png b/discord/logo.png new file mode 100644 index 0000000..772ee6b Binary files /dev/null and b/discord/logo.png differ diff --git a/exemple.png b/exemple.png new file mode 100644 index 0000000..19cfa88 Binary files /dev/null and b/exemple.png differ diff --git a/gallerie-photo/index.html b/gallerie-photo/index.html new file mode 100644 index 0000000..edbdb6f --- /dev/null +++ b/gallerie-photo/index.html @@ -0,0 +1,40 @@ + + + + + + + + + + +Galerie de Paysages + + + +
+ Chargement en cours, veuillez patienter... +
+ + + + diff --git a/gallerie-photo/logo-paysage.png b/gallerie-photo/logo-paysage.png new file mode 100644 index 0000000..9c35aea Binary files /dev/null and b/gallerie-photo/logo-paysage.png differ