Pastebin
Paste #528: grep
< previous paste - next paste>
Pasted by bonaldo
amigos18% grep -rIinH 'os.getenv(' cgi-bin/*.py shared/*.py
cgi-bin/configarea.py:32:if str(os.getenv("REQUEST_METHOD")) != "POST":
cgi-bin/configarea.py:36:CN = str(os.getenv("SSL_CLIENT_S_DN_CN"))
cgi-bin/isjobactive.py:15:if (os.getenv("REQUEST_METHOD") != "GET"):
cgi-bin/oneclick.py:131: if os.getenv("HTTP_COOKIE") and os.getenv("HTTP_COOKIE").count(__MIG_ONECLICK_COOKIE__) > 0:
cgi-bin/oneclick.py:132: cookie_arr = os.getenv("HTTP_COOKIE").split(";")
cgi-bin/oneclick.py:168: log_msg = log_msg + ", Remote IP: %s, Key: %s" % (os.getenv("REMOTE_ADDR"), sandboxkey)
cgi-bin/oneclick.py:196:if (os.getenv("REQUEST_METHOD") != "GET"):
cgi-bin/oneclick.py:203:if str(os.getenv("HTTPS")) != "on":
cgi-bin/rangefileaccess.py:153: content_length = int(os.getenv("CONTENT_LENGTH"))
cgi-bin/rangefileaccess.py:225:logger.debug("REQUEST_METHOD: " + str(os.getenv("REQUEST_METHOD")))
cgi-bin/rangefileaccess.py:226:logger.debug("CONTENT_LENGTH: " + str(os.getenv("CONTENT_LENGTH")))
cgi-bin/rangefileaccess.py:227:logger.debug("CONTENT TYPE: " + str(os.getenv("CONTENT_TYPE")))
cgi-bin/rangefileaccess.py:228:logger.debug("QUERY_STRING: " + str(os.getenv("QUERY_STRING")))
cgi-bin/rangefileaccess.py:229:logger.debug("REQUEST_URI: " + urllib.unquote(str(os.getenv("REQUEST_URI"))))
cgi-bin/rangefileaccess.py:232:fileinfo_dict = get_http_query_dict(os.getenv("QUERY_STRING"))
cgi-bin/rangefileaccess.py:251:action = os.getenv("REQUEST_METHOD")
cgi-bin/requestinteractivejob.py:18:if str(os.getenv("REQUEST_METHOD")) != "GET":
cgi-bin/requestinteractivejob.py:23:if str(os.getenv("HTTPS")) != "on":
cgi-bin/requestinteractivejob.py:34:remote_ip = str(os.getenv("REMOTE_ADDR"))
cgi-bin/requestinteractivejob.py:74:# remote_ip = str(os.getenv("REMOTE_ADDR"))
cgi-bin/requestinteractivejob.py:131:o.out("requestinteractivejob OK. The job was started on the resource: %s exe: %s remote addr: %s" % (unique_resource_name, exe, os.getenv("REMOTE_ADDR")))
cgi-bin/resetallexes.py:16:if str(os.getenv("REQUEST_METHOD")) != "GET":
cgi-bin/resetexe.py:15:if str(os.getenv("REQUEST_METHOD")) != "GET":
cgi-bin/resource_list.py:13:cert_name = str(os.getenv("SSL_CLIENT_S_DN_CN"))
cgi-bin/restartallexes.py:16:if str(os.getenv("REQUEST_METHOD")) != "GET":
cgi-bin/restartexe.py:15:if str(os.getenv("REQUEST_METHOD")) != "GET":
cgi-bin/restartfe.py:17:if str(os.getenv("REQUEST_METHOD")) != "GET":
cgi-bin/startallexes.py:15:if str(os.getenv("REQUEST_METHOD")) != "GET":
cgi-bin/startfe.py:18:if str(os.getenv("REQUEST_METHOD")) != "GET":
cgi-bin/statusallexes.py:15:if str(os.getenv("REQUEST_METHOD")) != "GET":
cgi-bin/statusexe.py:15:if str(os.getenv("REQUEST_METHOD")) != "GET":
cgi-bin/statusfe.py:15:if str(os.getenv("REQUEST_METHOD")) != "GET":
cgi-bin/stopallexes.py:15:if str(os.getenv("REQUEST_METHOD")) != "GET":
cgi-bin/stopexe.py:15:if str(os.getenv("REQUEST_METHOD")) != "GET":
cgi-bin/stopfe.py:16:if str(os.getenv("REQUEST_METHOD")) != "GET":
shared/cgishared.py:23: CN = str(os.getenv("SSL_CLIENT_S_DN_CN"))
shared/cgishared.py:41: CN = str(os.getenv("SSL_CLIENT_S_DN_CN"))
shared/handlers.py:11: return (os.getenv("REQUEST_METHOD") == name)
shared/handlers.py:18: path_translated = os.getenv("PATH_TRANSLATED")
shared/handlers.py:21: root = str(os.getenv("DOCUMENT_ROOT"))
amigos18%
New Paste
Go to most recent paste.