title: python TypeError: 'type' object is not iterable error
body: <p>I am getting an error message when I try to run a python script, the python script I am attempting to run is <a href="https://raw.githubusercontent.com/orangetw/awesome-jenkins-rce-2019/master/exp.py" rel="nofollow noreferrer">https://raw.githubusercontent.com/orangetw/awesome-jenkins-rce-2019/master/exp.py</a> I don't think that this is an issue with the script as I am able to run this on my host OS (having run the script in as OS)</p>
  <pre><code>Traceback (most recent call last):
    File &quot;exp.py&quot;, line 7, in &lt;module&gt;
      import requests
    File &quot;/usr/local/lib/python2.7/dist-packages/requests/__init__.py&quot;, line 84, in &lt;module&gt;
      from urllib3.contrib import pyopenssl
    File &quot;/usr/local/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py&quot;, line 46, in &lt;module&gt;
      import OpenSSL.SSL
    File &quot;/home/kali/.local/lib/python2.7/site-packages/OpenSSL/__init__.py&quot;, line 8, in &lt;module&gt;
      from OpenSSL import crypto, SSL
    File &quot;/home/kali/.local/lib/python2.7/site-packages/OpenSSL/crypto.py&quot;, line 12, in &lt;module&gt;
      from cryptography import x509
    File &quot;/usr/local/lib/python2.7/dist-packages/cryptography/x509/__init__.py&quot;, line 8, in &lt;module&gt;
      from cryptography.x509.base import (
    File &quot;/usr/local/lib/python2.7/dist-packages/cryptography/x509/base.py&quot;, line 18, in &lt;module&gt;
      from cryptography.x509.extensions import Extension, ExtensionType
    File &quot;/usr/local/lib/python2.7/dist-packages/cryptography/x509/extensions.py&quot;, line 26, in &lt;module&gt;
      from cryptography.x509.general_name import GeneralName, IPAddress, OtherName
    File &quot;/usr/local/lib/python2.7/dist-packages/cryptography/x509/general_name.py&quot;, line 16, in &lt;module&gt;
      from cryptography.x509.name import Name
    File &quot;/usr/local/lib/python2.7/dist-packages/cryptography/x509/name.py&quot;, line 28, in &lt;module&gt;
      _ASN1_TYPE_TO_ENUM = {i.value: i for i in _ASN1Type}
  TypeError: 'type' object is not iterable
  </code></pre>
  <p>line 7 is</p>
  <pre><code>import requests
  </code></pre>
  <p>Help appreciated</p>