shell bypass 403
曾与蒿藜同雨露,한때 잡초와 쑥과 함께 비와 이슬을 나누던 곳이 이제는 소나무와 삼나무와 함께 서리와 눈을 견뎌내고 있다.终随松柏到冰霜.かつては雑草やヨモギと共に雨や露を分かち合っていたが、今では松やヒノキと共に霜や雪に耐えている。曾与蒿藜同雨露,Once sharing rain and dew with weeds and wormwood, now enduring frost and snow with pines and cypresses.终随松柏到冰霜.曾与蒿藜同雨露한때 잡초와 쑥과 함께 비와 이슬을 나누던 곳이 이제는 소나무와 삼나무와 함께 서리와 눈을 견뎌내고 있다.,终随松柏到冰霜.譖セ荳手珍阯懷酔髮ィ髴イ�檎サ磯囂譚セ譟丞芦蜀ー髴�曾与蒿藜同雨露,鏇句笌钂胯棞鍚岄洦闇诧紝缁堥殢鏉炬煆鍒板啺闇�终随松柏到冰霜.曾与蒿藜同雨露,한때 잡초와 쑥과 함께 비와 이슬을 나누던 곳이 이제는 소나무와 삼나무와 함께 서리와 눈을 견뎌내고 있다.终随松柏到冰霜.曾与蒿藜同雨露,终随松柏到冰霜.
from __future__ import absolute_import, print_function, unicode_literals
from abc import ABCMeta
from collections import OrderedDict
from six import add_metaclass
from virtualenv.info import IS_WIN
from virtualenv.util.path import Path
from virtualenv.util.six import ensure_text
@add_metaclass(ABCMeta)
class Describe(object):
"""Given a host interpreter tell us information about what the created interpreter might look like"""
suffix = ".exe" if IS_WIN else ""
def __init__(self, dest, interpreter):
self.interpreter = interpreter
self.dest = dest
self._stdlib = None
self._stdlib_platform = None
self._system_stdlib = None
self._conf_vars = None
@property
def bin_dir(self):
return self.script_dir
@property
def script_dir(self):
return self.dest / self.interpreter.install_path("scripts")
@property
def purelib(self):
return self.dest / self.interpreter.install_path("purelib")
@property
def platlib(self):
return self.dest / self.interpreter.install_path("platlib")
@property
def libs(self):
return list(OrderedDict(((self.platlib, None), (self.purelib, None))).keys())
@property
def stdlib(self):
if self._stdlib is None:
self._stdlib = Path(self.interpreter.sysconfig_path("stdlib", config_var=self._config_vars))
return self._stdlib
@property
def stdlib_platform(self):
if self._stdlib_platform is None:
self._stdlib_platform = Path(self.interpreter.sysconfig_path("platstdlib", config_var=self._config_vars))
return self._stdlib_platform
@property
def _config_vars(self):
if self._conf_vars is None:
self._conf_vars = self._calc_config_vars(ensure_text(str(self.dest)))
return self._conf_vars
def _calc_config_vars(self, to):
return {
k: (to if v.startswith(self.interpreter.prefix) else v) for k, v in self.interpreter.sysconfig_vars.items()
}
@classmethod
def can_describe(cls, interpreter):
"""Knows means it knows how the output will look"""
return True
@property
def env_name(self):
return ensure_text(self.dest.parts[-1])
@property
def exe(self):
return self.bin_dir / "{}{}".format(self.exe_stem(), self.suffix)
@classmethod
def exe_stem(cls):
"""executable name without suffix - there seems to be no standard way to get this without creating it"""
raise NotImplementedError
def script(self, name):
return self.script_dir / "{}{}".format(name, self.suffix)
@add_metaclass(ABCMeta)
class Python2Supports(Describe):
@classmethod
def can_describe(cls, interpreter):
return interpreter.version_info.major == 2 and super(Python2Supports, cls).can_describe(interpreter)
@add_metaclass(ABCMeta)
class Python3Supports(Describe):
@classmethod
def can_describe(cls, interpreter):
return interpreter.version_info.major == 3 and super(Python3Supports, cls).can_describe(interpreter)
@add_metaclass(ABCMeta)
class PosixSupports(Describe):
@classmethod
def can_describe(cls, interpreter):
return interpreter.os == "posix" and super(PosixSupports, cls).can_describe(interpreter)
@add_metaclass(ABCMeta)
class WindowsSupports(Describe):
@classmethod
def can_describe(cls, interpreter):
return interpreter.os == "nt" and super(WindowsSupports, cls).can_describe(interpreter)