{"id":483,"date":"2023-01-01T15:31:12","date_gmt":"2023-01-01T14:31:12","guid":{"rendered":"https:\/\/mindshield.eu\/?p=483"},"modified":"2023-03-22T12:37:25","modified_gmt":"2023-03-22T11:37:25","slug":"narnia-0","status":"publish","type":"post","link":"https:\/\/mindshield.eu\/index.php\/2023\/01\/01\/narnia-0\/","title":{"rendered":"\ud83e\udd81\u00a0Narnia 0"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"483\" class=\"elementor elementor-483\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4100140 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4100140\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1cf8aff\" data-id=\"1cf8aff\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7e350ff elementor-widget elementor-widget-heading\" data-id=\"7e350ff\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\"><span role=\"img\" aria-label=\"\ud83e\udd81\" style=\",EmojiSymbols;line-height:1em;font-size:1em\"><img decoding=\"async\" role=\"img\" class=\"emoji\" alt=\"\ud83e\udd81\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/svg\/1f981.svg\">&nbsp;Narnia<\/span><\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f446d66 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f446d66\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5cbed38\" data-id=\"5cbed38\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3310df6 elementor-widget elementor-widget-text-editor\" data-id=\"3310df6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Pour se pr\u00e9munir des attaques et se rendre compte de leurs enjeux, il est avant tout n\u00e9cessaire de comprendre leur fonctionnement.<\/p>\n<p>Etant toujours \u00e0 la recherche de nouveaux d\u00e9fis \u00e0 r\u00e9aliser, c\u2019est K\u00e9vin qui m\u2019a propos\u00e9 de me pencher sur ce wargame.<\/p>\n<p>C\u2019est ainsi que je vous propose un guide compr\u00e9hensif des challenges Narnia.<\/p>\n<p>Narnia est un wargame disponible sur le site <a href=\"https:\/\/overthewire.com\/\">https:\/\/overthewire.com\/<\/a> qui permet d\u2019apprendre les <b>bases de l\u2019exploitation de bugs communs<\/b>.<\/p>\n<p>En effet, ces challenges permettent de se pencher sur les dangers d\u2019une mauvaise gestion m\u00e9moire dans les scripts et posent les bases des attaques de type <b>Buffer OverFlow<\/b>.<\/p>\n<p>Le wargame se d\u00e9coupe en 10 niveaux. Il faut progressivement obtenir les mots de passe des comptes narnia1, narnia2&#8230; jusqu&#8217;\u00e0 narnia9.&nbsp;<\/p>\n<p><\/p>\n<p>Le but de ce guide n\u2019est pas de vous donner la r\u00e9ponse, mais plut\u00f4t de vous y amener par la compr\u00e9hension. Ainsi, <b>il ne contient pas de flag ni de solutions<\/b>.<\/p>\n<p>Si vous souhaitez \u00eatre pr\u00e9venus des nouveaux articles, vous pouvez demander \u00e0 \u00eatre inscrit sur notre mailing list depuis la page contact!&nbsp;<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b6a027f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b6a027f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2866f8c\" data-id=\"2866f8c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d7397c0 elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents\" data-id=\"d7397c0\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;exclude_headings_by_selector&quot;:[],&quot;headings_by_tags&quot;:[&quot;h2&quot;,&quot;h3&quot;,&quot;h4&quot;,&quot;h5&quot;,&quot;h6&quot;],&quot;marker_view&quot;:&quot;numbers&quot;,&quot;no_headings_message&quot;:&quot;No headings were found on this page.&quot;,&quot;minimize_box&quot;:&quot;yes&quot;,&quot;minimized_on&quot;:&quot;tablet&quot;,&quot;hierarchical_view&quot;:&quot;yes&quot;,&quot;min_height&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}\" data-widget_type=\"table-of-contents.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-toc__header\">\n\t\t\t\t\t\t<h4 class=\"elementor-toc__header-title\">\n\t\t\t\tTable des Mati\u00e8res\t\t\t<\/h4>\n\t\t\t\t\t\t\t\t\t\t<div class=\"elementor-toc__toggle-button elementor-toc__toggle-button--expand\" role=\"button\" tabindex=\"0\" aria-controls=\"elementor-toc__d7397c0\" aria-expanded=\"true\" aria-label=\"Open table of contents\"><i aria-hidden=\"true\" class=\"fas fa-chevron-down\"><\/i><\/div>\n\t\t\t\t<div class=\"elementor-toc__toggle-button elementor-toc__toggle-button--collapse\" role=\"button\" tabindex=\"0\" aria-controls=\"elementor-toc__d7397c0\" aria-expanded=\"true\" aria-label=\"Close table of contents\"><i aria-hidden=\"true\" class=\"fas fa-chevron-up\"><\/i><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<div id=\"elementor-toc__d7397c0\" class=\"elementor-toc__body\">\n\t\t\t<div class=\"elementor-toc__spinner-container\">\n\t\t\t\t<i class=\"elementor-toc__spinner eicon-animation-spin eicon-loading\" aria-hidden=\"true\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-db52846 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"db52846\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-24ea199\" data-id=\"24ea199\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8fc8b59 elementor-widget elementor-widget-heading\" data-id=\"8fc8b59\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Narnia0<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0d4f0a9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0d4f0a9\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c2127a8\" data-id=\"c2127a8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9e8ba36 elementor-widget elementor-widget-heading\" data-id=\"9e8ba36\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">D\u00e9couverte<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-00ff686 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"00ff686\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9705861\" data-id=\"9705861\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d743595 elementor-widget elementor-widget-text-editor\" data-id=\"d743595\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Le premier challenge se compose d\u2019un script nomm\u00e9 narnia0 et dont le code source est disponible dans le fichier <b>\/narnia\/narnia0.c<\/b> :<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2364f71 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2364f71\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-bd12a89\" data-id=\"bd12a89\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e19904f elementor-widget elementor-widget-code-highlight\" data-id=\"e19904f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-c line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-c\">\n\t\t\t\t\t<xmp>#include \r\n#include \r\n\r\nint main(){\r\nlong val=0x41414141;\r\nchar buf[20];\r\n\r\nprintf(\"Correct val's value from 0x41414141 -&gt; 0xdeadbeef!\\\\n\");\r\nprintf(\"Here is your chance: \");\r\nscanf(\"%24s\",&amp;buf);\r\n\r\nprintf(\"buf: %s\\\\n\",buf);\r\nprintf(\"val: 0x%08x\\\\n\",val);\r\n\r\nif(val==0xdeadbeef){\r\n    setreuid(geteuid(),geteuid());\r\n    system(\"\/bin\/sh\");\r\n}\r\nelse {\r\n    printf(\"WAY OFF!!!!\\\\n\");\r\n    exit(1);\r\n}\r\n\r\nreturn 0;\r\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e241235 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e241235\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-45ad788\" data-id=\"45ad788\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e43a73e elementor-widget elementor-widget-text-editor\" data-id=\"e43a73e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>En lisant le code source, on voit que la variable <span class=\"notion-enable-hover\" style=\"font-family: 'SFMono-Regular', Menlo, Consolas, 'PT Mono', 'Liberation Mono', Courier, monospace;line-height: normal;color: #eb5757;border-radius: 3px;font-size: 85%;padding: 0.2em 0.4em\" data-token-index=\"1\" data-reactroot=\"\">buf<\/span> peut contenir 20 caract\u00e8res (char).\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8ecc334 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8ecc334\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2bb5826\" data-id=\"2bb5826\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a0c40ed elementor-widget elementor-widget-text-editor\" data-id=\"a0c40ed\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<blockquote><p>Pour rappel 1 char= 1 octet.<\/p><\/blockquote>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-716f9e8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"716f9e8\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-22353a5\" data-id=\"22353a5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4a37518 elementor-widget elementor-widget-text-editor\" data-id=\"4a37518\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>De plus, on nous dit clairement dans le premier\u00a0<span style=\"font-family: 'SFMono-Regular', Menlo, Consolas, 'PT Mono', 'Liberation Mono', Courier, monospace;line-height: normal;color: #eb5757;border-radius: 3px;font-size: 85%;padding: 0.2em 0.4em\" data-token-index=\"0\" data-reactroot=\"\">printf<\/span>, que, pour r\u00e9ussir le challenge, il faut que la valeur de la variable\u00a0<span style=\"font-family: 'SFMono-Regular', Menlo, Consolas, 'PT Mono', 'Liberation Mono', Courier, monospace;line-height: normal;color: #eb5757;border-radius: 3px;font-size: 85%;padding: 0.2em 0.4em\" data-token-index=\"0\" data-reactroot=\"\">val<\/span>\u00a0soit \u00e9gale \u00e0\u00a0<span style=\"font-family: 'SFMono-Regular', Menlo, Consolas, 'PT Mono', 'Liberation Mono', Courier, monospace;line-height: normal;color: #eb5757;border-radius: 3px;font-size: 85%;padding: 0.2em 0.4em\" data-token-index=\"0\" data-reactroot=\"\">0xdeadbeef<\/span>.<\/p>\n<p>\u00a0<\/p>\n<p>Or, le seul input avec lequel on interagit, n\u2019agit que sur la valeur de <span style=\"font-family: 'SFMono-Regular', Menlo, Consolas, 'PT Mono', 'Liberation Mono', Courier, monospace;line-height: normal;color: #eb5757;border-radius: 3px;font-size: 85%;padding: 0.2em 0.4em\" data-token-index=\"0\" data-reactroot=\"\">buf<\/span><span class=\"notion-enable-hover\" data-token-index=\"0\" data-reactroot=\"\">\u00a0<\/span>:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-45e73a2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"45e73a2\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-868b6b1\" data-id=\"868b6b1\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ab2478d elementor-widget elementor-widget-image\" data-id=\"ab2478d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"401\" height=\"109\" src=\"https:\/\/mindshield.eu\/wp-content\/uploads\/2022\/10\/Untitled.png\" class=\"attachment-large size-large wp-image-489\" alt=\"\" srcset=\"https:\/\/mindshield.eu\/wp-content\/uploads\/2022\/10\/Untitled.png 401w, https:\/\/mindshield.eu\/wp-content\/uploads\/2022\/10\/Untitled-300x82.png 300w\" sizes=\"(max-width: 401px) 100vw, 401px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3bedd04 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3bedd04\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5d78694\" data-id=\"5d78694\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-caace82 elementor-widget elementor-widget-text-editor\" data-id=\"caace82\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Heureusement pour nous, \u00e0 la <strong>ligne 10 du code source<\/strong>, l\u2019input nous permet d\u2019envoyer <span class=\"notion-enable-hover\" style=\"font-weight: 600\" data-token-index=\"1\" data-reactroot=\"\">24 caract\u00e8res<\/span> \u00e0 l\u2019int\u00e9rieur de <span class=\"notion-enable-hover\" style=\"font-family: 'SFMono-Regular', Menlo, Consolas, 'PT Mono', 'Liberation Mono', Courier, monospace;line-height: normal;color: #eb5757;border-radius: 3px;font-size: 85%;padding: 0.2em 0.4em\" data-token-index=\"3\" data-reactroot=\"\">buf<\/span>:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-57e5a2d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"57e5a2d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-83f5926\" data-id=\"83f5926\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7d10405 elementor-widget elementor-widget-code-highlight\" data-id=\"7d10405\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-c line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-c\">\n\t\t\t\t\t<xmp>\/\/Lit les 24 premiers caract\u00e8res et les stocke \u00e0 l'adresse m\u00e9moire de buf\r\nscanf(\"%24s\",&amp;buf);<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3ca3ddf elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3ca3ddf\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-81f7cae\" data-id=\"81f7cae\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e2d0297 elementor-widget elementor-widget-text-editor\" data-id=\"e2d0297\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Gr\u00e2ce \u00e0 cette information, on comprend que le but du challenge est de faire un <span class=\"notion-enable-hover\" style=\"font-weight: 600\" data-token-index=\"1\" data-reactroot=\"\">Buffer Overflow.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a778fa6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a778fa6\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c87d1e1\" data-id=\"c87d1e1\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-bb4c7f8 elementor-widget elementor-widget-heading\" data-id=\"bb4c7f8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\"><span data-token-index=\"0\" class=\"notion-enable-hover\" data-reactroot=\"\">Qu\u2019est-ce qu\u2019un Buffer OverFlow ?<\/span><\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8b67d2a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8b67d2a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-fdf5b39\" data-id=\"fdf5b39\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-671f458 elementor-widget elementor-widget-text-editor\" data-id=\"671f458\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Il s\u2019agit d\u2019un d\u00e9bordement du tampon. Je m&#8217;explique :<\/p>\n<p>Lorsque l\u2019on r\u00e9dige un programme, les variables sont stock\u00e9s <b>dans l\u2019ordre de d\u00e9finition<\/b> sur la pile.<\/p>\n<p>\u00a0<\/p>\n<p>Par exemple, je d\u00e9finis :<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9d15121 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9d15121\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5103635\" data-id=\"5103635\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-86a6b1c elementor-widget elementor-widget-code-highlight\" data-id=\"86a6b1c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-c line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-c\">\n\t\t\t\t\t<xmp>char a = \u201cHello\u201d;\r\nint b = 45<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d3b66d0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d3b66d0\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c1a4c23\" data-id=\"c1a4c23\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8370e64 elementor-widget elementor-widget-text-editor\" data-id=\"8370e64\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Le programme stocke la valeur de <code>a<\/code> <strong>puis<\/strong> celle de <code>b<\/code>. Elles ne changeront plus de \u201cplace\u201d, <strong>m\u00eame si leur valeur est modifi\u00e9e.<\/strong><\/p><p>A chaque variable est attribu\u00e9e une <strong>adresse m\u00e9moire<\/strong>.<\/p><p>Les adresses m\u00e9moires sont des chiffres hexad\u00e9cimaux repr\u00e9sentant l\u2019emplacement \u00e0 laquelle notre variable est stock\u00e9e, par exemple :<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c87a117 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c87a117\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8bc98d0\" data-id=\"8bc98d0\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-88116b0 elementor-widget elementor-widget-image\" data-id=\"88116b0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"241\" height=\"241\" src=\"https:\/\/mindshield.eu\/wp-content\/uploads\/2022\/10\/tableau-addresse.drawio.png\" class=\"attachment-large size-large wp-image-508\" alt=\"\" srcset=\"https:\/\/mindshield.eu\/wp-content\/uploads\/2022\/10\/tableau-addresse.drawio.png 241w, https:\/\/mindshield.eu\/wp-content\/uploads\/2022\/10\/tableau-addresse.drawio-150x150.png 150w\" sizes=\"(max-width: 241px) 100vw, 241px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-18a5bca elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"18a5bca\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0cbb5e0\" data-id=\"0cbb5e0\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-efb4509 elementor-widget elementor-widget-text-editor\" data-id=\"efb4509\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\u00a0<\/p><p>\u00a0<\/p><p>Chaque adresse ne pointe que <span style=\"font-weight: 600\" data-token-index=\"1\" data-reactroot=\"\">sur une seule valeur<\/span>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ae35f3c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ae35f3c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-89fc3d3\" data-id=\"89fc3d3\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f1aba47 elementor-widget elementor-widget-text-editor\" data-id=\"f1aba47\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<blockquote>\n<p>Le nombre d\u2019adresse disponible d\u00e9pend de la taille de la m\u00e9moire vive dont dispose votre ordinateur.<\/p>\n<\/blockquote>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e6dde21 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e6dde21\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-defb039\" data-id=\"defb039\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d4ed01d elementor-widget elementor-widget-text-editor\" data-id=\"d4ed01d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>En fonction du type de la variable, plus ou moins d\u2019espace m\u00e9moire va \u00eatre r\u00e9serv\u00e9.<\/p><p>\u00a0<\/p><p>Quelques exemples de types de variables avec leur taille :<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-87b3004 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"87b3004\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8db26a7\" data-id=\"8db26a7\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3ed570e elementor-widget elementor-widget-image\" data-id=\"3ed570e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"241\" height=\"241\" src=\"https:\/\/mindshield.eu\/wp-content\/uploads\/2022\/10\/tableau-taille.drawio-1.png\" class=\"attachment-large size-large wp-image-514\" alt=\"\" srcset=\"https:\/\/mindshield.eu\/wp-content\/uploads\/2022\/10\/tableau-taille.drawio-1.png 241w, https:\/\/mindshield.eu\/wp-content\/uploads\/2022\/10\/tableau-taille.drawio-1-150x150.png 150w\" sizes=\"(max-width: 241px) 100vw, 241px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-75dc35a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"75dc35a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-95c8932\" data-id=\"95c8932\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-db97552 elementor-widget elementor-widget-text-editor\" data-id=\"db97552\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Ainsi, si j\u2019essaye d\u2019\u00e9crire dans une variable, une valeur plus grande que ce qu\u2019elle peut recevoir, cela va \u201cd\u00e9passer\u201d sur la variable suivante et modifier sa valeur :<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5d3d93a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5d3d93a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7c31d5b\" data-id=\"7c31d5b\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b4c1d9e elementor-widget elementor-widget-image\" data-id=\"b4c1d9e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"621\" height=\"882\" src=\"https:\/\/mindshield.eu\/wp-content\/uploads\/2022\/10\/bufferoverflow.drawio-1.png\" class=\"attachment-large size-large wp-image-495\" alt=\"\" srcset=\"https:\/\/mindshield.eu\/wp-content\/uploads\/2022\/10\/bufferoverflow.drawio-1.png 621w, https:\/\/mindshield.eu\/wp-content\/uploads\/2022\/10\/bufferoverflow.drawio-1-211x300.png 211w\" sizes=\"(max-width: 621px) 100vw, 621px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4fd60d5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4fd60d5\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-35be7aa\" data-id=\"35be7aa\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9f4769b elementor-widget elementor-widget-text-editor\" data-id=\"9f4769b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>C\u2019est de cette mani\u00e8re que se produisent les <b>Buffer OverFlow<\/b>.<\/p>\n<p><b>Exemple :<\/b><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6e62d84 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6e62d84\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6cc5093\" data-id=\"6cc5093\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-df6cccb elementor-widget elementor-widget-code-highlight\" data-id=\"df6cccb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-c line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-c\">\n\t\t\t\t\t<xmp>#include \r\n#include \r\n\r\nint main (void){\r\n\r\n\/\/ a est un type char qui peut accueillir 4 caract\u00e8res, donc 4 octets\r\nchar a[4];\r\n\/\/ b est un type int de 2 octets\r\nint b = 4;\r\n\r\nprintf(\"Entrez une nouvelle valeur pour a : \");\r\n\/\/ le scanf permet de lire les premiers 5 caract\u00e8res saisis et les stock dans a\r\nscanf(\"%5s\\n\", a);\r\n\r\n\/\/Afficher les nouvelles valeurs de a et b\r\nprintf(\"a : %s\\n\", a);\r\nprintf(\"b : %d\\n\",b);\r\n}<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6806cd1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6806cd1\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-87776d9\" data-id=\"87776d9\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-18009f3 elementor-widget elementor-widget-text-editor\" data-id=\"18009f3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>R\u00e9sultat du script :\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-29155fe elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"29155fe\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2e12443\" data-id=\"2e12443\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-62387ad elementor-widget elementor-widget-code-highlight\" data-id=\"62387ad\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-javascript line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-javascript\">\n\t\t\t\t\t<xmp>Entrez une nouvelle valeur pour a : Salut65\r\na : Salut\r\nb : 116<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-207ddb5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"207ddb5\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3b55cfd\" data-id=\"3b55cfd\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f99a309 elementor-widget elementor-widget-text-editor\" data-id=\"f99a309\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>On voit que l\u2019on peut modifier la valeur de <code>b<\/code> en \u201cd\u00e9bordant\u201d de la valeur de <code>a<\/code>.<\/p><p>\n<\/p><p>C\u2019est cette m\u00e9thode qu\u2019il faudra exploiter pour r\u00e9soudre le challenge.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a9e51bd elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a9e51bd\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0dd09cb\" data-id=\"0dd09cb\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a430141 elementor-widget elementor-widget-text-editor\" data-id=\"a430141\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<blockquote>\n<p>\u26a0\ufe0f Attention ! Pour que ce script fonctionne, il est n\u00e9cessaire de baisser toutes les s\u00e9curit\u00e9s en compilant : <span style=\"font-family: 'SFMono-Regular', Menlo, Consolas, 'PT Mono', 'Liberation Mono', Courier, monospace;line-height: normal;color: #eb5757;border-radius: 3px;font-size: 85%;padding: 0.2em 0.4em\" data-token-index=\"1\" data-reactroot=\"\">gcc -fno-stack-protector exemple.c<\/span><\/p>\n<\/blockquote>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9f8290b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9f8290b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8f4def6\" data-id=\"8f4def6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d73a4fc elementor-widget elementor-widget-text-editor\" data-id=\"d73a4fc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>N\u2019h\u00e9sitez pas \u00e0 reprendre ce script et \u00e0 vous amuser avec afin de vous familiariser avec ce concept !<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4d556bd elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4d556bd\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4e48c1c\" data-id=\"4e48c1c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4bfe368 elementor-widget elementor-widget-heading\" data-id=\"4bfe368\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">R\u00e9flexion<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d963178 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d963178\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f15898c\" data-id=\"f15898c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e7625f5 elementor-widget elementor-widget-text-editor\" data-id=\"e7625f5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Ainsi, si vous avez compris les explications plus haut, vous vous d\u00eetes s\u00fbrement qu\u2019il suffit de remplir le tampon avec n\u2019importe quoi puis de mettre <span style=\", Courier, monospace;line-height:normal;color:#EB5757;border-radius:3px;font-size:85%;padding:0.2em 0.4em\" data-token-index=\"1\" data-reactroot=\"\">deadbeef<\/span> afin que cela \u00e9crive sur <span style=\", Courier, monospace;line-height:normal;color:#EB5757;border-radius:3px;font-size:85%;padding:0.2em 0.4em\" data-token-index=\"3\" data-reactroot=\"\">val<\/span>de cette fa\u00e7on :&nbsp;<br><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5f9128d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5f9128d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a924e9e\" data-id=\"a924e9e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-bccefbd elementor-widget elementor-widget-image\" data-id=\"bccefbd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"439\" height=\"112\" src=\"https:\/\/mindshield.eu\/wp-content\/uploads\/2022\/10\/Untitled-1.png\" class=\"attachment-large size-large wp-image-496\" alt=\"\" srcset=\"https:\/\/mindshield.eu\/wp-content\/uploads\/2022\/10\/Untitled-1.png 439w, https:\/\/mindshield.eu\/wp-content\/uploads\/2022\/10\/Untitled-1-300x77.png 300w\" sizes=\"(max-width: 439px) 100vw, 439px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0e8b746 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0e8b746\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-24fe099\" data-id=\"24fe099\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5b33e3e elementor-widget elementor-widget-text-editor\" data-id=\"5b33e3e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Mais ce n\u2019est pas si simple. Nous n\u2019avons <strong>que 4 octets de libre<\/strong> (<code>buf<\/code> en prend 20\/24), or la chaine de caract\u00e8re <code>deadbeef<\/code> fait 8 octets. La suite ne sera donc pas lu par le programme. En fait, il ne faut pas avoir la chaine de caract\u00e8re deadbeef, mais une chaine de caract\u00e8re dont la valeur hexad\u00e9cimal est 0xdeadbeef!<\/p>\n<p><\/p>\n<p>C\u2019est maintenant \u00e0 vous de trouver une solution (sous forme de script ou directement en ligne de commande) pour afficher <code>deadbeef<\/code> sur 4 octets <img decoding=\"async\" class=\"emoji\" role=\"img\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/svg\/1f60a.svg\" alt=\"\ud83d\ude0a\">.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ddae8cb elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ddae8cb\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-24a76e7\" data-id=\"24a76e7\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e6146ca elementor-widget elementor-widget-text-editor\" data-id=\"e6146ca\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<blockquote>\n<p><span class=\"notion-enable-hover\" style=\"font-size: 18px;font-family: Roboto, sans-serif;font-weight: 600\" data-token-index=\"0\" data-reactroot=\"\">Indice :\u00a0<\/span><span style=\"font-family: Roboto, sans-serif;font-size: 18px\">Jetez un \u0153il \u00e0 la\u00a0<\/span><span class=\"notion-enable-hover\" style=\"font-size: 18px;font-family: Roboto, sans-serif;font-weight: 600\" data-token-index=\"2\" data-reactroot=\"\">table ASCII et \u00e0 sa correspondance avec l\u2019hexa\u00a0<\/span><span style=\"font-size: 1em;font-family: 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Noto Color Emoji', 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;line-height: 1em\" role=\"img\" aria-label=\"\ud83d\ude09\"><img decoding=\"async\" class=\"emoji\" style=\"font-size: 18px\" role=\"img\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/svg\/1f609.svg\" alt=\"\ud83d\ude09\" \/><\/span><\/p>\n<\/blockquote>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c3b5e61 elementor-widget elementor-widget-text-editor\" data-id=\"c3b5e61\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<blockquote><span class=\"notion-enable-hover\" style=\"font-weight: 600\" data-token-index=\"0\" data-reactroot=\"\">Indice 2 <\/span>: Tentez d\u2019\u00e9crire 0xDEADBEEF en hexad\u00e9cimal avec le langage de votre choix<\/blockquote>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b42150f elementor-widget elementor-widget-text-editor\" data-id=\"b42150f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<blockquote><p><span class=\"notion-enable-hover\" style=\"font-weight: 600\" data-token-index=\"0\" data-reactroot=\"\">Indice 3\u00a0<\/span>: Si jamais vous utilisez Python3, il utilise par d\u00e9faut l&#8217;encodage utf-8 et non l&#8217;ASCII&#8230;<\/p><\/blockquote>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e3a0b53 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e3a0b53\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-43103a7\" data-id=\"43103a7\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-088be5b elementor-widget elementor-widget-text-editor\" data-id=\"088be5b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Une fois que vous avez trouv\u00e9 une mani\u00e8re d\u2019afficher<span class=\"notion-enable-hover\" style=\"font-family: 'SFMono-Regular', Menlo, Consolas, 'PT Mono', 'Liberation Mono', Courier, monospace;line-height: normal;color: #eb5757;border-radius: 3px;font-size: 85%;padding: 0.2em 0.4em\" data-token-index=\"1\" data-reactroot=\"\"> deadbeef<\/span> sur 4 octets et que la valeur de val est bien <span class=\"notion-enable-hover\" style=\"font-family: 'SFMono-Regular', Menlo, Consolas, 'PT Mono', 'Liberation Mono', Courier, monospace;line-height: normal;color: #eb5757;border-radius: 3px;font-size: 85%;padding: 0.2em 0.4em\" data-token-index=\"3\" data-reactroot=\"\">0xdeadbeef<\/span>, il ne vous reste plus qu\u2019\u00e0 trouver une solution pour que le <span class=\"notion-enable-hover\" style=\"font-family: 'SFMono-Regular', Menlo, Consolas, 'PT Mono', 'Liberation Mono', Courier, monospace;line-height: normal;color: #eb5757;border-radius: 3px;font-size: 85%;padding: 0.2em 0.4em\" data-token-index=\"5\" data-reactroot=\"\">\/bin\/sh<\/span> ouvert par le programme narnia0, ne se referme pas.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-604b714 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"604b714\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3f169ca\" data-id=\"3f169ca\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-664bc94 elementor-widget elementor-widget-text-editor\" data-id=\"664bc94\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<blockquote>\n<p><span class=\"notion-enable-hover\" style=\"font-weight: 600\" data-token-index=\"0\" data-reactroot=\"\">Indice :<\/span><span class=\"notion-enable-hover\" style=\"font-family: 'SFMono-Regular', Menlo, Consolas, 'PT Mono', 'Liberation Mono', Courier, monospace;line-height: normal;color: #eb5757;border-radius: 3px;font-size: 85%;padding: 0.2em 0.4em\" data-token-index=\"1\" data-reactroot=\"\">cat &#8211;<\/span> : redirige la sortie de la commande vers le terminal<\/p>\n<\/blockquote>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d02782b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d02782b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c0ca124\" data-id=\"c0ca124\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0e982a4 elementor-widget elementor-widget-text-editor\" data-id=\"0e982a4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<blockquote>\n<p>Les mots de passe se trouvent toujours dans \/etc\/narnia_pass<\/p>\n<\/blockquote>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d8ad5e3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d8ad5e3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-91800c5\" data-id=\"91800c5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a6eee94 elementor-widget elementor-widget-text-editor\" data-id=\"a6eee94\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Vous avez d\u00e9sormais toutes les cl\u00e9s en main pour r\u00e9ussir ce challenge, \u00e0 vous de jouer ! <span style=\"font-family: 'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Noto Color Emoji','Segoe UI Symbol','Android Emoji',EmojiSymbols;line-height: 1em;font-size: 1em\" role=\"img\" aria-label=\"\ud83d\udcaa\"><img decoding=\"async\" class=\"emoji\" role=\"img\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/svg\/1f4aa.svg\" alt=\"\ud83d\udcaa\" \/><\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1464f68 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1464f68\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1169014\" data-id=\"1169014\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b5964b4 elementor-widget elementor-widget-heading\" data-id=\"b5964b4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Ressources<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-da27ee1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"da27ee1\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-56a8c07\" data-id=\"56a8c07\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f7b5117 elementor-widget elementor-widget-text-editor\" data-id=\"f7b5117\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul>\n<li><a href=\"https:\/\/overthewire.org\/wargames\/narnia\/\">OverTheWire: Narnia<\/a><\/li>\n<li><a href=\"https:\/\/iq.opengenus.org\/integer-datatype-in-c\/\">Integer datatype in C: int, short, long and long long (opengenus.org)<\/a><\/li>\n<li><a href=\"https:\/\/connect.ed-diamond.com\/GNU-Linux-Magazine\/glmfhs-076\/les-options-de-securite-de-gcc\">Les options de s\u00e9curit\u00e9 de gcc | Connect &#8211; Editions Diamond (ed-diamond.com<\/a>)<\/li>\n<\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>&nbsp;Narnia Pour se pr\u00e9munir des attaques et se rendre compte de leurs enjeux, il est avant tout n\u00e9cessaire de comprendre leur fonctionnement. Etant toujours \u00e0 la recherche de nouveaux d\u00e9fis \u00e0 r\u00e9aliser, c\u2019est K\u00e9vin qui m\u2019a propos\u00e9 de me pencher sur ce wargame. C\u2019est ainsi que je vous propose un guide compr\u00e9hensif des challenges Narnia.&hellip; <br \/> <a class=\"button small blue\" href=\"https:\/\/mindshield.eu\/index.php\/2023\/01\/01\/narnia-0\/\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[8,10],"class_list":["post-483","post","type-post","status-publish","format-standard","hentry","category-narnia_challenges","tag-challenge","tag-exploit"],"_links":{"self":[{"href":"https:\/\/mindshield.eu\/index.php\/wp-json\/wp\/v2\/posts\/483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mindshield.eu\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mindshield.eu\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mindshield.eu\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mindshield.eu\/index.php\/wp-json\/wp\/v2\/comments?post=483"}],"version-history":[{"count":40,"href":"https:\/\/mindshield.eu\/index.php\/wp-json\/wp\/v2\/posts\/483\/revisions"}],"predecessor-version":[{"id":737,"href":"https:\/\/mindshield.eu\/index.php\/wp-json\/wp\/v2\/posts\/483\/revisions\/737"}],"wp:attachment":[{"href":"https:\/\/mindshield.eu\/index.php\/wp-json\/wp\/v2\/media?parent=483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mindshield.eu\/index.php\/wp-json\/wp\/v2\/categories?post=483"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mindshield.eu\/index.php\/wp-json\/wp\/v2\/tags?post=483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}