Shellshock - Response of URL having CGI extension
<p>Why do we always check for 500 response in shellshock exploitable request why not 200, 301 or others?</p>
<pre class="lang-py prettyprint-override"><code>conn.request(&quot;GET&quot;, path, headers=headers)
res = conn.getresponse()
if res.status == 500:
    print &quot;Shell Shock Exploitable&quot;
</code></pre>